Sha256: 2c56f11322a319cb6dfb2f29bcf59c8d9cb35e138f50ea9968da0772b3142494

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ContainerService::Mgmt::V2020_09_01
  module Models
    #
    # Describes the Power State of the cluster
    #
    class PowerState

      include MsRestAzure

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


      #
      # Mapper for PowerState class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2020-09-01/generated/azure_mgmt_container_service/models/power_state.rb
azure_mgmt_container_service-0.21.0 lib/2020-09-01/generated/azure_mgmt_container_service/models/power_state.rb