# Data Object - PerformClusterPowerActionSpec(vim.cluster.PerformClusterPowerActionSpec)

Parameter to
  PerformClusterPowerAction
Extends
  DynamicData
Since
  vSAN API vSAN 7.0U3

## Data Object Description

This class describes the PerformClusterPowerActionSpec spec. It can be used in VsanClusterPowerSystem#PerformClusterPowerAction.

Properties

Name | Type | Description
--- | --- | ---
initialPowerStatus* | xsd:string | Note this only works in an orchestration host level API call to indicate which power action item step is to begin with. See ClusterPowerStatus
isOrchestration* | xsd:boolean | Note this only works in a host level API call to indicate whether this call applies the orchestration host logic or not. If isOrchestration is True, the host coordinates all other hosts in the cluster to take power action. Otherwise, it executes each step on the host itself.
powerOffReason* | xsd:string | Provide the power off reason. It should be less than 512 characters in length.
targetPowerStatus | xsd:string | Specify the target vim.cluster.ClusterPowerStatus. If the spec is applied on VC, only clusterPoweredOn and clusterPoweredOff are allowed. If the spec is applied on host with isOrchestration set to true, only clusterPoweredOn and clusterPoweredOff are allowed and initialPowerStatus must be set. If the spec is applied on host with isOrchestration set to false, only host level status are allowed as following: vsanMemberShipUpdateDisabled, vsanDOMPauseAllCCPsSet, hostsInMM, hostsPoweredOff, hostsOutOfMM, vsanMemberShipUpdateEnabled, vsanDOMPauseAllCCPsUnset. See ClusterPowerStatus
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="PerformClusterPowerActionSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="targetPowerStatus" type="xsd:string"/> <element name="isOrchestration" type="xsd:boolean" minOccurs="0"/> <element name="initialPowerStatus" type="xsd:string" minOccurs="0"/> <element name="powerOffReason" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>