Class: Azure::ARM::Compute::Models::ContainerServiceAgentPoolProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb

Overview

Profile for container service agent pool

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countInteger

Returns No. of agents (VMs) that will host docker containers.

Returns:

  • (Integer)

    No. of agents (VMs) that will host docker containers



20
21
22
# File 'lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb', line 20

def count
  @count
end

#dns_prefixString

pool

Returns:

  • (String)

    DNS prefix to be used to create FQDN for this agent



40
41
42
# File 'lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb', line 40

def dns_prefix
  @dns_prefix
end

#fqdnString

Returns FDQN for the agent pool.

Returns:

  • (String)

    FDQN for the agent pool



43
44
45
# File 'lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb', line 43

def fqdn
  @fqdn
end

#nameString

context of the subscription and resource group

Returns:

  • (String)

    Unique name of the agent pool profile within the



17
18
19
# File 'lib/generated/azure_mgmt_compute/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:



36
37
38
# File 'lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb', line 36

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

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



50
51
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
# File 'lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb', line 50

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: false,
          serialized_name: 'count',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        vm_size: {
          required: false,
          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