Class: Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb

Overview

Profile for the container service agent pool.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countInteger

Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. . Default value: 1 .

Returns:

  • (Integer)

    Number of agents (VMs) to host docker containers.



22
23
24
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 22

def count
  @count
end

#dns_prefixString

pool.

Returns:

  • (String)

    DNS prefix to be used to create the FQDN for the agent



42
43
44
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 42

def dns_prefix
  @dns_prefix
end

#fqdnString

Returns FDQN for the agent pool.

Returns:

  • (String)

    FDQN for the agent pool.



45
46
47
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 45

def fqdn
  @fqdn
end

#nameString

of the subscription and resource group.

Returns:

  • (String)

    Unique name of the agent pool profile in the context



17
18
19
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 17

def name
  @name
end

#vm_sizeContainerServiceVMSizeTypes

values include: ‘Standard_A0’, ‘Standard_A1’, ‘Standard_A2’, ‘Standard_A3’, ‘Standard_A4’, ‘Standard_A5’, ‘Standard_A6’, ‘Standard_A7’, ‘Standard_A8’, ‘Standard_A9’, ‘Standard_A10’, ‘Standard_A11’, ‘Standard_D1’, ‘Standard_D2’, ‘Standard_D3’, ‘Standard_D4’, ‘Standard_D11’, ‘Standard_D12’, ‘Standard_D13’, ‘Standard_D14’, ‘Standard_D1_v2’, ‘Standard_D2_v2’, ‘Standard_D3_v2’, ‘Standard_D4_v2’, ‘Standard_D5_v2’, ‘Standard_D11_v2’, ‘Standard_D12_v2’, ‘Standard_D13_v2’, ‘Standard_D14_v2’, ‘Standard_G1’, ‘Standard_G2’, ‘Standard_G3’, ‘Standard_G4’, ‘Standard_G5’, ‘Standard_DS1’, ‘Standard_DS2’, ‘Standard_DS3’, ‘Standard_DS4’, ‘Standard_DS11’, ‘Standard_DS12’, ‘Standard_DS13’, ‘Standard_DS14’, ‘Standard_GS1’, ‘Standard_GS2’, ‘Standard_GS3’, ‘Standard_GS4’, ‘Standard_GS5’

Returns:



38
39
40
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 38

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

Mapper for ContainerServiceAgentPoolProfile class as Ruby Hash. This will be used for serialization/deserialization.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb', line 52

def self.mapper()
  {
    required: false,
    serialized_name: 'ContainerServiceAgentPoolProfile',
    type: {
      name: 'Composite',
      class_name: 'ContainerServiceAgentPoolProfile',
      model_properties: {
        name: {
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        count: {
          required: true,
          serialized_name: 'count',
          default_value: 1,
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        vm_size: {
          required: true,
          serialized_name: 'vmSize',
          type: {
            name: 'String'
          }
        },
        dns_prefix: {
          required: true,
          serialized_name: 'dnsPrefix',
          type: {
            name: 'String'
          }
        },
        fqdn: {
          required: false,
          read_only: true,
          serialized_name: 'fqdn',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end