class Azure::ContainerService::Mgmt::V2020_09_01::Models::PowerState

Describes the Power State of the cluster

Attributes

code[RW]

@return [Code] Tells whether the cluster is Running or Stopped. Possible values include: 'Running', 'Stopped'

Public Class Methods

mapper() click to toggle source

Mapper for PowerState class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_container_service/models/power_state.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PowerState',
    type: {
      name: 'Composite',
      class_name: 'PowerState',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end