PowerState Class

  • java.lang.Object
    • com.microsoft.azure.management.containerservice.PowerState

public class PowerState

Describes the Power State of the cluster.

Method Summary

Modifier and Type Method and Description
Code code()

Get tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.

PowerState withCode(Code code)

Set tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.

Method Details

code

public Code code()

Get tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'.

Returns:

the code value

withCode

public PowerState withCode(Code code)

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.

Applies to