azure_mgmt_container_service 0.21.0 → 0.22.0
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-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/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-09-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-12-01/generated/azure_mgmt_container_service.rb +126 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/agent_pools.rb +1054 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/container_service_client.rb +157 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/maintenance_configurations.rb +589 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/managed_clusters.rb +2309 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool.rb +533 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +129 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/code.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/connection_status.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/created_by_type.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/expander.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb +174 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_disk_type.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/license_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration.rb +115 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration_list_result.rb +101 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +428 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +123 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +340 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +506 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +77 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_auto_upgrade_profile.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +104 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity.rb +98 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb +77 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_profile.rb +89 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_info.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_state.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +224 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_sku.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skuname.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skutier.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +84 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/osdisk_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/power_state.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection.rb +111 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resource.rb +111 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resources_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_service_connection_state.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sysctl_config.rb +343 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/system_data.rb +106 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_in_week.rb +66 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_span.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/upgrade_channel.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/models/week_day.rb +21 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/private_endpoint_connections.rb +515 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/private_link_resources.rb +132 -0
- data/lib/2020-12-01/generated/azure_mgmt_container_service/resolve_private_link_service_id.rb +143 -0
- data/lib/azure_mgmt_container_service.rb +1 -0
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +268 -194
- data/lib/version.rb +1 -1
- metadata +104 -2
data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb
ADDED
@@ -0,0 +1,93 @@
|
|
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::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list of available versions for an agent pool.
|
10
|
+
#
|
11
|
+
class AgentPoolAvailableVersions
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Id of the agent pool available versions.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Name of the agent pool available versions.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Type of the agent pool available versions.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return
|
25
|
+
# [Array<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem>] List
|
26
|
+
# of versions available for agent pool.
|
27
|
+
attr_accessor :agent_pool_versions
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for AgentPoolAvailableVersions class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'AgentPoolAvailableVersions',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'AgentPoolAvailableVersions',
|
42
|
+
model_properties: {
|
43
|
+
id: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'id',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'name',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'type',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
agent_pool_versions: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'properties.agentPoolVersions',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Boolean] Whether this version is the default agent pool
|
17
|
+
# version.
|
18
|
+
attr_accessor :default
|
19
|
+
|
20
|
+
# @return [String] Kubernetes version (major, minor, patch).
|
21
|
+
attr_accessor :kubernetes_version
|
22
|
+
|
23
|
+
# @return [Boolean] Whether Kubernetes version is currently in preview.
|
24
|
+
attr_accessor :is_preview
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
|
29
|
+
# class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'AgentPoolAvailableVersionsProperties_agentPoolVersionsItem',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem',
|
40
|
+
model_properties: {
|
41
|
+
default: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'default',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
kubernetes_version: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'kubernetesVersion',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
is_preview: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'isPreview',
|
61
|
+
type: {
|
62
|
+
name: 'Boolean'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -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::V2020_12_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::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AgentPoolMode
|
10
|
+
#
|
11
|
+
module AgentPoolMode
|
12
|
+
System = "System"
|
13
|
+
User = "User"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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::V2020_12_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/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb
ADDED
@@ -0,0 +1,129 @@
|
|
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::V2020_12_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
|
+
# @return [String] LatestNodeImageVersion is the latest AKS supported
|
37
|
+
# node image version.
|
38
|
+
attr_accessor :latest_node_image_version
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for AgentPoolUpgradeProfile class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'AgentPoolUpgradeProfile',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'AgentPoolUpgradeProfile',
|
53
|
+
model_properties: {
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'id',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
name: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'name',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
type: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'type',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
kubernetes_version: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: true,
|
84
|
+
serialized_name: 'properties.kubernetesVersion',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
os_type: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: true,
|
92
|
+
serialized_name: 'properties.osType',
|
93
|
+
default_value: 'Linux',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
upgrades: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.upgrades',
|
102
|
+
type: {
|
103
|
+
name: 'Sequence',
|
104
|
+
element: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItemElementType',
|
108
|
+
type: {
|
109
|
+
name: 'Composite',
|
110
|
+
class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
latest_node_image_version: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.latestNodeImageVersion',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
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::V2020_12_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
|