class Azure::ContainerService::Mgmt::V2020_12_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'
Private Class Methods
mapper()
click to toggle source
Mapper for PowerState
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-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