Sha256: 878a55fe85f3692aa74e3119320d243db17dc9402752c15414e32dcf179253ab

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 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
    #
    # Settings for upgrading an agentpool
    #
    class AgentPoolUpgradeSettings

      include MsRestAzure

      # @return [String] Count or percentage of additional nodes to be added
      # during upgrade. If empty uses AKS default
      attr_accessor :max_surge


      #
      # Mapper for AgentPoolUpgradeSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AgentPoolUpgradeSettings',
          type: {
            name: 'Composite',
            class_name: 'AgentPoolUpgradeSettings',
            model_properties: {
              max_surge: {
                client_side_validation: true,
                required: false,
                serialized_name: 'maxSurge',
                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/agent_pool_upgrade_settings.rb
azure_mgmt_container_service-0.21.0 lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb