Class: Azure::ContainerService::Mgmt::V2019_09_30_preview::Models::OpenShiftManagedClusterAgentPoolProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb

Overview

Defines the configuration of the OpenShift cluster VMs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countInteger

Returns Number of agents (VMs) to host docker containers.

Returns:

  • (Integer)

    Number of agents (VMs) to host docker containers.



20
21
22
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 20

def count
  @count
end

#nameString

subscription and resource group.

Returns:

  • (String)

    Unique name of the pool profile in the context of the



17
18
19
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 17

def name
  @name
end

#os_typeOSType

Linux and Windows. Default to Linux. Possible values include: ‘Linux’, ‘Windows’. Default value: ‘Linux’ .

Returns:

  • (OSType)

    OsType to be used to specify os type. Choose from



43
44
45
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 43

def os_type
  @os_type
end

#roleOpenShiftAgentPoolProfileRole

AgentPoolProfile. Possible values include: ‘compute’, ‘infra’

Returns:



47
48
49
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 47

def role
  @role
end

#subnet_cidrString

‘10.0.0.0/24’ .

Returns:

  • (String)

    Subnet CIDR for the peering. Default value:



38
39
40
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 38

def subnet_cidr
  @subnet_cidr
end

#vm_sizeOpenShiftContainerServiceVMSize

values include: ‘Standard_D2s_v3’, ‘Standard_D4s_v3’, ‘Standard_D8s_v3’, ‘Standard_D16s_v3’, ‘Standard_D32s_v3’, ‘Standard_D64s_v3’, ‘Standard_DS4_v2’, ‘Standard_DS5_v2’, ‘Standard_F8s_v2’, ‘Standard_F16s_v2’, ‘Standard_F32s_v2’, ‘Standard_F64s_v2’, ‘Standard_F72s_v2’, ‘Standard_F8s’, ‘Standard_F16s’, ‘Standard_E4s_v3’, ‘Standard_E8s_v3’, ‘Standard_E16s_v3’, ‘Standard_E20s_v3’, ‘Standard_E32s_v3’, ‘Standard_E64s_v3’, ‘Standard_GS2’, ‘Standard_GS3’, ‘Standard_GS4’, ‘Standard_GS5’, ‘Standard_DS12_v2’, ‘Standard_DS13_v2’, ‘Standard_DS14_v2’, ‘Standard_DS15_v2’, ‘Standard_L4s’, ‘Standard_L8s’, ‘Standard_L16s’, ‘Standard_L32s’

Returns:



34
35
36
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 34

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

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



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
105
106
107
108
109
110
111
112
113
114
115
116
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb', line 54

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OpenShiftManagedClusterAgentPoolProfile',
    type: {
      name: 'Composite',
      class_name: 'OpenShiftManagedClusterAgentPoolProfile',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'count',
          type: {
            name: 'Number'
          }
        },
        vm_size: {
          client_side_validation: true,
          required: true,
          serialized_name: 'vmSize',
          type: {
            name: 'String'
          }
        },
        subnet_cidr: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subnetCidr',
          default_value: '10.0.0.0/24',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osType',
          default_value: 'Linux',
          type: {
            name: 'String'
          }
        },
        role: {
          client_side_validation: true,
          required: false,
          serialized_name: 'role',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end