UCSTemplate - removeSanHBA
UCSTemplate - removeSanHBA
Description :
This command removes a SAN HBA configuration from a UCS template.
Use the templateKey argument to specify the DBKey of the template you want to modify. You can get the DBKey of the template by using the DepotObject : getDBKeyByTypeStringGroupAndName command.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
templateKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey of the template you want to modify. |
index | Integer | The index of the SAN HBA that you want to remove. Use 0 to specify the first HBA, 1 to specify the second HBA, and so on. |
Example
The following example removes the first SAN HBA configuration from a template.
Script
blcli UCSTemplate removeSanHBA DBKey:SDepotObjectKey:1-1 0
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*