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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64caf926b5fa1d76b1fbf76f933a87e218e10a09982b8764db68fc320cf48e5b
|
4
|
+
data.tar.gz: 46f1451fbd284adbf3956057f7444b0c8594236c2eb023984078de94043ec1a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 636faae2ff4a0071717f202c136afc3a7d431fd5dafcff9a9ada32517b2a07ceb2a4e01927d89f94b12430c756a4c5ddf798584741250c4544b8d864e86b9522
|
7
|
+
data.tar.gz: 433fc5b9f2b483a1915f4f4a258f01609e1ab032da409cca3fefce3b9ea7408ca91315d4cc31ea7342c5dee3671657526cf878d425a8ea3155891d75f73c4bb4
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -20,7 +20,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
20
20
|
# @return [String] DNS prefix to be used to create the FQDN for master.
|
21
21
|
attr_accessor :dns_prefix
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] FQDN for the master.
|
24
24
|
attr_accessor :fqdn
|
25
25
|
|
26
26
|
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -20,7 +20,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
20
20
|
# @return [String] DNS prefix to be used to create the FQDN for master.
|
21
21
|
attr_accessor :dns_prefix
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] FQDN for the master.
|
24
24
|
attr_accessor :fqdn
|
25
25
|
|
26
26
|
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -20,7 +20,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
20
20
|
# @return [String] DNS prefix to be used to create the FQDN for master.
|
21
21
|
attr_accessor :dns_prefix
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] FQDN for the master.
|
24
24
|
attr_accessor :fqdn
|
25
25
|
|
26
26
|
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -86,7 +86,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
|
|
86
86
|
# pool.
|
87
87
|
attr_accessor :dns_prefix
|
88
88
|
|
89
|
-
# @return [String]
|
89
|
+
# @return [String] FQDN for the agent pool.
|
90
90
|
attr_accessor :fqdn
|
91
91
|
|
92
92
|
# @return [Array<Integer>] Ports number array used to expose on this
|
@@ -100,7 +100,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
|
|
100
100
|
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
101
101
|
attr_accessor :storage_profile
|
102
102
|
|
103
|
-
# @return [String] VNet SubnetID specifies the
|
103
|
+
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
|
104
104
|
attr_accessor :vnet_subnet_id
|
105
105
|
|
106
106
|
# @return [OSType] OsType to be used to specify os type. Choose from
|
@@ -82,7 +82,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
|
|
82
82
|
# will apply the default osDisk size according to the vmSize specified.
|
83
83
|
attr_accessor :os_disk_size_gb
|
84
84
|
|
85
|
-
# @return [String] VNet SubnetID specifies the
|
85
|
+
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
|
86
86
|
attr_accessor :vnet_subnet_id
|
87
87
|
|
88
88
|
# @return [String] FirstConsecutiveStaticIP used to specify the first
|
@@ -95,7 +95,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
|
|
95
95
|
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
96
96
|
attr_accessor :storage_profile
|
97
97
|
|
98
|
-
# @return [String]
|
98
|
+
# @return [String] FQDN for the master pool.
|
99
99
|
attr_accessor :fqdn
|
100
100
|
|
101
101
|
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -86,7 +86,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
86
86
|
# pool.
|
87
87
|
attr_accessor :dns_prefix
|
88
88
|
|
89
|
-
# @return [String]
|
89
|
+
# @return [String] FQDN for the agent pool.
|
90
90
|
attr_accessor :fqdn
|
91
91
|
|
92
92
|
# @return [Array<Integer>] Ports number array used to expose on this
|
@@ -100,7 +100,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
100
100
|
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
101
101
|
attr_accessor :storage_profile
|
102
102
|
|
103
|
-
# @return [String] VNet SubnetID specifies the
|
103
|
+
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
|
104
104
|
attr_accessor :vnet_subnet_id
|
105
105
|
|
106
106
|
# @return [OSType] OsType to be used to specify os type. Choose from
|
@@ -82,7 +82,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
82
82
|
# will apply the default osDisk size according to the vmSize specified.
|
83
83
|
attr_accessor :os_disk_size_gb
|
84
84
|
|
85
|
-
# @return [String] VNet SubnetID specifies the
|
85
|
+
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
|
86
86
|
attr_accessor :vnet_subnet_id
|
87
87
|
|
88
88
|
# @return [String] FirstConsecutiveStaticIP used to specify the first
|
@@ -95,7 +95,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
95
95
|
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
96
96
|
attr_accessor :storage_profile
|
97
97
|
|
98
|
-
# @return [String]
|
98
|
+
# @return [String] FQDN for the master pool.
|
99
99
|
attr_accessor :fqdn
|
100
100
|
|
101
101
|
|
@@ -20,7 +20,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
|
|
20
20
|
# cluster.
|
21
21
|
attr_accessor :dns_prefix
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] FQDN for the master pool.
|
24
24
|
attr_accessor :fqdn
|
25
25
|
|
26
26
|
# @return [String] Version of Kubernetes specified when creating the
|
@@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_09_30
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_container_service'
|
129
|
-
sdk_information = "#{sdk_information}/0.18.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -25,7 +25,7 @@ module Azure::ContainerService::Mgmt::V2017_09_30
|
|
25
25
|
# Gets a list of supported orchestrators in the specified subscription.
|
26
26
|
#
|
27
27
|
# Gets a list of supported orchestrators in the specified subscription. The
|
28
|
-
# operation returns properties of each orchestrator including
|
28
|
+
# operation returns properties of each orchestrator including version and
|
29
29
|
# available upgrades.
|
30
30
|
#
|
31
31
|
# @param location [String] The name of a supported Azure region.
|
@@ -45,7 +45,7 @@ module Azure::ContainerService::Mgmt::V2017_09_30
|
|
45
45
|
# Gets a list of supported orchestrators in the specified subscription.
|
46
46
|
#
|
47
47
|
# Gets a list of supported orchestrators in the specified subscription. The
|
48
|
-
# operation returns properties of each orchestrator including
|
48
|
+
# operation returns properties of each orchestrator including version and
|
49
49
|
# available upgrades.
|
50
50
|
#
|
51
51
|
# @param location [String] The name of a supported Azure region.
|
@@ -64,7 +64,7 @@ module Azure::ContainerService::Mgmt::V2017_09_30
|
|
64
64
|
# Gets a list of supported orchestrators in the specified subscription.
|
65
65
|
#
|
66
66
|
# Gets a list of supported orchestrators in the specified subscription. The
|
67
|
-
# operation returns properties of each orchestrator including
|
67
|
+
# operation returns properties of each orchestrator including version and
|
68
68
|
# available upgrades.
|
69
69
|
#
|
70
70
|
# @param location [String] The name of a supported Azure region.
|
@@ -25,27 +25,28 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
25
25
|
autoload :ContainerServiceClient, '2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb'
|
26
26
|
|
27
27
|
module Models
|
28
|
-
autoload :ContainerServiceLinuxProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb'
|
29
|
-
autoload :ContainerServiceNetworkProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_network_profile.rb'
|
30
|
-
autoload :OperationListResult, '2018-03-31/generated/azure_mgmt_container_service/models/operation_list_result.rb'
|
31
28
|
autoload :ContainerServiceVMDiagnostics, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb'
|
32
|
-
autoload :
|
29
|
+
autoload :OperationValue, '2018-03-31/generated/azure_mgmt_container_service/models/operation_value.rb'
|
33
30
|
autoload :ContainerServiceDiagnosticsProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb'
|
34
|
-
autoload :
|
31
|
+
autoload :Resource, '2018-03-31/generated/azure_mgmt_container_service/models/resource.rb'
|
35
32
|
autoload :ManagedClusterAddonProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb'
|
36
|
-
autoload :
|
33
|
+
autoload :ManagedClusterServicePrincipalProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb'
|
37
34
|
autoload :ManagedClusterAADProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb'
|
35
|
+
autoload :ManagedClusterAgentPoolProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb'
|
36
|
+
autoload :ContainerServiceWindowsProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb'
|
38
37
|
autoload :ContainerServiceSshPublicKey, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb'
|
39
|
-
autoload :
|
40
|
-
autoload :OperationValue, '2018-03-31/generated/azure_mgmt_container_service/models/operation_value.rb'
|
41
|
-
autoload :KeyVaultSecretRef, '2018-03-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb'
|
38
|
+
autoload :ContainerServiceLinuxProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb'
|
42
39
|
autoload :ManagedClusterListResult, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb'
|
43
|
-
autoload :
|
40
|
+
autoload :OperationListResult, '2018-03-31/generated/azure_mgmt_container_service/models/operation_list_result.rb'
|
44
41
|
autoload :OrchestratorProfile, '2018-03-31/generated/azure_mgmt_container_service/models/orchestrator_profile.rb'
|
45
42
|
autoload :ContainerServiceMasterProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb'
|
46
|
-
autoload :
|
47
|
-
autoload :
|
43
|
+
autoload :CredentialResults, '2018-03-31/generated/azure_mgmt_container_service/models/credential_results.rb'
|
44
|
+
autoload :ContainerServiceNetworkProfile, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_network_profile.rb'
|
48
45
|
autoload :ManagedClusterPoolUpgradeProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb'
|
46
|
+
autoload :ContainerServiceSshConfiguration, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb'
|
47
|
+
autoload :ManagedClusterUpgradeProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb'
|
48
|
+
autoload :TagsObject, '2018-03-31/generated/azure_mgmt_container_service/models/tags_object.rb'
|
49
|
+
autoload :CredentialResult, '2018-03-31/generated/azure_mgmt_container_service/models/credential_result.rb'
|
49
50
|
autoload :ManagedCluster, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster.rb'
|
50
51
|
autoload :ManagedClusterAccessProfile, '2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb'
|
51
52
|
autoload :ContainerServiceStorageProfileTypes, '2018-03-31/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb'
|
@@ -130,7 +130,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_container_service'
|
133
|
-
sdk_information = "#{sdk_information}/0.18.
|
133
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -163,6 +163,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
163
163
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
164
164
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
165
165
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
166
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
166
167
|
|
167
168
|
|
168
169
|
request_headers = {}
|
@@ -263,6 +264,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
263
264
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
264
265
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
265
266
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
267
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
266
268
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
267
269
|
|
268
270
|
|
@@ -370,6 +372,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
370
372
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
371
373
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
372
374
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
375
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
373
376
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
374
377
|
fail ArgumentError, 'role_name is nil' if role_name.nil?
|
375
378
|
|
@@ -420,6 +423,210 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
420
423
|
promise.execute
|
421
424
|
end
|
422
425
|
|
426
|
+
#
|
427
|
+
# Gets cluster admin credential of a managed cluster.
|
428
|
+
#
|
429
|
+
# Gets cluster admin credential of the managed cluster with a specified
|
430
|
+
# resource group and name.
|
431
|
+
#
|
432
|
+
# @param resource_group_name [String] The name of the resource group.
|
433
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
434
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
435
|
+
# will be added to the HTTP request.
|
436
|
+
#
|
437
|
+
# @return [CredentialResults] operation results.
|
438
|
+
#
|
439
|
+
def list_cluster_admin_credentials(resource_group_name, resource_name, custom_headers:nil)
|
440
|
+
response = list_cluster_admin_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
|
441
|
+
response.body unless response.nil?
|
442
|
+
end
|
443
|
+
|
444
|
+
#
|
445
|
+
# Gets cluster admin credential of a managed cluster.
|
446
|
+
#
|
447
|
+
# Gets cluster admin credential of the managed cluster with a specified
|
448
|
+
# resource group and name.
|
449
|
+
#
|
450
|
+
# @param resource_group_name [String] The name of the resource group.
|
451
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
452
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
453
|
+
# will be added to the HTTP request.
|
454
|
+
#
|
455
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
456
|
+
#
|
457
|
+
def list_cluster_admin_credentials_with_http_info(resource_group_name, resource_name, custom_headers:nil)
|
458
|
+
list_cluster_admin_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
|
459
|
+
end
|
460
|
+
|
461
|
+
#
|
462
|
+
# Gets cluster admin credential of a managed cluster.
|
463
|
+
#
|
464
|
+
# Gets cluster admin credential of the managed cluster with a specified
|
465
|
+
# resource group and name.
|
466
|
+
#
|
467
|
+
# @param resource_group_name [String] The name of the resource group.
|
468
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
469
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
470
|
+
# to the HTTP request.
|
471
|
+
#
|
472
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
473
|
+
#
|
474
|
+
def list_cluster_admin_credentials_async(resource_group_name, resource_name, custom_headers:nil)
|
475
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
476
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
477
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
478
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
479
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
480
|
+
|
481
|
+
|
482
|
+
request_headers = {}
|
483
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
484
|
+
|
485
|
+
# Set Headers
|
486
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
487
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
488
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential'
|
489
|
+
|
490
|
+
request_url = @base_url || @client.base_url
|
491
|
+
|
492
|
+
options = {
|
493
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
494
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
|
495
|
+
query_params: {'api-version' => @client.api_version},
|
496
|
+
headers: request_headers.merge(custom_headers || {}),
|
497
|
+
base_url: request_url
|
498
|
+
}
|
499
|
+
promise = @client.make_request_async(:post, path_template, options)
|
500
|
+
|
501
|
+
promise = promise.then do |result|
|
502
|
+
http_response = result.response
|
503
|
+
status_code = http_response.status
|
504
|
+
response_content = http_response.body
|
505
|
+
unless status_code == 200
|
506
|
+
error_model = JSON.load(response_content)
|
507
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
508
|
+
end
|
509
|
+
|
510
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
511
|
+
# Deserialize Response
|
512
|
+
if status_code == 200
|
513
|
+
begin
|
514
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
515
|
+
result_mapper = Azure::ContainerService::Mgmt::V2018_03_31::Models::CredentialResults.mapper()
|
516
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
517
|
+
rescue Exception => e
|
518
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
522
|
+
result
|
523
|
+
end
|
524
|
+
|
525
|
+
promise.execute
|
526
|
+
end
|
527
|
+
|
528
|
+
#
|
529
|
+
# Gets cluster user credential of a managed cluster.
|
530
|
+
#
|
531
|
+
# Gets cluster user credential of the managed cluster with a specified resource
|
532
|
+
# group and name.
|
533
|
+
#
|
534
|
+
# @param resource_group_name [String] The name of the resource group.
|
535
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
536
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
537
|
+
# will be added to the HTTP request.
|
538
|
+
#
|
539
|
+
# @return [CredentialResults] operation results.
|
540
|
+
#
|
541
|
+
def list_cluster_user_credentials(resource_group_name, resource_name, custom_headers:nil)
|
542
|
+
response = list_cluster_user_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
|
543
|
+
response.body unless response.nil?
|
544
|
+
end
|
545
|
+
|
546
|
+
#
|
547
|
+
# Gets cluster user credential of a managed cluster.
|
548
|
+
#
|
549
|
+
# Gets cluster user credential of the managed cluster with a specified resource
|
550
|
+
# group and name.
|
551
|
+
#
|
552
|
+
# @param resource_group_name [String] The name of the resource group.
|
553
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
554
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
555
|
+
# will be added to the HTTP request.
|
556
|
+
#
|
557
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
558
|
+
#
|
559
|
+
def list_cluster_user_credentials_with_http_info(resource_group_name, resource_name, custom_headers:nil)
|
560
|
+
list_cluster_user_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
|
561
|
+
end
|
562
|
+
|
563
|
+
#
|
564
|
+
# Gets cluster user credential of a managed cluster.
|
565
|
+
#
|
566
|
+
# Gets cluster user credential of the managed cluster with a specified resource
|
567
|
+
# group and name.
|
568
|
+
#
|
569
|
+
# @param resource_group_name [String] The name of the resource group.
|
570
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
571
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
572
|
+
# to the HTTP request.
|
573
|
+
#
|
574
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
575
|
+
#
|
576
|
+
def list_cluster_user_credentials_async(resource_group_name, resource_name, custom_headers:nil)
|
577
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
578
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
579
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
580
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
581
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
582
|
+
|
583
|
+
|
584
|
+
request_headers = {}
|
585
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
586
|
+
|
587
|
+
# Set Headers
|
588
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
589
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
590
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'
|
591
|
+
|
592
|
+
request_url = @base_url || @client.base_url
|
593
|
+
|
594
|
+
options = {
|
595
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
596
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
|
597
|
+
query_params: {'api-version' => @client.api_version},
|
598
|
+
headers: request_headers.merge(custom_headers || {}),
|
599
|
+
base_url: request_url
|
600
|
+
}
|
601
|
+
promise = @client.make_request_async(:post, path_template, options)
|
602
|
+
|
603
|
+
promise = promise.then do |result|
|
604
|
+
http_response = result.response
|
605
|
+
status_code = http_response.status
|
606
|
+
response_content = http_response.body
|
607
|
+
unless status_code == 200
|
608
|
+
error_model = JSON.load(response_content)
|
609
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
610
|
+
end
|
611
|
+
|
612
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
613
|
+
# Deserialize Response
|
614
|
+
if status_code == 200
|
615
|
+
begin
|
616
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
617
|
+
result_mapper = Azure::ContainerService::Mgmt::V2018_03_31::Models::CredentialResults.mapper()
|
618
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
619
|
+
rescue Exception => e
|
620
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
result
|
625
|
+
end
|
626
|
+
|
627
|
+
promise.execute
|
628
|
+
end
|
629
|
+
|
423
630
|
#
|
424
631
|
# Gets a managed cluster.
|
425
632
|
#
|
@@ -472,6 +679,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
472
679
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
473
680
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
474
681
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
682
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
475
683
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
476
684
|
|
477
685
|
|
@@ -658,6 +866,94 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
658
866
|
promise
|
659
867
|
end
|
660
868
|
|
869
|
+
#
|
870
|
+
# Reset Service Principal Profile of a managed cluster.
|
871
|
+
#
|
872
|
+
# Update the service principal Profile for a managed cluster.
|
873
|
+
#
|
874
|
+
# @param resource_group_name [String] The name of the resource group.
|
875
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
876
|
+
# @param parameters [ManagedClusterServicePrincipalProfile] Parameters supplied
|
877
|
+
# to the Reset Service Principal Profile operation for a Managed Cluster.
|
878
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
879
|
+
# will be added to the HTTP request.
|
880
|
+
#
|
881
|
+
def reset_service_principal_profile(resource_group_name, resource_name, parameters, custom_headers:nil)
|
882
|
+
response = reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
883
|
+
nil
|
884
|
+
end
|
885
|
+
|
886
|
+
#
|
887
|
+
# @param resource_group_name [String] The name of the resource group.
|
888
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
889
|
+
# @param parameters [ManagedClusterServicePrincipalProfile] Parameters supplied
|
890
|
+
# to the Reset Service Principal Profile operation for a Managed Cluster.
|
891
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
892
|
+
# will be added to the HTTP request.
|
893
|
+
#
|
894
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
895
|
+
# response.
|
896
|
+
#
|
897
|
+
def reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:nil)
|
898
|
+
# Send request
|
899
|
+
promise = begin_reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers)
|
900
|
+
|
901
|
+
promise = promise.then do |response|
|
902
|
+
# Defining deserialization method.
|
903
|
+
deserialize_method = lambda do |parsed_response|
|
904
|
+
end
|
905
|
+
|
906
|
+
# Waiting for response.
|
907
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
908
|
+
end
|
909
|
+
|
910
|
+
promise
|
911
|
+
end
|
912
|
+
|
913
|
+
#
|
914
|
+
# Reset AAD Profile of a managed cluster.
|
915
|
+
#
|
916
|
+
# Update the AAD Profile for a managed cluster.
|
917
|
+
#
|
918
|
+
# @param resource_group_name [String] The name of the resource group.
|
919
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
920
|
+
# @param parameters [ManagedClusterAADProfile] Parameters supplied to the Reset
|
921
|
+
# AAD Profile operation for a Managed Cluster.
|
922
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
923
|
+
# will be added to the HTTP request.
|
924
|
+
#
|
925
|
+
def reset_aadprofile(resource_group_name, resource_name, parameters, custom_headers:nil)
|
926
|
+
response = reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
927
|
+
nil
|
928
|
+
end
|
929
|
+
|
930
|
+
#
|
931
|
+
# @param resource_group_name [String] The name of the resource group.
|
932
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
933
|
+
# @param parameters [ManagedClusterAADProfile] Parameters supplied to the Reset
|
934
|
+
# AAD Profile operation for a Managed Cluster.
|
935
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
936
|
+
# will be added to the HTTP request.
|
937
|
+
#
|
938
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
939
|
+
# response.
|
940
|
+
#
|
941
|
+
def reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:nil)
|
942
|
+
# Send request
|
943
|
+
promise = begin_reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers)
|
944
|
+
|
945
|
+
promise = promise.then do |response|
|
946
|
+
# Defining deserialization method.
|
947
|
+
deserialize_method = lambda do |parsed_response|
|
948
|
+
end
|
949
|
+
|
950
|
+
# Waiting for response.
|
951
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
952
|
+
end
|
953
|
+
|
954
|
+
promise
|
955
|
+
end
|
956
|
+
|
661
957
|
#
|
662
958
|
# Creates or updates a managed cluster.
|
663
959
|
#
|
@@ -716,6 +1012,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
716
1012
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
717
1013
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
718
1014
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1015
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
719
1016
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
720
1017
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
721
1018
|
|
@@ -838,6 +1135,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
838
1135
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
839
1136
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
840
1137
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1138
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
841
1139
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
842
1140
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
843
1141
|
|
@@ -943,6 +1241,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
943
1241
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
944
1242
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
945
1243
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1244
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
946
1245
|
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
947
1246
|
|
948
1247
|
|
@@ -982,6 +1281,210 @@ module Azure::ContainerService::Mgmt::V2018_03_31
|
|
982
1281
|
promise.execute
|
983
1282
|
end
|
984
1283
|
|
1284
|
+
#
|
1285
|
+
# Reset Service Principal Profile of a managed cluster.
|
1286
|
+
#
|
1287
|
+
# Update the service principal Profile for a managed cluster.
|
1288
|
+
#
|
1289
|
+
# @param resource_group_name [String] The name of the resource group.
|
1290
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1291
|
+
# @param parameters [ManagedClusterServicePrincipalProfile] Parameters supplied
|
1292
|
+
# to the Reset Service Principal Profile operation for a Managed Cluster.
|
1293
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1294
|
+
# will be added to the HTTP request.
|
1295
|
+
#
|
1296
|
+
#
|
1297
|
+
def begin_reset_service_principal_profile(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1298
|
+
response = begin_reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
1299
|
+
nil
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
#
|
1303
|
+
# Reset Service Principal Profile of a managed cluster.
|
1304
|
+
#
|
1305
|
+
# Update the service principal Profile for a managed cluster.
|
1306
|
+
#
|
1307
|
+
# @param resource_group_name [String] The name of the resource group.
|
1308
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1309
|
+
# @param parameters [ManagedClusterServicePrincipalProfile] Parameters supplied
|
1310
|
+
# to the Reset Service Principal Profile operation for a Managed Cluster.
|
1311
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1312
|
+
# will be added to the HTTP request.
|
1313
|
+
#
|
1314
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1315
|
+
#
|
1316
|
+
def begin_reset_service_principal_profile_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1317
|
+
begin_reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
#
|
1321
|
+
# Reset Service Principal Profile of a managed cluster.
|
1322
|
+
#
|
1323
|
+
# Update the service principal Profile for a managed cluster.
|
1324
|
+
#
|
1325
|
+
# @param resource_group_name [String] The name of the resource group.
|
1326
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1327
|
+
# @param parameters [ManagedClusterServicePrincipalProfile] Parameters supplied
|
1328
|
+
# to the Reset Service Principal Profile operation for a Managed Cluster.
|
1329
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1330
|
+
# to the HTTP request.
|
1331
|
+
#
|
1332
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1333
|
+
#
|
1334
|
+
def begin_reset_service_principal_profile_async(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1335
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1336
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1337
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1338
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1339
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
1340
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1341
|
+
|
1342
|
+
|
1343
|
+
request_headers = {}
|
1344
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1345
|
+
|
1346
|
+
# Set Headers
|
1347
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1348
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1349
|
+
|
1350
|
+
# Serialize Request
|
1351
|
+
request_mapper = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterServicePrincipalProfile.mapper()
|
1352
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1353
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1354
|
+
|
1355
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'
|
1356
|
+
|
1357
|
+
request_url = @base_url || @client.base_url
|
1358
|
+
|
1359
|
+
options = {
|
1360
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1361
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
|
1362
|
+
query_params: {'api-version' => @client.api_version},
|
1363
|
+
body: request_content,
|
1364
|
+
headers: request_headers.merge(custom_headers || {}),
|
1365
|
+
base_url: request_url
|
1366
|
+
}
|
1367
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1368
|
+
|
1369
|
+
promise = promise.then do |result|
|
1370
|
+
http_response = result.response
|
1371
|
+
status_code = http_response.status
|
1372
|
+
response_content = http_response.body
|
1373
|
+
unless status_code == 200 || status_code == 202
|
1374
|
+
error_model = JSON.load(response_content)
|
1375
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1379
|
+
|
1380
|
+
result
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
promise.execute
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
#
|
1387
|
+
# Reset AAD Profile of a managed cluster.
|
1388
|
+
#
|
1389
|
+
# Update the AAD Profile for a managed cluster.
|
1390
|
+
#
|
1391
|
+
# @param resource_group_name [String] The name of the resource group.
|
1392
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1393
|
+
# @param parameters [ManagedClusterAADProfile] Parameters supplied to the Reset
|
1394
|
+
# AAD Profile operation for a Managed Cluster.
|
1395
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1396
|
+
# will be added to the HTTP request.
|
1397
|
+
#
|
1398
|
+
#
|
1399
|
+
def begin_reset_aadprofile(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1400
|
+
response = begin_reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
1401
|
+
nil
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
#
|
1405
|
+
# Reset AAD Profile of a managed cluster.
|
1406
|
+
#
|
1407
|
+
# Update the AAD Profile for a managed cluster.
|
1408
|
+
#
|
1409
|
+
# @param resource_group_name [String] The name of the resource group.
|
1410
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1411
|
+
# @param parameters [ManagedClusterAADProfile] Parameters supplied to the Reset
|
1412
|
+
# AAD Profile operation for a Managed Cluster.
|
1413
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1414
|
+
# will be added to the HTTP request.
|
1415
|
+
#
|
1416
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1417
|
+
#
|
1418
|
+
def begin_reset_aadprofile_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1419
|
+
begin_reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
#
|
1423
|
+
# Reset AAD Profile of a managed cluster.
|
1424
|
+
#
|
1425
|
+
# Update the AAD Profile for a managed cluster.
|
1426
|
+
#
|
1427
|
+
# @param resource_group_name [String] The name of the resource group.
|
1428
|
+
# @param resource_name [String] The name of the managed cluster resource.
|
1429
|
+
# @param parameters [ManagedClusterAADProfile] Parameters supplied to the Reset
|
1430
|
+
# AAD Profile operation for a Managed Cluster.
|
1431
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1432
|
+
# to the HTTP request.
|
1433
|
+
#
|
1434
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1435
|
+
#
|
1436
|
+
def begin_reset_aadprofile_async(resource_group_name, resource_name, parameters, custom_headers:nil)
|
1437
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1438
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1439
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1440
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1441
|
+
fail ArgumentError, 'resource_name is nil' if resource_name.nil?
|
1442
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1443
|
+
|
1444
|
+
|
1445
|
+
request_headers = {}
|
1446
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1447
|
+
|
1448
|
+
# Set Headers
|
1449
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1450
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1451
|
+
|
1452
|
+
# Serialize Request
|
1453
|
+
request_mapper = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAADProfile.mapper()
|
1454
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1455
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1456
|
+
|
1457
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'
|
1458
|
+
|
1459
|
+
request_url = @base_url || @client.base_url
|
1460
|
+
|
1461
|
+
options = {
|
1462
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1463
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
|
1464
|
+
query_params: {'api-version' => @client.api_version},
|
1465
|
+
body: request_content,
|
1466
|
+
headers: request_headers.merge(custom_headers || {}),
|
1467
|
+
base_url: request_url
|
1468
|
+
}
|
1469
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1470
|
+
|
1471
|
+
promise = promise.then do |result|
|
1472
|
+
http_response = result.response
|
1473
|
+
status_code = http_response.status
|
1474
|
+
response_content = http_response.body
|
1475
|
+
unless status_code == 200 || status_code == 202
|
1476
|
+
error_model = JSON.load(response_content)
|
1477
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1481
|
+
|
1482
|
+
result
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
promise.execute
|
1486
|
+
end
|
1487
|
+
|
985
1488
|
#
|
986
1489
|
# Gets a list of managed clusters in the specified subscription.
|
987
1490
|
#
|