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

public class PowerState extends Object
Describes the Power State of the cluster.
  • Constructor Details

    • PowerState

      public PowerState()
  • 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.