Class: Azure::ContainerService::Mgmt::V2019_04_30::Models::OpenShiftManagedClusterMasterPoolProfile

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

Overview

OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countInteger

The default value is 3.

Returns:

  • (Integer)

    Number of masters (VMs) to host docker containers.



22
23
24
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 22

def count
  @count
end

#nameString

of the subscription and resource group.

Returns:

  • (String)

    Unique name of the master pool profile in the context



18
19
20
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 18

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



44
45
46
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 44

def os_type
  @os_type
end

#subnet_cidrString

Returns Subnet CIDR for the peering.

Returns:

  • (String)

    Subnet CIDR for the peering.



39
40
41
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 39

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:



36
37
38
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 36

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

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



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
102
103
104
# File 'lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb', line 51

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OpenShiftManagedClusterMasterPoolProfile',
    type: {
      name: 'Composite',
      class_name: 'OpenShiftManagedClusterMasterPoolProfile',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          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',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osType',
          default_value: 'Linux',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end