UCSTemplate - resetTemplateBlade
UCSTemplate - resetTemplateBlade
Description :
This command resets the blade of 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. |
serverName | String | The name of the UCS Manager server. This is the server that you added to the Configuration Manager console for the purpose of communication with the UCS system. |
ucsName | String | The name of the UCS system that contains the target blade. |
bladePath | String | The name of the blade to be provisioned. If isBladePool is true, set this to null. |
isBladePool | Boolean | True if you want to use a blade pool, false otherwise. |
bladePoolPath | String | The path to the blade pool from which you want to select the target blade. If isBladePool is false, set this to null. |
Example
The following example resets the blade of a UCS template.
Script
blcli UCSTemplate resetTemplateBlade DBKey:SDepotObjectKey:76-1 "localhost" "UCS1" "/UCS1/ChassisGroup/chassis-1/Blades/blade-1" false null