azure_mgmt_container_service 0.18.5 → 0.19.0
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-03-30/generated/azure_mgmt_container_service/container_services.rb +10 -0
- 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/container_services.rb +14 -0
- 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/container_services.rb +14 -0
- 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/container_services.rb +14 -0
- 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/managed_clusters.rb +20 -0
- 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 +2 -0
- 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 +28 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/operations.rb +2 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/managed_clusters.rb +28 -0
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/operations.rb +2 -0
- 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/open_shift_managed_clusters.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb +10 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +28 -0
- data/lib/2019-02-01/generated/azure_mgmt_container_service/operations.rb +2 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/agent_pools.rb +81 -76
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_services.rb +2 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/managed_clusters.rb +58 -0
- data/lib/2019-04-01/generated/azure_mgmt_container_service/operations.rb +2 -0
- data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-30/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/agent_pools.rb +904 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/container_services.rb +133 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/managed_clusters.rb +1788 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +140 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +325 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service.rb +83 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/agent_pools.rb +904 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/container_services.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/managed_clusters.rb +1788 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +153 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +318 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +95 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/azure_mgmt_container_service.rb +9 -7
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +207 -143
- data/lib/version.rb +1 -1
- metadata +117 -5
@@ -0,0 +1,99 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response from the List Agent Pools operation.
|
10
|
+
#
|
11
|
+
class AgentPoolListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<AgentPool>] The list of agent pools.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URL to get the next set of agent pool results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<AgentPool>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [AgentPoolListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for AgentPoolListResult 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: 'AgentPoolListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'AgentPoolListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'AgentPoolElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'AgentPool'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AgentPoolType
|
10
|
+
#
|
11
|
+
module AgentPoolType
|
12
|
+
VirtualMachineScaleSets = "VirtualMachineScaleSets"
|
13
|
+
AvailabilitySet = "AvailabilitySet"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/2019-06-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb
ADDED
@@ -0,0 +1,117 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list of available upgrades for an agent pool.
|
10
|
+
#
|
11
|
+
class AgentPoolUpgradeProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Id of the agent pool upgrade profile.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Name of the agent pool upgrade profile.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Type of the agent pool upgrade profile.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Kubernetes version (major, minor, patch).
|
25
|
+
attr_accessor :kubernetes_version
|
26
|
+
|
27
|
+
# @return [OSType] OsType to be used to specify os type. Choose from
|
28
|
+
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
|
29
|
+
# 'Windows'. Default value: 'Linux' .
|
30
|
+
attr_accessor :os_type
|
31
|
+
|
32
|
+
# @return [Array<AgentPoolUpgradeProfilePropertiesUpgradesItem>] List of
|
33
|
+
# orchestrator types and versions available for upgrade.
|
34
|
+
attr_accessor :upgrades
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for AgentPoolUpgradeProfile class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'AgentPoolUpgradeProfile',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'AgentPoolUpgradeProfile',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
kubernetes_version: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: true,
|
80
|
+
serialized_name: 'properties.kubernetesVersion',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
os_type: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: true,
|
88
|
+
serialized_name: 'properties.osType',
|
89
|
+
default_value: 'Linux',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
upgrades: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'properties.upgrades',
|
98
|
+
type: {
|
99
|
+
name: 'Sequence',
|
100
|
+
element: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItemElementType',
|
104
|
+
type: {
|
105
|
+
name: 'Composite',
|
106
|
+
class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class AgentPoolUpgradeProfilePropertiesUpgradesItem
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Kubernetes version (major, minor, patch).
|
17
|
+
attr_accessor :kubernetes_version
|
18
|
+
|
19
|
+
# @return [Boolean] Whether Kubernetes version is currently in preview.
|
20
|
+
attr_accessor :is_preview
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for AgentPoolUpgradeProfilePropertiesUpgradesItem class as Ruby
|
25
|
+
# 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: 'AgentPoolUpgradeProfileProperties_upgradesItem',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem',
|
36
|
+
model_properties: {
|
37
|
+
kubernetes_version: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'kubernetesVersion',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
is_preview: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'isPreview',
|
49
|
+
type: {
|
50
|
+
name: 'Boolean'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Profile for diagnostics on the container service cluster.
|
10
|
+
#
|
11
|
+
class ContainerServiceDiagnosticsProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ContainerServiceVMDiagnostics] Profile for diagnostics on the
|
16
|
+
# container service VMs.
|
17
|
+
attr_accessor :vm_diagnostics
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ContainerServiceDiagnosticsProfile 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: 'ContainerServiceDiagnosticsProfile',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ContainerServiceDiagnosticsProfile',
|
32
|
+
model_properties: {
|
33
|
+
vm_diagnostics: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'vmDiagnostics',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ContainerServiceVMDiagnostics'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/lib/2019-06-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb
ADDED
@@ -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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Profile for Linux VMs in the container service cluster.
|
10
|
+
#
|
11
|
+
class ContainerServiceLinuxProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The administrator username to use for Linux VMs.
|
16
|
+
attr_accessor :admin_username
|
17
|
+
|
18
|
+
# @return [ContainerServiceSshConfiguration] SSH configuration for
|
19
|
+
# Linux-based VMs running on Azure.
|
20
|
+
attr_accessor :ssh
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ContainerServiceLinuxProfile class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ContainerServiceLinuxProfile',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ContainerServiceLinuxProfile',
|
35
|
+
model_properties: {
|
36
|
+
admin_username: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'adminUsername',
|
40
|
+
constraints: {
|
41
|
+
Pattern: '^[A-Za-z][-A-Za-z0-9_]*$'
|
42
|
+
},
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
ssh: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'ssh',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ContainerServiceSshConfiguration'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,188 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Profile for the container service master.
|
10
|
+
#
|
11
|
+
class ContainerServiceMasterProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Number of masters (VMs) in the container service
|
16
|
+
# cluster. Allowed values are 1, 3, and 5. The default value is 1.
|
17
|
+
# Default value: 1 .
|
18
|
+
attr_accessor :count
|
19
|
+
|
20
|
+
# @return [String] DNS prefix to be used to create the FQDN for the
|
21
|
+
# master pool.
|
22
|
+
attr_accessor :dns_prefix
|
23
|
+
|
24
|
+
# @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
|
25
|
+
# values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
|
26
|
+
# 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
|
27
|
+
# 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
|
28
|
+
# 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
|
29
|
+
# 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
|
30
|
+
# 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
|
31
|
+
# 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
|
32
|
+
# 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
|
33
|
+
# 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
|
34
|
+
# 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
|
35
|
+
# 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
|
36
|
+
# 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
|
37
|
+
# 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
|
38
|
+
# 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
|
39
|
+
# 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
|
40
|
+
# 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
|
41
|
+
# 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
|
42
|
+
# 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
|
43
|
+
# 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
|
44
|
+
# 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
|
45
|
+
# 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
|
46
|
+
# 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
|
47
|
+
# 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
|
48
|
+
# 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
|
49
|
+
# 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
|
50
|
+
# 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
|
51
|
+
# 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
|
52
|
+
# 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
|
53
|
+
# 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
|
54
|
+
# 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
|
55
|
+
# 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
|
56
|
+
# 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
|
57
|
+
# 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
|
58
|
+
# 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
|
59
|
+
# 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
|
60
|
+
# 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
|
61
|
+
# 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
|
62
|
+
# 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
|
63
|
+
# 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
|
64
|
+
# 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
|
65
|
+
# 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
|
66
|
+
# 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
|
67
|
+
# 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
|
68
|
+
# 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
|
69
|
+
# 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
|
70
|
+
# 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
|
71
|
+
# 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
|
72
|
+
# 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
|
73
|
+
# 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
|
74
|
+
# 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
|
75
|
+
# 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
|
76
|
+
# 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
|
77
|
+
# 'Standard_NV6'
|
78
|
+
attr_accessor :vm_size
|
79
|
+
|
80
|
+
# @return [Integer] OS Disk Size in GB to be used to specify the disk
|
81
|
+
# size for every machine in this master/agent pool. If you specify 0, it
|
82
|
+
# will apply the default osDisk size according to the vmSize specified.
|
83
|
+
attr_accessor :os_disk_size_gb
|
84
|
+
|
85
|
+
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
|
86
|
+
attr_accessor :vnet_subnet_id
|
87
|
+
|
88
|
+
# @return [String] FirstConsecutiveStaticIP used to specify the first
|
89
|
+
# static ip of masters. Default value: '10.240.255.5' .
|
90
|
+
attr_accessor :first_consecutive_static_ip
|
91
|
+
|
92
|
+
# @return [ContainerServiceStorageProfileTypes] Storage profile specifies
|
93
|
+
# what kind of storage used. Choose from StorageAccount and ManagedDisks.
|
94
|
+
# Leave it empty, we will choose for you based on the orchestrator
|
95
|
+
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
96
|
+
attr_accessor :storage_profile
|
97
|
+
|
98
|
+
# @return [String] FQDN for the master pool.
|
99
|
+
attr_accessor :fqdn
|
100
|
+
|
101
|
+
|
102
|
+
#
|
103
|
+
# Mapper for ContainerServiceMasterProfile class as Ruby Hash.
|
104
|
+
# This will be used for serialization/deserialization.
|
105
|
+
#
|
106
|
+
def self.mapper()
|
107
|
+
{
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'ContainerServiceMasterProfile',
|
111
|
+
type: {
|
112
|
+
name: 'Composite',
|
113
|
+
class_name: 'ContainerServiceMasterProfile',
|
114
|
+
model_properties: {
|
115
|
+
count: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'count',
|
119
|
+
default_value: 1,
|
120
|
+
type: {
|
121
|
+
name: 'Number'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
dns_prefix: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: true,
|
127
|
+
serialized_name: 'dnsPrefix',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
vm_size: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: true,
|
135
|
+
serialized_name: 'vmSize',
|
136
|
+
type: {
|
137
|
+
name: 'String'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
os_disk_size_gb: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'osDiskSizeGB',
|
144
|
+
type: {
|
145
|
+
name: 'Number'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
vnet_subnet_id: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'vnetSubnetID',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
first_consecutive_static_ip: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'firstConsecutiveStaticIP',
|
160
|
+
default_value: '10.240.255.5',
|
161
|
+
type: {
|
162
|
+
name: 'String'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
storage_profile: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'storageProfile',
|
169
|
+
type: {
|
170
|
+
name: 'String'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
fqdn: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
read_only: true,
|
177
|
+
serialized_name: 'fqdn',
|
178
|
+
type: {
|
179
|
+
name: 'String'
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|