Class PowerState
java.lang.Object
com.microsoft.azure.management.containerservice.PowerState
Describes the Power State of the cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get tells whether the cluster is Running or Stopped.Set tells whether the cluster is Running or Stopped.
-
Constructor Details
-
PowerState
public PowerState()
-
-
Method Details
-
code
Get tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.- Returns:
- the code value
-
withCode
Set tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.- Parameters:
code
- the code value to set- Returns:
- the PowerState object itself.
-