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

Parameter to
  PerformClusterPowerAction
Extends
  DynamicData
See also
  VirtualMachine
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
--- | --- | ---
infraVMs* | ManagedObjectReference[] to a VirtualMachine[] | The infrastructure VMs that will be force to power off during the power off workflow and will be automatically powered on. This only works in a vc level API call and is ignored in the host level API call. Since vSAN API 7.4
infraVMUuids* | xsd:string[] | The uuid of infrastructure VMs that will be force to power off during the power off workflow and will be automatically powered on. This only works in a host level API call and is ignored in the vc level API call. Since vSAN API 7.4
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"/> <element name="infraVMs" type="vsan:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="infraVMUuids" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>