azure_mgmt_container_service 0.18.3 → 0.18.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +11 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_container_service.rb +71 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/agent_pools.rb +680 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_services.rb +131 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool.rb +284 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +140 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +325 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +169 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +257 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/operations.rb +107 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service.rb +44 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb +70 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +242 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +95 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb +70 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1052 -0
- data/lib/azure_mgmt_container_service.rb +2 -0
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +177 -165
- data/lib/version.rb +1 -1
- metadata +70 -3
@@ -0,0 +1,119 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines the configuration of the OpenShift cluster VMs.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedClusterAgentPoolProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Unique name of the pool profile in the context of the
|
16
|
+
# subscription and resource group.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [Integer] Number of agents (VMs) to host docker containers.
|
20
|
+
attr_accessor :count
|
21
|
+
|
22
|
+
# @return [OpenShiftContainerServiceVMSize] Size of agent VMs. Possible
|
23
|
+
# values include: 'Standard_D2s_v3', 'Standard_D4s_v3',
|
24
|
+
# 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
|
25
|
+
# 'Standard_D64s_v3', 'Standard_DS4_v2', 'Standard_DS5_v2',
|
26
|
+
# 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2',
|
27
|
+
# 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8s',
|
28
|
+
# 'Standard_F16s', 'Standard_E4s_v3', 'Standard_E8s_v3',
|
29
|
+
# 'Standard_E16s_v3', 'Standard_E20s_v3', 'Standard_E32s_v3',
|
30
|
+
# 'Standard_E64s_v3', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
|
31
|
+
# 'Standard_GS5', 'Standard_DS12_v2', 'Standard_DS13_v2',
|
32
|
+
# 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s',
|
33
|
+
# 'Standard_L16s', 'Standard_L32s'
|
34
|
+
attr_accessor :vm_size
|
35
|
+
|
36
|
+
# @return [String] Subnet CIDR for the peering. Default value:
|
37
|
+
# '10.0.0.0/24' .
|
38
|
+
attr_accessor :subnet_cidr
|
39
|
+
|
40
|
+
# @return [OSType] OsType to be used to specify os type. Choose from
|
41
|
+
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
|
42
|
+
# 'Windows'. Default value: 'Linux' .
|
43
|
+
attr_accessor :os_type
|
44
|
+
|
45
|
+
# @return [OpenShiftAgentPoolProfileRole] Define the role of the
|
46
|
+
# AgentPoolProfile. Possible values include: 'compute', 'infra'
|
47
|
+
attr_accessor :role
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for OpenShiftManagedClusterAgentPoolProfile class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'OpenShiftManagedClusterAgentPoolProfile',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'OpenShiftManagedClusterAgentPoolProfile',
|
62
|
+
model_properties: {
|
63
|
+
name: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
count: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: true,
|
74
|
+
serialized_name: 'count',
|
75
|
+
type: {
|
76
|
+
name: 'Number'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
vm_size: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: true,
|
82
|
+
serialized_name: 'vmSize',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
subnet_cidr: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'subnetCidr',
|
91
|
+
default_value: '10.0.0.0/24',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
os_type: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'osType',
|
100
|
+
default_value: 'Linux',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
role: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'role',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines all possible authentication profiles for the OpenShift cluster.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedClusterAuthProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<OpenShiftManagedClusterIdentityProvider>] Type of
|
16
|
+
# authentication profile to use.
|
17
|
+
attr_accessor :identity_providers
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for OpenShiftManagedClusterAuthProfile class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'OpenShiftManagedClusterAuthProfile',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'OpenShiftManagedClusterAuthProfile',
|
32
|
+
model_properties: {
|
33
|
+
identity_providers: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'identityProviders',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'OpenShiftManagedClusterIdentityProviderElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'OpenShiftManagedClusterIdentityProvider'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Structure for any Identity provider.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedClusterBaseIdentityProvider
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
@@discriminatorMap = Hash.new
|
16
|
+
@@discriminatorMap["AADIdentityProvider"] = "OpenShiftManagedClusterAADIdentityProvider"
|
17
|
+
|
18
|
+
def initialize
|
19
|
+
@kind = "OpenShiftManagedClusterBaseIdentityProvider"
|
20
|
+
end
|
21
|
+
|
22
|
+
attr_accessor :kind
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for OpenShiftManagedClusterBaseIdentityProvider class as Ruby
|
27
|
+
# Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'OpenShiftManagedClusterBaseIdentityProvider',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
polymorphic_discriminator: 'kind',
|
38
|
+
uber_parent: 'OpenShiftManagedClusterBaseIdentityProvider',
|
39
|
+
class_name: 'OpenShiftManagedClusterBaseIdentityProvider',
|
40
|
+
model_properties: {
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines the configuration of the identity providers to be used in the
|
10
|
+
# OpenShift cluster.
|
11
|
+
#
|
12
|
+
class OpenShiftManagedClusterIdentityProvider
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Name of the provider.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [OpenShiftManagedClusterBaseIdentityProvider] Configuration of
|
20
|
+
# the provider.
|
21
|
+
attr_accessor :provider
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for OpenShiftManagedClusterIdentityProvider class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'OpenShiftManagedClusterIdentityProvider',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'OpenShiftManagedClusterIdentityProvider',
|
36
|
+
model_properties: {
|
37
|
+
name: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'name',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
provider: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'provider',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
polymorphic_discriminator: 'kind',
|
52
|
+
uber_parent: 'OpenShiftManagedClusterBaseIdentityProvider',
|
53
|
+
class_name: 'OpenShiftManagedClusterBaseIdentityProvider'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response from the List OpenShift Managed Clusters operation.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedClusterListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<OpenShiftManagedCluster>] The list of OpenShift managed
|
17
|
+
# clusters.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to get the next set of OpenShift managed
|
21
|
+
# cluster results.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<OpenShiftManagedCluster>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [OpenShiftManagedClusterListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for OpenShiftManagedClusterListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'OpenShiftManagedClusterListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'OpenShiftManagedClusterListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'OpenShiftManagedClusterElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'OpenShiftManagedCluster'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2019_04_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# OpenShiftManagedClusterMaterPoolProfile contains configuration for
|
10
|
+
# OpenShift master VMs.
|
11
|
+
#
|
12
|
+
class OpenShiftManagedClusterMasterPoolProfile
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Unique name of the master pool profile in the context
|
17
|
+
# of the subscription and resource group.
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# @return [Integer] Number of masters (VMs) to host docker containers.
|
21
|
+
# The default value is 3.
|
22
|
+
attr_accessor :count
|
23
|
+
|
24
|
+
# @return [OpenShiftContainerServiceVMSize] Size of agent VMs. Possible
|
25
|
+
# values include: 'Standard_D2s_v3', 'Standard_D4s_v3',
|
26
|
+
# 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3',
|
27
|
+
# 'Standard_D64s_v3', 'Standard_DS4_v2', 'Standard_DS5_v2',
|
28
|
+
# 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2',
|
29
|
+
# 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8s',
|
30
|
+
# 'Standard_F16s', 'Standard_E4s_v3', 'Standard_E8s_v3',
|
31
|
+
# 'Standard_E16s_v3', 'Standard_E20s_v3', 'Standard_E32s_v3',
|
32
|
+
# 'Standard_E64s_v3', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
|
33
|
+
# 'Standard_GS5', 'Standard_DS12_v2', 'Standard_DS13_v2',
|
34
|
+
# 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s',
|
35
|
+
# 'Standard_L16s', 'Standard_L32s'
|
36
|
+
attr_accessor :vm_size
|
37
|
+
|
38
|
+
# @return [String] Subnet CIDR for the peering.
|
39
|
+
attr_accessor :subnet_cidr
|
40
|
+
|
41
|
+
# @return [OSType] OsType to be used to specify os type. Choose from
|
42
|
+
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
|
43
|
+
# 'Windows'. Default value: 'Linux' .
|
44
|
+
attr_accessor :os_type
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for OpenShiftManagedClusterMasterPoolProfile class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'OpenShiftManagedClusterMasterPoolProfile',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'OpenShiftManagedClusterMasterPoolProfile',
|
59
|
+
model_properties: {
|
60
|
+
name: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
count: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: true,
|
71
|
+
serialized_name: 'count',
|
72
|
+
type: {
|
73
|
+
name: 'Number'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
vm_size: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: true,
|
79
|
+
serialized_name: 'vmSize',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
subnet_cidr: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'subnetCidr',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
os_type: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'osType',
|
96
|
+
default_value: 'Linux',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|