Sha256: 5d9b55ca3e4db4e5fd4131ef3ab72d6e7f90b287be460a1afb1155776958378c

Contents?: true

Size: 1.61 KB

Versions: 8

Compression:

Stored size: 1.61 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::V2019_08_01
  module Models
    #
    # Model object.
    #
    #
    class AgentPoolUpgradeProfilePropertiesUpgradesItem

      include MsRestAzure

      # @return [String] Kubernetes version (major, minor, patch).
      attr_accessor :kubernetes_version

      # @return [Boolean] Whether Kubernetes version is currently in preview.
      attr_accessor :is_preview


      #
      # Mapper for AgentPoolUpgradeProfilePropertiesUpgradesItem class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AgentPoolUpgradeProfileProperties_upgradesItem',
          type: {
            name: 'Composite',
            class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem',
            model_properties: {
              kubernetes_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'kubernetesVersion',
                type: {
                  name: 'String'
                }
              },
              is_preview: {
                client_side_validation: true,
                required: false,
                serialized_name: 'isPreview',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.21.0 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.20.4 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.20.3 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.20.2 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.20.1 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.20.0 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb
azure_mgmt_container_service-0.19.0 lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb