跳转到主要内容

Python的Microsoft Azure容器服务管理客户端库

项目描述

Microsoft Azure SDK for Python

这是Microsoft Azure容器服务管理客户端库。此包已与Python 3.8+进行测试。有关Azure库的更全面视图,请参阅azure sdk python发布

免责声明

Azure SDK Python包对Python 2.7的支持已于2022年1月1日结束。有关更多信息及问题,请参阅https://github.com/Azure/azure-sdk-for-python/issues/20691

入门

先决条件

安装包

pip install azure-mgmt-containerservice
pip install azure-identity

身份验证

默认情况下,Azure Active Directory令牌身份验证依赖于以下环境变量的正确配置。

  • AZURE_CLIENT_ID用于Azure客户端ID。
  • AZURE_TENANT_ID用于Azure租户ID。
  • AZURE_CLIENT_SECRET用于Azure客户端密钥。

此外,可以通过环境变量AZURE_SUBSCRIPTION_ID配置Azure订阅ID。

以上配置完成后,客户端可以通过以下代码进行身份验证

from azure.identity import DefaultAzureCredential
from azure.mgmt.containerservice import ContainerServiceClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ContainerServiceClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

示例

此包的代码示例可以在

故障排除

下一步

提供反馈

如果您遇到任何错误或有建议,请在此项目的问题部分提交问题。

发布历史

32.0.0 (2024-09-12)

新增功能

  • 添加了操作AgentPoolsOperations.begin_delete_machines
  • 模型AdvancedNetworking有一个新的参数security
  • 模型AdvancedNetworkingObservability有一个新的参数tls_management
  • 模型AgentPool有一个新的参数security_profile
  • 模型ManagedClusterAgentPoolProfile有一个新的参数security_profile
  • 模型ManagedClusterAgentPoolProfileProperties有一个新的参数security_profile

重大更改

  • 模型AgentPoolSecurityProfile不再有参数ssh_access

31.0.0 (2024-07-18)

新增功能

  • 添加了操作组LoadBalancersOperations
  • 模型ManagedClusterAzureMonitorProfileAppMonitoring有一个新的参数auto_instrumentation
  • 模型ManagedClusterAzureMonitorProfileAppMonitoring有一个新的参数open_telemetry_logs
  • 模型ManagedClusterAzureMonitorProfileAppMonitoring有一个新的参数open_telemetry_metrics
  • 模型ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics有一个新的参数port
  • 模型ManagedClusterAzureMonitorProfileContainerInsights有一个新的参数disable_custom_metrics
  • 模型ManagedClusterAzureMonitorProfileContainerInsights有一个新的参数disable_prometheus_metrics_scraping
  • 模型ManagedClusterAzureMonitorProfileContainerInsights有一个新的参数syslog_port
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数daemonset_eviction_for_empty_nodes
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数daemonset_eviction_for_occupied_nodes
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数ignore_daemonsets_utilization
  • 模型ScaleProfile有一个新的参数autoscale

重大更改

  • 模型ManagedClusterAzureMonitorProfileAppMonitoring不再有参数enabled
  • 模型ManagedClusterAzureMonitorProfileContainerInsights不再有参数windows_host_logs
  • 删除了操作ManagedClustersOperations.get_os_options

30.0.0 (2024-04-22)

新增功能

  • 模型AgentPool有一个新的参数windows_profile
  • 模型KubernetesVersion有一个新的参数is_default
  • 模型ManagedCluster有一个新的参数metrics_profile
  • 模型ManagedClusterAgentPoolProfile有一个新的参数windows_profile
  • 模型ManagedClusterAgentPoolProfileProperties有一个新的参数windows_profile

重大更改

  • 模型IstioEgressGateway不再有参数node_selector

29.1.0 (2024-02-20)

新增功能

  • 模型AgentPoolSecurityProfile有一个新的参数enable_secure_boot
  • 模型AgentPoolSecurityProfile有一个新的参数enable_vtpm
  • 模型ManagedCluster有一个新的参数ingress_profile

29.0.0 (2024-01-22)

重大更改

  • 模型AgentPool不再有参数artifact_streaming_profile
  • 模型AgentPool不再有参数enable_custom_ca_trust
  • 模型AgentPool不再有参数gpu_profile
  • 模型AgentPool不再有参数message_of_the_day
  • 模型AgentPool不再有参数node_initialization_taints
  • 模型AgentPool不再有参数security_profile
  • 模型AgentPool不再有参数virtual_machine_nodes_status
  • 模型AgentPool不再有参数virtual_machines_profile
  • 模型AgentPool不再有参数windows_profile
  • 模型ContainerServiceNetworkProfile不再有参数kube_proxy_config
  • 模型ContainerServiceNetworkProfile不再有参数monitoring
  • 模型ManagedCluster不再有参数ai_toolchain_operator_profile
  • 模型ManagedCluster不再有参数creation_data
  • 模型ManagedCluster不再有参数enable_namespace_resources
  • 模型ManagedCluster不再有参数guardrails_profile
  • 模型ManagedCluster不再有参数ingress_profile
  • 模型ManagedCluster不再有参数metrics_profile
  • 模型 ManagedCluster 不再具有参数 node_provisioning_profile
  • 模型 ManagedCluster 不再具有参数 node_resource_group_profile
  • 模型 ManagedClusterAPIServerAccessProfile 不再具有参数 enable_vnet_integration
  • 模型 ManagedClusterAPIServerAccessProfile 不再具有参数 subnet_id
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 artifact_streaming_profile
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 enable_custom_ca_trust
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 gpu_profile
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 message_of_the_day
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 node_initialization_taints
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 security_profile
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 virtual_machine_nodes_status
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 virtual_machines_profile
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 windows_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 artifact_streaming_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 enable_custom_ca_trust
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 gpu_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 message_of_the_day
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 node_initialization_taints
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 security_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 virtual_machine_nodes_status
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 virtual_machines_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 windows_profile
  • 模型 ManagedClusterAzureMonitorProfile 不再具有参数 logs
  • 模型 ManagedClusterAzureMonitorProfileMetrics 不再具有参数 app_monitoring_open_telemetry_metrics
  • 模型 ManagedClusterHTTPProxyConfig 不再具有参数 effective_no_proxy
  • 模型 ManagedClusterPropertiesAutoScalerProfile 不再具有参数 daemonset_eviction_for_empty_nodes
  • 模型 ManagedClusterPropertiesAutoScalerProfile 不再具有参数 daemonset_eviction_for_occupied_nodes
  • 模型 ManagedClusterPropertiesAutoScalerProfile 不再具有参数 ignore_daemonsets_utilization
  • 模型 ManagedClusterSecurityProfile 不再具有参数 custom_ca_trust_certificates
  • 模型 ManagedClusterSecurityProfile 不再具有参数 image_integrity
  • 模型 ManagedClusterSecurityProfile 不再具有参数 node_restriction
  • 模型 ManagedClusterStorageProfileDiskCSIDriver 不再具有参数 version
  • 模型 ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler 不再具有参数 addon_autoscaling
  • 操作 AgentPoolsOperations.begin_delete 不再具有参数 ignore_pod_disruption_budget
  • 操作 ManagedClustersOperations.begin_delete 不再具有参数 ignore_pod_disruption_budget
  • 已移除操作 AgentPoolsOperations.begin_delete_machines
  • 已移除操作 ManagedClustersOperations.get_guardrails_versions
  • 已移除操作 ManagedClustersOperations.list_guardrails_versions

28.0.0 (2023-11-20)

新增功能

  • 添加了操作AgentPoolsOperations.begin_delete_machines
  • 添加了操作 ManagedClustersOperations.get_guardrails_versions
  • 添加了操作 ManagedClustersOperations.list_guardrails_versions
  • 添加了操作组 OperationStatusResultOperations
  • 模型 AgentPool 有新参数 artifact_streaming_profile
  • 模型 AgentPool 有新参数 capacity_reservation_group_id
  • 模型 AgentPool 有新参数 enable_custom_ca_trust
  • 模型 AgentPool 有新参数 gpu_profile
  • 模型 AgentPool 有新参数 message_of_the_day
  • 模型 AgentPool 有新参数 network_profile
  • 模型 AgentPool 有新参数 node_initialization_taints
  • 模型AgentPool有一个新的参数security_profile
  • 模型 AgentPool 有新参数 virtual_machine_nodes_status
  • 模型 AgentPool 有新参数 virtual_machines_profile
  • 模型AgentPool有一个新的参数windows_profile
  • 模型 AgentPoolUpgradeSettings 有新参数 node_soak_duration_in_minutes
  • 模型 ContainerServiceNetworkProfile 有新参数 kube_proxy_config
  • 模型 ContainerServiceNetworkProfile 有新参数 monitoring
  • 模型 ManagedCluster 有新参数 ai_toolchain_operator_profile
  • 模型 ManagedCluster 有新参数 creation_data
  • 模型 ManagedCluster 有新参数 enable_namespace_resources
  • 模型 ManagedCluster 有新参数 guardrails_profile
  • 模型ManagedCluster有一个新的参数ingress_profile
  • 模型ManagedCluster有一个新的参数metrics_profile
  • 模型 ManagedCluster 有新参数 node_provisioning_profile
  • 模型 ManagedCluster 有新参数 node_resource_group_profile
  • 模型ManagedClusterAPIServerAccessProfile新增参数enable_vnet_integration
  • 模型ManagedClusterAPIServerAccessProfile新增参数subnet_id
  • 模型ManagedClusterAgentPoolProfile新增参数artifact_streaming_profile
  • 模型ManagedClusterAgentPoolProfile新增参数capacity_reservation_group_id
  • 模型ManagedClusterAgentPoolProfile新增参数enable_custom_ca_trust
  • 模型ManagedClusterAgentPoolProfile新增参数gpu_profile
  • 模型ManagedClusterAgentPoolProfile新增参数message_of_the_day
  • 模型ManagedClusterAgentPoolProfile新增参数network_profile
  • 模型ManagedClusterAgentPoolProfile新增参数node_initialization_taints
  • 模型ManagedClusterAgentPoolProfile有一个新的参数security_profile
  • 模型ManagedClusterAgentPoolProfile新增参数virtual_machine_nodes_status
  • 模型ManagedClusterAgentPoolProfile新增参数virtual_machines_profile
  • 模型ManagedClusterAgentPoolProfile有一个新的参数windows_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数artifact_streaming_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数capacity_reservation_group_id
  • 模型ManagedClusterAgentPoolProfileProperties新增参数enable_custom_ca_trust
  • 模型ManagedClusterAgentPoolProfileProperties新增参数gpu_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数message_of_the_day
  • 模型ManagedClusterAgentPoolProfileProperties新增参数network_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数node_initialization_taints
  • 模型ManagedClusterAgentPoolProfileProperties有一个新的参数security_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数virtual_machine_nodes_status
  • 模型ManagedClusterAgentPoolProfileProperties新增参数virtual_machines_profile
  • 模型ManagedClusterAgentPoolProfileProperties有一个新的参数windows_profile
  • 模型ManagedClusterAzureMonitorProfile新增参数logs
  • 模型ManagedClusterAzureMonitorProfileMetrics新增参数app_monitoring_open_telemetry_metrics
  • 模型ManagedClusterHTTPProxyConfig新增参数effective_no_proxy
  • 模型ManagedClusterLoadBalancerProfile新增参数backend_pool_type
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数daemonset_eviction_for_empty_nodes
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数daemonset_eviction_for_occupied_nodes
  • 模型ManagedClusterPropertiesAutoScalerProfile有一个新的参数ignore_daemonsets_utilization
  • 模型ManagedClusterSecurityProfile新增参数custom_ca_trust_certificates
  • 模型ManagedClusterSecurityProfile新增参数image_integrity
  • 模型ManagedClusterSecurityProfile新增参数node_restriction
  • 模型ManagedClusterStorageProfileDiskCSIDriver新增参数version
  • 模型ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler新增参数addon_autoscaling
  • 操作AgentPoolsOperations.begin_delete新增可选参数ignore_pod_disruption_budget
  • 操作ManagedClustersOperations.begin_delete新增可选参数ignore_pod_disruption_budget

重大更改

  • 操作TrustedAccessRoleBindingsOperations.create_or_update更名为TrustedAccessRoleBindingsOperations.begin_create_or_update
  • 操作TrustedAccessRoleBindingsOperations.delete更名为TrustedAccessRoleBindingsOperations.begin_delete

27.0.0 (2023-10-23)

新增功能

  • 新增操作ManagedClustersOperations.get_mesh_revision_profile
  • 新增操作ManagedClustersOperations.get_mesh_upgrade_profile
  • 新增操作ManagedClustersOperations.list_mesh_revision_profiles
  • 新增操作ManagedClustersOperations.list_mesh_upgrade_profiles
  • 新增操作组MachinesOperations
  • 模型IstioComponents新增参数egress_gateways
  • 模型ManagedCluster新增参数resource_uid
  • 模型ManagedCluster新增参数service_mesh_profile
  • 模型ManagedClusterIngressProfileWebAppRouting新增参数dns_zone_resource_ids

重大更改

  • 模型ManagedClusterIngressProfileWebAppRouting不再有参数dns_zone_resource_id

26.0.0 (2023-08-18)

新增功能

  • 模型IstioServiceMesh新增参数certificate_authority
  • 模型IstioServiceMesh新增参数revisions
  • 模型ManagedCluster新增参数upgrade_settings
  • 模型UpgradeOverrideSettings新增参数force_upgrade

重大更改

  • 模型UpgradeOverrideSettings不再有参数control_plane_overrides

25.0.0 (2023-07-26)

新增功能

  • 模型AgentPoolUpgradeSettings新增参数drain_timeout_in_minutes
  • 模型ManagedClusterIdentity新增参数delegated_resources

重大更改

  • 模型AgentPool不再有参数capacity_reservation_group_id
  • 模型AgentPool不再有参数enable_custom_ca_trust
  • 模型AgentPool不再有参数message_of_the_day
  • 模型AgentPool不再有参数network_profile
  • 模型AgentPool不再有参数windows_profile
  • 模型ContainerServiceNetworkProfile不再有参数kube_proxy_config
  • 模型ContainerServiceNetworkProfile不再有参数monitoring
  • 模型ManagedCluster不再有参数creation_data
  • 模型ManagedCluster不再有参数enable_namespace_resources
  • 模型ManagedCluster不再有参数guardrails_profile
  • 模型ManagedCluster不再有参数ingress_profile
  • 模型 ManagedCluster 不再具有参数 node_resource_group_profile
  • 模型ManagedCluster不再有参数service_mesh_profile
  • 模型ManagedCluster不再有参数upgrade_settings
  • 模型 ManagedClusterAPIServerAccessProfile 不再具有参数 enable_vnet_integration
  • 模型 ManagedClusterAPIServerAccessProfile 不再具有参数 subnet_id
  • 模型ManagedClusterAgentPoolProfile不再有参数capacity_reservation_group_id
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 enable_custom_ca_trust
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 message_of_the_day
  • 模型ManagedClusterAgentPoolProfile不再有参数network_profile
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 windows_profile
  • 模型ManagedClusterAgentPoolProfileProperties不再有参数capacity_reservation_group_id
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 enable_custom_ca_trust
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 message_of_the_day
  • 模型ManagedClusterAgentPoolProfileProperties不再有参数network_profile
  • 模型 ManagedClusterAgentPoolProfileProperties 不再具有参数 windows_profile
  • 模型 ManagedClusterHTTPProxyConfig 不再具有参数 effective_no_proxy
  • 模型ManagedClusterLoadBalancerProfile不再有参数backend_pool_type
  • 模型 ManagedClusterSecurityProfile 不再具有参数 custom_ca_trust_certificates
  • 模型 ManagedClusterSecurityProfile 不再具有参数 node_restriction
  • 模型 ManagedClusterStorageProfileDiskCSIDriver 不再具有参数 version
  • 模型 ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler 不再具有参数 controlled_values。
  • 模型 ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler 不再具有参数 update_mode。
  • 操作 AgentPoolsOperations.begin_delete 不再具有参数 ignore_pod_disruption_budget
  • 操作 ManagedClustersOperations.begin_delete 不再具有参数 ignore_pod_disruption_budget

24.0.0 (2023-06-21)

新增功能

  • 模型 ContainerServiceNetworkProfile 有新参数 monitoring
  • 模型 OrchestratorProfile 添加了新参数 is_preview。

重大更改

  • 删除了操作 ContainerServicesOperations.begin_create_or_update。
  • 删除了操作 ContainerServicesOperations.begin_delete。
  • 删除了操作 ContainerServicesOperations.get。
  • 删除了操作 ContainerServicesOperations.list。
  • 删除了操作 ContainerServicesOperations.list_by_resource_group。

23.0.0 (2023-05-16)

重大更改

  • 模型 ContainerServiceNetworkProfile 不再具有参数 docker_bridge_cidr。

22.1.0 (2023-04-19)

新增功能

  • 添加了操作 ManagedClustersOperations.list_kubernetes_versions。
  • 模型 ManagedCluster 添加了新参数 support_plan。

22.0.0 (2023-03-23)

新增功能

  • 模型 ContainerServiceNetworkProfile 添加了新参数 network_dataplane。
  • 模型ManagedCluster新增参数service_mesh_profile
  • 模型 ManagedClusterIngressProfileWebAppRouting 添加了新参数 identity。

重大更改

  • 模型 ContainerServiceNetworkProfile 不再具有参数 ebpf_dataplane。

21.2.0 (2023-02-20)

新增功能

  • 模型ManagedCluster新增参数upgrade_settings

21.1.0 (2022-12-30)

新增功能

  • 模型 ManagedCluster 有新参数 node_resource_group_profile

21.0.0 (2022-12-15)

新增功能

  • 模型 MaintenanceConfiguration 添加了新参数 maintenance_window。
  • 模型 ManagedClusterAutoUpgradeProfile 添加了新参数 node_os_upgrade_channel。

重大更改

  • 将操作 AgentPoolsOperations.abort_latest_operation 重命名为 AgentPoolsOperations.begin_abort_latest_operation。
  • 将操作 ManagedClustersOperations.abort_latest_operation 重命名为 ManagedClustersOperations.begin_abort_latest_operation。

20.7.0 (2022-11-09)

新增功能

  • 为操作组 fleets 添加了新的 api-version 2022-09-02-preview

20.6.0 (2022-10-25)

新增功能

  • 模型 AgentPoolNetworkProfile 添加了新参数 allowed_host_ports。
  • 模型 AgentPoolNetworkProfile 添加了新参数 application_security_groups。
  • 模型 ContainerServiceNetworkProfile 添加了新参数 ebpf_dataplane。
  • 模型ManagedClusterSecurityProfile新增参数custom_ca_trust_certificates

20.5.0 (2022-10-18)

新增功能

  • 模型 AgentPool 有新参数 network_profile
  • 模型ManagedClusterAgentPoolProfile新增参数network_profile
  • 模型ManagedClusterAgentPoolProfileProperties新增参数network_profile

20.4.0 (2022-09-20)

新增功能

  • 模型AgentPool有一个新的参数windows_profile
  • 模型 ContainerServiceNetworkProfile 有新参数 kube_proxy_config
  • 模型 ManagedCluster 有新参数 guardrails_profile
  • 模型ManagedClusterAgentPoolProfile有一个新的参数windows_profile
  • 模型ManagedClusterAgentPoolProfileProperties有一个新的参数windows_profile
  • 模型ManagedClusterLoadBalancerProfile新增参数backend_pool_type

20.3.0 (2022-08-26)

新增功能

  • 添加了操作 AgentPoolsOperations.abort_latest_operation。
  • 添加了操作 ManagedClustersOperations.abort_latest_operation。
  • 模型 ManagedCluster 添加了新参数 azure_monitor_profile。
  • 模型 ManagedClusterSecurityProfile 添加了新参数 image_cleaner。
  • 模型 ManagedClusterWorkloadAutoScalerProfile 添加了新参数 vertical_pod_autoscaler。

20.2.0 (2022-07-25)

特性

  • 添加了新的 api-version 2022-06-01

20.1.0 (2022-07-21)

特性

  • 添加了操作组 FleetMembersOperations。
  • 添加了操作组 FleetsOperations。
  • 模型ManagedClusterSecurityProfile新增参数node_restriction

20.0.0 (2022-06-09)

特性

  • 模型 AzureKeyVaultKms 添加了新参数 key_vault_network_access。
  • 模型 AzureKeyVaultKms 添加了新参数 key_vault_resource_id。
  • 模型 ManagedCluster 添加了新参数 workload_auto_scaler_profile。
  • 模型 ManagedClusterSecurityProfile 添加了新参数 defender。
  • 模型 ManagedClusterStorageProfile 添加了新参数 blob_csi_driver。

重大变更

  • 模型 ManagedClusterSecurityProfile 不再具有参数 azure_defender。

19.1.0 (2022-05-13)

特性

  • 添加了操作组 TrustedAccessRoleBindingsOperations。
  • 添加了操作组 TrustedAccessRolesOperations。
  • 模型 AgentPool 有新参数 enable_custom_ca_trust
  • 模型 ContainerServiceNetworkProfile 添加了新参数 network_plugin_mode。
  • 模型 ManagedCluster 添加了新参数 storage_profile。
  • 模型ManagedClusterAPIServerAccessProfile新增参数enable_vnet_integration
  • 模型ManagedClusterAPIServerAccessProfile新增参数subnet_id
  • 模型ManagedClusterAgentPoolProfile新增参数enable_custom_ca_trust
  • 模型ManagedClusterAgentPoolProfileProperties新增参数enable_custom_ca_trust
  • 模型 NetworkProfileForSnapshot 添加了新参数 network_plugin_mode。

19.0.0 (2022-04-15)

特性

  • 添加了操作 ManagedClustersOperations.begin_rotate_service_account_signing_keys。
  • 模型 AgentPool 添加了新参数 current_orchestrator_version。
  • 模型 ManagedCluster 有新参数 creation_data
  • 模型ManagedCluster有一个新的参数ingress_profile
  • 模型 ManagedClusterAgentPoolProfile 添加了新参数 current_orchestrator_version。
  • 模型 ManagedClusterAgentPoolProfileProperties 添加了新参数 current_orchestrator_version。
  • 模型ManagedClusterHTTPProxyConfig新增参数effective_no_proxy
  • 模型 ManagedClusterSecurityProfile 添加了新参数 workload_identity。

重大变更

  • 模型 Resource 不再具有参数 location。
  • 模型 Resource 不再具有参数 tags。
  • 操作 AgentPoolsOperations.begin_delete 添加了新参数 ignore_pod_disruption_budget。
  • 操作 ManagedClustersOperations.begin_delete 添加了新参数 ignore_pod_disruption_budget。

18.0.0 (2022-03-23)

特性

  • 添加了操作组 ManagedClusterSnapshotsOperations。
  • 模型 ManagedCluster 添加了新参数 system_data。
  • 模型 ManagedClusterAccessProfile 添加了新参数 system_data。
  • 模型 ManagedClusterSecurityProfile 添加了新参数 azure_key_vault_kms。
  • 模型 Resource 添加了新参数 system_data。

重大变更

  • 操作 ManagedClustersOperations.list_cluster_admin_credentials 添加了新签名。
  • 操作 ManagedClustersOperations.list_cluster_user_credentials 添加了新签名。

17.0.0 (2022-02-21)

特性

  • 模型 AgentPool 有新参数 capacity_reservation_group_id
  • 模型 AgentPool 添加了新参数 host_group_id。
  • 模型 AgentPool 有新参数 message_of_the_day
  • 模型 ManagedCluster 添加了新参数 current_kubernetes_version。
  • 模型 ManagedCluster 有新参数 enable_namespace_resources
  • 模型 ManagedCluster 添加了新参数 oidc_issuer_profile。
  • 模型ManagedClusterAgentPoolProfile新增参数capacity_reservation_group_id
  • 模型 ManagedClusterAgentPoolProfile 添加了新参数 host_group_id。
  • 模型ManagedClusterAgentPoolProfile新增参数message_of_the_day
  • 模型ManagedClusterAgentPoolProfileProperties新增参数capacity_reservation_group_id
  • 模型 ManagedClusterAgentPoolProfileProperties 添加了新参数 host_group_id。
  • 模型ManagedClusterAgentPoolProfileProperties新增参数message_of_the_day

重大变更

  • 操作 ManagedClustersOperations.list_cluster_admin_credentials 添加了新签名。

16.4.0 (2021-11-25)

特性

  • 模型 ContainerServiceNetworkProfile 添加了新参数 service_cidrs。
  • 模型 ContainerServiceNetworkProfile 添加了新参数 pod_cidrs。
  • 模型 ContainerServiceNetworkProfile 添加了新参数 ip_families。
  • 模型 ManagedClusterLoadBalancerProfileManagedOutboundIPs 添加了新参数 count_ipv6。

16.3.0 (2021-10-18)

特性

  • Model ManagedClusterWindowsProfile 添加了新参数 gmsa_profile
  • Model Snapshot 添加了新参数 vm_size
  • Model Snapshot 添加了新参数 os_type
  • Model Snapshot 添加了新参数 os_sku
  • Model Snapshot 添加了新参数 kubernetes_version
  • Model Snapshot 添加了新参数 node_image_version
  • Model Snapshot 添加了新参数 enable_fips

16.2.0 (2021-09-09)

特性

  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 creation_data
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 workload_runtime
  • Model ManagedClusterLoadBalancerProfile 添加了新参数 enable_multiple_standard_load_balancers
  • Model ManagedClusterAgentPoolProfile 添加了新参数 creation_data
  • Model ManagedClusterAgentPoolProfile 添加了新参数 workload_runtime
  • Model ManagedCluster 添加了新参数 public_network_access
  • Model ManagedClusterAPIServerAccessProfile 添加了新参数 disable_run_command
  • Model AgentPool 添加了新参数 creation_data
  • Model AgentPool 添加了新参数 workload_runtime
  • 添加了操作组 SnapshotsOperations

16.1.0 (2021-08-06)

特性

  • Model ManagedClusterAgentPoolProfile 添加了新参数 scale_down_mode
  • Model ContainerServiceNetworkProfile 添加了新参数 nat_gateway_profile
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 scale_down_mode
  • Model ManagedCluster 添加了新参数 security_profile
  • Model AgentPool 添加了新参数 scale_down_mode

16.0.0 (2021-06-17)

特性

  • Model ManagedClusterAgentPoolProfile 添加了新参数 enable_ultra_ssd
  • Model ManagedClusterAPIServerAccessProfile 添加了新参数 enable_private_cluster_public_fqdn
  • Model AgentPool 添加了新参数 enable_ultra_ssd
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 enable_ultra_ssd
  • 添加了操作 ManagedClustersOperations.list_outbound_network_dependencies_endpoints

重大变更

  • 操作 ManagedClustersOperations.list_cluster_admin_credentials 添加了新签名。
  • 操作 ManagedClustersOperations.list_cluster_monitoring_user_credentials 有新的签名
  • 操作 ManagedClustersOperations.list_cluster_user_credentials 添加了新签名。

15.1.0 (2021-04-07)

特性

  • Model Components1Q1Og48SchemasManagedclusterAllof1 添加了新参数 private_link_resources
  • Model Components1Q1Og48SchemasManagedclusterAllof1 添加了新参数 disable_local_accounts
  • Model Components1Q1Og48SchemasManagedclusterAllof1 添加了新参数 http_proxy_config
  • Model ManagedClusterPodIdentity 添加了新参数 binding_selector
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 gpu_instance_profile
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 enable_fips
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 os_sku
  • Model AgentPool 添加了新参数 gpu_instance_profile
  • Model AgentPool 添加了新参数 enable_fips
  • Model AgentPool 添加了新参数 os_sku
  • Model ManagedCluster 添加了新参数 extended_location
  • Model ManagedCluster 添加了新参数 private_link_resources
  • Model ManagedCluster 添加了新参数 disable_local_accounts
  • Model ManagedCluster 添加了新参数 http_proxy_config
  • Model ManagedClusterAgentPoolProfile 添加了新参数 gpu_instance_profile
  • Model ManagedClusterAgentPoolProfile 添加了新参数 enable_fips
  • Model ManagedClusterAgentPoolProfile 添加了新参数 os_sku
  • Model ManagedClusterWindowsProfile 添加了新参数 enable_csi_proxy
  • 添加了操作 ManagedClustersOperations.get_command_result
  • 添加了操作 ManagedClustersOperations.begin_run_command
  • 添加了操作 ManagedClustersOperations.get_os_options

15.0.0 (2021-03-03)

特性

  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 max_node_provision_time
  • Model ManagedClusterPodIdentityProfile 添加了新参数 allow_network_plugin_kubenet
  • Model KubeletConfig 添加了新参数 container_log_max_size_mb
  • Model KubeletConfig 添加了新参数 pod_max_pids
  • Model KubeletConfig 添加了新参数 container_log_max_files
  • Model SysctlConfig 添加了新参数 net_core_rmem_default
  • Model SysctlConfig 添加了新参数 net_core_wmem_default
  • Model Components1Q1Og48SchemasManagedclusterAllof1 添加了新参数 azure_portal_fqdn
  • Model Components1Q1Og48SchemasManagedclusterAllof1 添加了新参数 fqdn_subdomain
  • Model ManagedCluster 添加了新参数 azure_portal_fqdn
  • Model ManagedCluster 添加了新参数 fqdn_subdomain
  • Model ManagedClusterAgentPoolProfile 添加了新参数 kubelet_disk_type
  • Model ManagedClusterAgentPoolProfile 添加了新参数 enable_encryption_at_host
  • Model ManagedClusterAgentPoolProfile 添加了新参数 node_public_ip_prefix_id
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 kubelet_disk_type
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 enable_encryption_at_host
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 node_public_ip_prefix_id
  • Model AgentPool 添加了新参数 kubelet_disk_type
  • Model AgentPool 添加了新参数 enable_encryption_at_host
  • Model AgentPool 添加了新参数 node_public_ip_prefix_id
  • 添加了操作组 MaintenanceConfigurationsOperations

