azure_mgmt_container_service 0.18.2 → 0.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
- data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +1 -1
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_services.rb +3 -3
- data/lib/2018-03-31/generated/azure_mgmt_container_service.rb +13 -12
- data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-03-31/generated/azure_mgmt_container_service/managed_clusters.rb +503 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +5 -5
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +1 -1
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +7 -49
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/{container_service_service_principal_profile.rb → managed_cluster_service_principal_profile.rb} +5 -19
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service.rb +59 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +137 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster.rb +255 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +224 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_policy.rb +15 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/operations.rb +107 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service.rb +44 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/network_profile.rb +59 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +227 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +84 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
- data/lib/{2018-03-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb → 2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb} +21 -20
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1052 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service.rb +64 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb +680 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb +284 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +287 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +169 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +257 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/operations.rb +107 -0
- data/lib/azure_mgmt_container_service.rb +3 -0
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +179 -83
- data/lib/version.rb +1 -1
- metadata +100 -4
@@ -0,0 +1,227 @@
|
|
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::V2018_09_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# OpenShift Managed cluster.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedCluster < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [PurchasePlan] Define the resource plan as required by ARM for
|
16
|
+
# billing purposes
|
17
|
+
attr_accessor :plan
|
18
|
+
|
19
|
+
# @return [String] The current deployment or provisioning state, which
|
20
|
+
# only appears in the response.
|
21
|
+
attr_accessor :provisioning_state
|
22
|
+
|
23
|
+
# @return [String] Version of OpenShift specified when creating the
|
24
|
+
# cluster.
|
25
|
+
attr_accessor :open_shift_version
|
26
|
+
|
27
|
+
# @return [String] Optional user-specified FQDN for OpenShift API server.
|
28
|
+
attr_accessor :public_hostname
|
29
|
+
|
30
|
+
# @return [String] User-specified FQDN for OpenShift API server
|
31
|
+
# loadbalancer internal hostname.
|
32
|
+
attr_accessor :fqdn
|
33
|
+
|
34
|
+
# @return [NetworkProfile] Configuration for OpenShift networking.
|
35
|
+
attr_accessor :network_profile
|
36
|
+
|
37
|
+
# @return [Array<OpenShiftRouterProfile>] Configuration for OpenShift
|
38
|
+
# router(s).
|
39
|
+
attr_accessor :router_profiles
|
40
|
+
|
41
|
+
# @return [OpenShiftManagedClusterMasterPoolProfile] Configuration for
|
42
|
+
# OpenShift master VMs.
|
43
|
+
attr_accessor :master_pool_profile
|
44
|
+
|
45
|
+
# @return [Array<OpenShiftManagedClusterAgentPoolProfile>] Configuration
|
46
|
+
# of OpenShift cluster VMs.
|
47
|
+
attr_accessor :agent_pool_profiles
|
48
|
+
|
49
|
+
# @return [OpenShiftManagedClusterAuthProfile] Configures OpenShift
|
50
|
+
# authentication.
|
51
|
+
attr_accessor :auth_profile
|
52
|
+
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for OpenShiftManagedCluster class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'OpenShiftManagedCluster',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'OpenShiftManagedCluster',
|
66
|
+
model_properties: {
|
67
|
+
id: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'id',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
name: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'name',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'type',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
location: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'location',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
tags: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'tags',
|
106
|
+
type: {
|
107
|
+
name: 'Dictionary',
|
108
|
+
value: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'StringElementType',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
},
|
118
|
+
plan: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'plan',
|
122
|
+
type: {
|
123
|
+
name: 'Composite',
|
124
|
+
class_name: 'PurchasePlan'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
provisioning_state: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
read_only: true,
|
131
|
+
serialized_name: 'properties.provisioningState',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
open_shift_version: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: true,
|
139
|
+
serialized_name: 'properties.openShiftVersion',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
public_hostname: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'properties.publicHostname',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
fqdn: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'properties.fqdn',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
},
|
160
|
+
network_profile: {
|
161
|
+
client_side_validation: true,
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'properties.networkProfile',
|
164
|
+
type: {
|
165
|
+
name: 'Composite',
|
166
|
+
class_name: 'NetworkProfile'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
router_profiles: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'properties.routerProfiles',
|
173
|
+
type: {
|
174
|
+
name: 'Sequence',
|
175
|
+
element: {
|
176
|
+
client_side_validation: true,
|
177
|
+
required: false,
|
178
|
+
serialized_name: 'OpenShiftRouterProfileElementType',
|
179
|
+
type: {
|
180
|
+
name: 'Composite',
|
181
|
+
class_name: 'OpenShiftRouterProfile'
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
},
|
186
|
+
master_pool_profile: {
|
187
|
+
client_side_validation: true,
|
188
|
+
required: false,
|
189
|
+
serialized_name: 'properties.masterPoolProfile',
|
190
|
+
type: {
|
191
|
+
name: 'Composite',
|
192
|
+
class_name: 'OpenShiftManagedClusterMasterPoolProfile'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
agent_pool_profiles: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'properties.agentPoolProfiles',
|
199
|
+
type: {
|
200
|
+
name: 'Sequence',
|
201
|
+
element: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'OpenShiftManagedClusterAgentPoolProfileElementType',
|
205
|
+
type: {
|
206
|
+
name: 'Composite',
|
207
|
+
class_name: 'OpenShiftManagedClusterAgentPoolProfile'
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
},
|
212
|
+
auth_profile: {
|
213
|
+
client_side_validation: true,
|
214
|
+
required: false,
|
215
|
+
serialized_name: 'properties.authProfile',
|
216
|
+
type: {
|
217
|
+
name: 'Composite',
|
218
|
+
class_name: 'OpenShiftManagedClusterAuthProfile'
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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::V2018_09_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines the Identity provider for MS AAD.
|
10
|
+
#
|
11
|
+
class OpenShiftManagedClusterAADIdentityProvider < OpenShiftManagedClusterBaseIdentityProvider
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "AADIdentityProvider"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [String] The clientId password associated with the provider.
|
23
|
+
attr_accessor :client_id
|
24
|
+
|
25
|
+
# @return [String] The secret password associated with the provider.
|
26
|
+
attr_accessor :secret
|
27
|
+
|
28
|
+
# @return [String] The tenantId associated with the provider.
|
29
|
+
attr_accessor :tenant_id
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for OpenShiftManagedClusterAADIdentityProvider class as Ruby
|
34
|
+
# Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'AADIdentityProvider',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'OpenShiftManagedClusterAADIdentityProvider',
|
45
|
+
model_properties: {
|
46
|
+
kind: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'kind',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
client_id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'clientId',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
secret: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'secret',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
tenant_id: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'tenantId',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -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::V2018_09_30_preview
|
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::V2018_09_30_preview
|
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
|