azure_mgmt_container_service 0.18.4 → 0.20.2
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/2019-09-30-preview/generated/azure_mgmt_container_service.rb +45 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/network_profile.rb +70 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +255 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +95 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_monitor_profile.rb +59 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb +70 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1068 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service.rb +79 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/agent_pools.rb +900 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/managed_clusters.rb +1921 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool.rb +344 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +153 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +330 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +211 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +317 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +95 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service.rb +85 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/agent_pools.rb +900 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +2028 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb +398 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +117 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +376 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +251 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +371 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +124 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +17 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2020-02-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/azure_mgmt_container_service.rb +12 -7
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +235 -147
- data/lib/version.rb +1 -1
- metadata +254 -5
@@ -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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for OSType
|
10
|
+
#
|
11
|
+
module OSType
|
12
|
+
Linux = "Linux"
|
13
|
+
Windows = "Windows"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,110 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Resource model definition.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Resource location
|
25
|
+
attr_accessor :location
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
|
31
|
+
# @return [String] the name of the resource group of the resource.
|
32
|
+
def resource_group
|
33
|
+
unless self.id.nil?
|
34
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
35
|
+
groups.captures[0].strip if groups
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for Resource class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'Resource',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'Resource',
|
52
|
+
model_properties: {
|
53
|
+
id: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
name: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
type: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'location',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
tags: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'tags',
|
92
|
+
type: {
|
93
|
+
name: 'Dictionary',
|
94
|
+
value: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'StringElementType',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResourceIdentityType
|
10
|
+
#
|
11
|
+
module ResourceIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
None = "None"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A reference to an Azure resource.
|
10
|
+
#
|
11
|
+
class ResourceReference
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The fully qualified Azure resource id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ResourceReference class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ResourceReference',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ResourceReference',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'id',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/2019-10-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb
ADDED
@@ -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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ScaleSetEvictionPolicy
|
10
|
+
#
|
11
|
+
module ScaleSetEvictionPolicy
|
12
|
+
Delete = "Delete"
|
13
|
+
Deallocate = "Deallocate"
|
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ScaleSetPriority
|
10
|
+
#
|
11
|
+
module ScaleSetPriority
|
12
|
+
Low = "Low"
|
13
|
+
Regular = "Regular"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Reference to another subresource.
|
10
|
+
#
|
11
|
+
class SubResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the resource that is unique within a
|
19
|
+
# resource group. This name can be used to access the resource.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] Resource type
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for SubResource class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'SubResource',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'SubResource',
|
38
|
+
model_properties: {
|
39
|
+
id: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
type: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Tags object for patch operations.
|
10
|
+
#
|
11
|
+
class TagsObject
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for TagsObject class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'TagsObject',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'TagsObject',
|
31
|
+
model_properties: {
|
32
|
+
tags: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'tags',
|
36
|
+
type: {
|
37
|
+
name: 'Dictionary',
|
38
|
+
value: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'StringElementType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::ContainerService end
|
8
|
+
module Azure::ContainerService::Mgmt end
|
9
|
+
module Azure::ContainerService::Mgmt::V2019_10_01 end
|
@@ -0,0 +1,109 @@
|
|
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_10_01
|
7
|
+
#
|
8
|
+
# The Container Service Client.
|
9
|
+
#
|
10
|
+
class Operations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Operations class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ContainerServiceClient] reference to the ContainerServiceClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets a list of compute operations.
|
26
|
+
#
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
28
|
+
# will be added to the HTTP request.
|
29
|
+
#
|
30
|
+
# @return [OperationListResult] operation results.
|
31
|
+
#
|
32
|
+
def list(custom_headers:nil)
|
33
|
+
response = list_async(custom_headers:custom_headers).value!
|
34
|
+
response.body unless response.nil?
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Gets a list of compute operations.
|
39
|
+
#
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
|
+
#
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Gets a list of compute operations.
|
51
|
+
#
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
53
|
+
# to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
|
+
#
|
57
|
+
def list_async(custom_headers:nil)
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
|
+
|
60
|
+
|
61
|
+
request_headers = {}
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
63
|
+
|
64
|
+
# Set Headers
|
65
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
66
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
67
|
+
path_template = 'providers/Microsoft.ContainerService/operations'
|
68
|
+
|
69
|
+
request_url = @base_url || @client.base_url
|
70
|
+
|
71
|
+
options = {
|
72
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
73
|
+
query_params: {'api-version' => @client.api_version},
|
74
|
+
headers: request_headers.merge(custom_headers || {}),
|
75
|
+
base_url: request_url
|
76
|
+
}
|
77
|
+
promise = @client.make_request_async(:get, path_template, options)
|
78
|
+
|
79
|
+
promise = promise.then do |result|
|
80
|
+
http_response = result.response
|
81
|
+
status_code = http_response.status
|
82
|
+
response_content = http_response.body
|
83
|
+
unless status_code == 200
|
84
|
+
error_model = JSON.load(response_content)
|
85
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
86
|
+
end
|
87
|
+
|
88
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
90
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
91
|
+
# Deserialize Response
|
92
|
+
if status_code == 200
|
93
|
+
begin
|
94
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
95
|
+
result_mapper = Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationListResult.mapper()
|
96
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
97
|
+
rescue Exception => e
|
98
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
result
|
103
|
+
end
|
104
|
+
|
105
|
+
promise.execute
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
109
|
+
end
|