重大变更

  • Model SysctlConfig 已不再具有参数 net_ipv4_tcp_rmem
  • Model SysctlConfig 已不再具有参数 net_ipv4_tcp_wmem

14.0.0 (2020-11-23)

特性

  • Model ManagedCluster 添加了新参数 pod_identity_profile
  • Model ManagedCluster 添加了新参数 auto_upgrade_profile
  • Model ManagedClusterAgentPoolProfile 添加了新参数 linux_os_config
  • Model ManagedClusterAgentPoolProfile 添加了新参数 kubelet_config
  • Model ManagedClusterAgentPoolProfile 添加了新参数 pod_subnet_id
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 linux_os_config
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 kubelet_config
  • Model ManagedClusterAgentPoolProfileProperties 添加了新参数 pod_subnet_id
  • Model ManagedClusterAPIServerAccessProfile 添加了新参数 private_dns_zone
  • Model AgentPool 添加了新参数 linux_os_config
  • Model AgentPool 添加了新参数 kubelet_config
  • Model AgentPool 添加了新参数 pod_subnet_id

14.0.0b1 (2020-10-23)

这是beta预览版本。有关详细变更日志,请参阅等效稳定版本9.4.0(https://pypi.ac.cn/project/azure-mgmt-containerservice/9.4.0/

本版本使用下一代代码生成器,引入了重要的破坏性更改,但也引入了重要的新功能(如统一身份验证和异步编程)。

通用破坏性更改

  • 凭据系统已被完全改造

    • azure.common.credentialsmsrestazure.azure_active_directory 实例不再受支持,请使用 azure-identity 类:[https://pypi.ac.cn/project/azure-identity/](https://pypi.ac.cn/project/azure-identity/)
    • credentials 参数已被重命名为 credential
  • 客户端上的 config 属性不再存在,配置应作为关键字参数传递。例如:MyClient(credential, subscription_id, enable_logging=True)。有关支持的完整选项集,请参阅azure-core 初始化文档中的参数接受

  • 不能再导入 version 模块,请使用 __version__ 代替

  • 以前返回 msrest.polling.LROPoller 的操作现在返回 azure.core.polling.LROPoller 并以 begin_ 前缀。

  • 异常树已简化,大多数异常现在为 azure.core.exceptions.HttpResponseError(已删除 CloudError)。

  • 大多数操作关键字参数已更改。其中一些最明显的是

    • raw 已被删除。等效功能可以通过使用 cls 找到,这是一个回调,将为高级用户提供对内部HTTP响应的访问
    • 有关支持的完整选项集,请参阅azure-core 请求文档中的参数接受

通用新功能

  • 支持使用 typing 进行类型注解。SDKs 已准备好使用 mypy。
  • 此客户端现在提供稳定的官方异步支持。请检查您包的 aio 命名空间以找到异步客户端。
  • 此客户端现在原生支持像 OpenCensus 或 OpenTelemetry 这样的跟踪库。请参阅此跟踪快速入门以了解概述。

9.4.0 (2020-09-11)

特性

  • Model ManagedClusterAgentPoolProfile 添加了新参数 power_state
  • Model ManagedClusterAgentPoolProfile 添加了新参数 os_disk_type
  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 max_empty_bulk_delete
  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 skip_nodes_with_local_storage
  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 max_total_unready_percentage
  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 ok_total_unready_count
  • Model ManagedClusterPropertiesAutoScalerProfile 添加了新参数 expander
  • 模型ManagedClusterPropertiesAutoScalerProfile新增参数skip_nodes_with_system_pods
  • 模型ManagedClusterPropertiesAutoScalerProfile新增参数new_pod_scale_up_delay
  • 模型AgentPool新增参数power_state
  • 模型AgentPool新增参数os_disk_type
  • 模型ManagedClusterAgentPoolProfileProperties新增参数power_state
  • 模型ManagedClusterAgentPoolProfileProperties新增参数os_disk_type
  • 模型ManagedCluster新增参数power_state
  • 添加操作ManagedClustersOperations.start
  • 添加操作ManagedClustersOperations.stop
  • 添加操作组ResolvePrivateLinkServiceIdOperations
  • 添加操作组PrivateLinkResourcesOperations

9.3.0 (2020-08-24)

特性

  • 模型ManagedClusterWindowsProfile新增参数license_type
  • 添加操作ManagedClustersOperations.upgrade_node_image_version

9.2.0 (2020-06-24)

特性

  • 模型ManagedClusterIdentity新增参数user_assigned_identities
  • 模型ManagedClusterAADProfile新增参数enable_azure_rbac
  • 模型ManagedClusterAgentPoolProfile新增参数proximity_placement_group_id
  • 模型ManagedClusterAgentPoolProfileProperties新增参数proximity_placement_group_id
  • 模型AgentPool新增参数proximity_placement_group_id
  • 添加操作组PrivateEndpointConnectionsOperations

9.1.0 (2020-06-03)

特性

  • 模型AgentPool新增参数node_image_version
  • 模型AgentPool新增参数upgrade_settings
  • 模型AgentPoolUpgradeProfile新增参数latest_node_image_version
  • 模型ManagedClusterAgentPoolProfile新增参数node_image_version
  • 模型ManagedClusterAgentPoolProfile新增参数upgrade_settings
  • 模型ManagedClusterAgentPoolProfileProperties新增参数node_image_version
  • 模型ManagedClusterAgentPoolProfileProperties新增参数upgrade_settings

9.0.1 (2020-04-09)

错误修复

  • 将字段类型更改为字符串以避免反序列化错误

9.0.0 (2020-03-24)

特性

  • 模型ManagedClusterAgentPoolProfile新增参数mode
  • 模型ManagedCluster新增参数sku
  • 模型OpenShiftManagedCluster新增参数refresh_cluster
  • 模型ManagedClusterAADProfile新增参数admin_group_object_ids
  • 模型ManagedClusterAADProfile新增参数managed
  • 模型ManagedClusterAgentPoolProfileProperties新增参数mode
  • 模型OpenShiftManagedClusterMasterPoolProfile新增参数api_properties
  • 模型ManagedClusterPropertiesAutoScalerProfile新增参数balance_similar_node_groups
  • 模型NetworkProfile新增参数management_subnet_cidr
  • 模型AgentPool新增参数mode

重大变更

  • 模型OpenShiftManagedClusterMasterPoolProfile不再有参数name
  • 模型OpenShiftManagedClusterMasterPoolProfile不再有参数os_type
  • 模型NetworkProfile不再有参数peer_vnet_id

8.3.0 (2020-02-14)

特性

  • 模型ManagedCluster新增参数auto_scaler_profile
  • 模型ManagedClusterAgentPoolProfile新增参数spot_max_price
  • 模型AgentPool新增参数spot_max_price
  • 模型ManagedClusterAgentPoolProfileProperties新增参数spot_max_price
  • 模型ContainerServiceNetworkProfile新增参数network_mode
  • 添加操作ManagedClustersOperations.list_cluster_monitoring_user_credentials

8.2.0 (2020-01-07)

特性

  • 模型ManagedCluster新增参数disk_encryption_set_id

8.1.0 (2019-12-16)

特性

  • 模型ContainerServiceNetworkProfile新增参数outbound_type
  • 模型ManagedClusterAgentPoolProfile新增参数node_labels
  • 模型ManagedClusterAgentPoolProfile新增参数tags
  • 模型ManagedCluster新增参数identity_profile
  • 模型ManagedClusterLoadBalancerProfile新增参数idle_timeout_in_minutes
  • 模型ManagedClusterLoadBalancerProfile新增参数allocated_outbound_ports
  • 模型AgentPool新增参数node_labels
  • 模型AgentPool新增参数tags
  • 模型ManagedClusterAddonProfile新增参数identity
  • 模型ManagedClusterAgentPoolProfileProperties新增参数node_labels
  • 模型ManagedClusterAgentPoolProfileProperties新增参数tags

8.0.0 (2019-10-24)

特性

  • 模型OpenShiftManagedCluster新增参数monitor_profile
  • 模型ManagedCluster新增参数private_fqdn
  • 添加操作ManagedClustersOperations.rotate_cluster_certificates

重大变更

  • 操作AgentPoolsOperations.get_available_agent_pool_versions具有新的签名

7.0.0 (2019-08-30)

特性

  • 模型ContainerServiceNetworkProfile新增参数load_balancer_profile
  • 模型ManagedCluster新增参数api_server_access_profile

重大变更

  • 模型ManagedCluster不再有参数api_server_authorized_ip_ranges

6.0.0 (2019-06-20)

特性

  • 模型ManagedClusterAgentPoolProfile新增参数enable_node_public_ip
  • 模型 ManagedClusterAgentPoolProfile 新增参数 scale_set_eviction_policy
  • 模型 ManagedClusterAgentPoolProfile 新增参数 node_taints
  • 模型 ManagedClusterAgentPoolProfile 新增参数 scale_set_priority
  • 模型 AgentPool 新增参数 enable_node_public_ip
  • 模型 AgentPool 新增参数 scale_set_eviction_policy
  • 模型 AgentPool 新增参数 node_taints
  • 模型 AgentPool 新增参数 scale_set_priority
  • 模型 ManagedClusterAgentPoolProfileProperties 新增参数 enable_node_public_ip
  • 模型 ManagedClusterAgentPoolProfileProperties 新增参数 scale_set_eviction_policy
  • 模型 ManagedClusterAgentPoolProfileProperties 新增参数 node_taints
  • 模型 ManagedClusterAgentPoolProfileProperties 新增参数 scale_set_priority
  • 新增操作 AgentPoolsOperations.get_available_agent_pool_versions
  • 新增操作 AgentPoolsOperations.get_upgrade_profile

一般性重大变更

本版本使用下一代代码生成器,如果从 v20xx_yy_zz API 文件夹导入,可能会引入重大变更。简而言之,一些模块的可见性/导入方式不正确,并已重命名。这解决了由于使用本不该使用的类而引起的一些问题。

  • 无法从 azure.mgmt.containerservice.v20xx_yy_zz.container_service_management_client 导入 ContainerServiceManagementClient(从 azure.mgmt.containerservice.v20xx_yy_zz 导入的方式与之前相同)
  • ContainerServiceManagementClientConfiguration 的导入已从 azure.mgmt.containerservice.v20xx_yy_zz.container_service_management_client 移至 azure.mgmt.containerservice.v20xx_yy_zz
  • “models” 子模块中的模型 MyClass 无法使用 azure.mgmt.containerservice.v20xx_yy_zz.models.my_class 导入(从 azure.mgmt.containerservice.v20xx_yy_zz.models 导入的方式与之前相同)
  • “operations” 子模块中的操作类 MyClassOperations 无法使用 azure.mgmt.containerservice.v20xx_yy_zz.operations.my_class_operations 导入(从 azure.mgmt.containerservice.v20xx_yy_zz.operations 导入的方式与之前相同)

最后但同样重要的是,HTTP 连接池现在默认启用。您应始终将客户端用作上下文管理器,或调用 close(),或每个进程最多使用一个客户端。

5.3.0 (2019-05-03)

特性

  • 模型 OrchestratorProfile 添加了新参数 is_preview。
  • 模型 OrchestratorVersionProfile 新增参数 is_preview
  • 模型 ContainerServiceNetworkProfile 新增参数 load_balancer_sku
  • 模型 ManagedCluster 新增参数 identity
  • 模型 ManagedCluster 新增参数 max_agent_pools
  • 模型 ManagedCluster 新增参数 windows_profile

5.2.0 (2019-04-30)

特性

  • OpenShift 现在正在使用 GA api 版本
  • 模型 OpenShiftManagedCluster 新增参数 cluster_version
  • 模型 NetworkProfile 新增参数 vnet_id

5.1.0 (2019-04-08)

特性

  • 模型 OpenShiftManagedClusterAADIdentityProvider 新增参数 customer_admin_group_id

5.0.0 (2019-03-19)

特性

  • 模型 ManagedClusterAgentPoolProfile 新增参数 min_count
  • 模型 ManagedClusterAgentPoolProfile 新增参数 availability_zones
  • 模型 ManagedClusterAgentPoolProfile 新增参数 type
  • 模型 ManagedClusterAgentPoolProfile 新增参数 enable_auto_scaling
  • 模型 ManagedClusterAgentPoolProfile 新增参数 max_count
  • 模型 ManagedClusterAgentPoolProfile 新增参数 provisioning_state
  • 模型 ManagedClusterAgentPoolProfile 新增参数 orchestrator_version
  • 模型 ManagedCluster 新增参数 api_server_authorized_ip_ranges
  • 模型 ManagedCluster 新增参数 enable_pod_security_policy
  • 新增操作组 AgentPoolsOperations

重大变更

  • 模型 ManagedClusterAgentPoolProfile 的参数数量现在是必需的
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 storage_profile

4.4.0 (2019-01-09)

特性

  • 新增操作 ManagedClustersOperations.reset_service_principal_profile
  • 新增操作 ManagedClustersOperations.reset_aad_profile

4.3.0 (2018-12-13)

特性

  • 支持 Azure 配置文件
  • OpenShift ManagedCluster(预览版)

本包还添加了 ManagedCluster(AKS 2018-08-01-preview)的预览版,如果您选择此新 API 版本,包括以下重大变更和功能:

特性

  • 模型 ManagedClusterAgentPoolProfile 新增参数 type
  • 模型 ManagedClusterAgentPoolProfile 新增参数 max_count
  • 模型 ManagedClusterAgentPoolProfile 新增参数 enable_auto_scaling
  • 模型 ManagedClusterAgentPoolProfile 新增参数 min_count

重大变更

  • 模型 ManagedClusterAgentPoolProfile 的参数数量现在是必需的
  • 模型 ManagedClusterAgentPoolProfile 不再具有参数 storage_profile

注意

  • 在 Python 3(基于 PEP420 的命名空间包)上不再安装 azure-mgmt-nspkg

4.2.2 (2018-08-09)

错误修复

  • 修复 CredentialResult 的无效定义

4.2.1 (2018-08-08)

错误修复

  • 修复一些无效的正则表达式
  • 修复 CredentialResult 的无效定义

4.2.0 (2018-07-30)

特性

  • 添加 managed_clusters.list_cluster_admin_credentials
  • 添加 managed_clusters.list_cluster_user_credentials
  • 添加 managed_clusters.update_tags

错误修复

  • 修复 ManagedCluster 类不正确的 JSON 描述

4.1.0 (2018-06-13)

特性

  • 向某些模型添加 node_resource_group 属性

4.0.0 (2018-05-25)

特性

  • 添加操作 ManagedClustersOperations.get_access_profile
  • 更新 VM 大小
  • 客户端类可以用作上下文管理器,以保持底层 HTTP 会话打开以提高性能

一般性重大变更

本版本使用下一代代码生成器,可能会引入破坏性更改。

  • 模型签名现在仅使用关键字参数语法。所有位置参数都必须重写为关键字参数。为了在大多数情况下保持自动完成,现在为 Python 2 和 Python 3 生成模型。Python 3 使用 "*" 语法用于关键字唯一参数。
  • 枚举类型现在使用 "str" 混合(类 AzureEnum(str, Enum))以提高遇到未识别枚举值时的行为。虽然这不是破坏性更改,但区别很重要,此处有文档说明:[Python 枚举的其他](https://docs.pythonlang.cn/3/library/enum.html#others) 概览
    • 不应使用 "is"。
    • "format" 将返回字符串值,其中 "%s" 字符串格式化将返回 NameOfEnum.stringvalue。应首选格式化语法。
  • 新的长运行操作
    • 返回类型从 msrestazure.azure_operation.AzureOperationPoller 更改为 msrest.polling.LROPoller。外部 API 相同。
    • 返回类型现在是 始终 一个 msrest.polling.LROPoller,无论使用哪些可选参数。
    • 当使用 raw=True 时,行为已更改。现在不再返回作为 ClientRawResponse 的初始调用结果,不进行轮询,而是返回一个 LROPoller。轮询后,最终资源将作为 ClientRawResponse 返回。
    • 新的 polling 参数。默认行为是 Polling=True,将使用 ARM 算法进行轮询。当 Polling=False 时,将返回初始调用的响应,不进行轮询。
    • polling 参数接受 msrest.polling.PollingMethod 子类的实例。
    • 如果调用后轮询已完成,add_done_callback 将不再引发错误,而是立即执行回调。

错误修复

  • 与 wheel 0.31.0 的 sdist 兼容性

3.0.1 (2018-01-25)

错误修复

  • 修复 OrchestratorVersionProfileListResult 中的不正确映射

3.0.0 (2017-12-13)

  • 简化 ManagedCluster,使其没有单独的属性对象
  • 向托管集群添加 get_access_profiles 操作

2.0.0 (2017-10-XX)

特性

  • 托管集群

重大变更

  • 现在主配置文件需要 VM(推荐默认值:standard_d2_v2)

1.0.0 (2017-08-08)

  • 首次发布,从 azure-mgmt-compute 2.1.0 中提取

项目详情


发布历史 发布通知 | RSS 源

下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

azure_mgmt_containerservice-32.0.0.tar.gz (7.1 MB 查看散列)

上传时间 源代码

构建分发

azure_mgmt_containerservice-32.0.0-py3-none-any.whl (10.3 MB 查看散列)

上传时间 Python 3

由以下支持