Sha256: e28d66ebbd8593f0d670ad1b03cca467b9cdc9a222a524d08db4f86036fb199f

Contents?: true

Size: 1.6 KB

Versions: 7

Compression:

Stored size: 1.6 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_10_01
  module Models
    #
    # Model object.
    #
    #
    class ManagedClusterPoolUpgradeProfileUpgradesItem

      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 ManagedClusterPoolUpgradeProfileUpgradesItem class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagedClusterPoolUpgradeProfile_upgradesItem',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterPoolUpgradeProfileUpgradesItem',
            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

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.21.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.20.4 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.20.3 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.20.2 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.20.1 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb
azure_mgmt_container_service-0.20.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb