Set-SmResourceName
Contributors
Suggest changes
Enables you to set the system name for the specified HANA resource.
Syntax
Set-SetSmResourceName [-HostName] <SecureString> [-PluginCode] <SecureString> [-ResourceId] <SecureString> [-ResourceName] <SecureString>
Detailed Description
Enables you to set the resource name for the specified HANA resource. This cmdlet is applicable to auto discovered SAP-HANA resources only.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
HostName |
Specifies the name or IP of the cluster or standalone host you want to add. |
true |
false |
|
PluginCode |
Specifies the plug-in code of the host. Valid value is HANA. |
true |
false |
|
ResourceId |
Unique ID of a HANA resource |
true |
false |
|
ResourceName |
Specifies the new resource name. |
true |
false |
Examples
Example 1: Set the Resource Name of HANA resource
Set-SetSmResourceName -HostName "host01213.snapcenter.local" -PluginCode HANA -ResourceId "host01213.snapcenter.local\hana\MDC\R70" -ResourceName "NewResourceName"
This example syntax sets the resource name to the specified value.