Skip to main content

Microsoft Azure Hybridcontainerservice Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Hybridcontainerservice Management Client Library. This package has been tested with Python 3.8+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-hybridcontainerservice
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.hybridcontainerservice import HybridContainerServiceMgmtClient
import os

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

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.0.0 (2024-01-25)

Features Added

  • Model AgentPool has a new parameter properties
  • Model AgentPoolProfile has a new parameter enable_auto_scaling
  • Model AgentPoolProfile has a new parameter max_count
  • Model AgentPoolProfile has a new parameter max_pods
  • Model AgentPoolProfile has a new parameter min_count
  • Model AgentPoolProfile has a new parameter node_labels
  • Model AgentPoolProfile has a new parameter node_taints
  • Model AgentPoolProperties has a new parameter enable_auto_scaling
  • Model AgentPoolProperties has a new parameter kubernetes_version
  • Model AgentPoolProperties has a new parameter max_count
  • Model AgentPoolProperties has a new parameter max_pods
  • Model AgentPoolProperties has a new parameter min_count
  • Model AgentPoolProperties has a new parameter node_labels
  • Model AgentPoolProperties has a new parameter node_taints
  • Model AgentPoolProvisioningStatusStatus has a new parameter current_state
  • Model AgentPoolUpdateProfile has a new parameter kubernetes_version
  • Model NamedAgentPoolProfile has a new parameter enable_auto_scaling
  • Model NamedAgentPoolProfile has a new parameter kubernetes_version
  • Model NamedAgentPoolProfile has a new parameter max_count
  • Model NamedAgentPoolProfile has a new parameter max_pods
  • Model NamedAgentPoolProfile has a new parameter min_count
  • Model NamedAgentPoolProfile has a new parameter node_labels
  • Model NamedAgentPoolProfile has a new parameter node_taints
  • Model ProvisionedClusterProperties has a new parameter auto_scaler_profile
  • Model ProvisionedClusterProperties has a new parameter cluster_vm_access_profile
  • Model ProvisionedClusterProperties has a new parameter storage_profile
  • Model ProvisionedClusterPropertiesStatus has a new parameter current_state

Breaking Changes

  • Model AgentPool no longer has parameter availability_zones
  • Model AgentPool no longer has parameter count
  • Model AgentPool no longer has parameter location
  • Model AgentPool no longer has parameter node_image_version
  • Model AgentPool no longer has parameter os_sku
  • Model AgentPool no longer has parameter os_type
  • Model AgentPool no longer has parameter provisioning_state
  • Model AgentPool no longer has parameter status
  • Model AgentPool no longer has parameter vm_size
  • Model AgentPoolProfile no longer has parameter availability_zones
  • Model AgentPoolProfile no longer has parameter node_image_version
  • Model AgentPoolProperties no longer has parameter availability_zones
  • Model AgentPoolProperties no longer has parameter node_image_version
  • Model AgentPoolProvisioningStatusStatus no longer has parameter operation_status
  • Model ControlPlaneProfile no longer has parameter availability_zones
  • Model ControlPlaneProfile no longer has parameter linux_profile
  • Model ControlPlaneProfile no longer has parameter name
  • Model ControlPlaneProfile no longer has parameter node_image_version
  • Model ControlPlaneProfile no longer has parameter os_sku
  • Model ControlPlaneProfile no longer has parameter os_type
  • Model HybridIdentityMetadata has a new required parameter properties
  • Model HybridIdentityMetadata no longer has parameter provisioning_state
  • Model HybridIdentityMetadata no longer has parameter public_key
  • Model HybridIdentityMetadata no longer has parameter resource_uid
  • Model KubernetesVersionProperties no longer has parameter capabilities
  • Model NamedAgentPoolProfile no longer has parameter availability_zones
  • Model NamedAgentPoolProfile no longer has parameter node_image_version
  • Model ProvisionedClusterPoolUpgradeProfile no longer has parameter name
  • Model ProvisionedClusterPropertiesStatus no longer has parameter operation_status
  • Model ProvisionedClusterUpgradeProfile has a new required parameter properties
  • Model ProvisionedClusterUpgradeProfile no longer has parameter agent_pool_profiles
  • Model ProvisionedClusterUpgradeProfile no longer has parameter control_plane_profile
  • Model ProvisionedClusterUpgradeProfile no longer has parameter provisioning_state
  • Model VirtualNetworkProperties no longer has parameter dhcp_servers
  • Model VirtualNetworkPropertiesInfraVnetProfile no longer has parameter vmware
  • Model VirtualNetworkPropertiesStatusOperationStatus no longer has parameter phase
  • Removed operation AgentPoolOperations.begin_update

1.0.0b2 (2023-11-20)

Features Added

  • Added operation group HybridContainerServiceMgmtClientOperationsMixin
  • Added operation group KubernetesVersionsOperations
  • Added operation group ProvisionedClusterInstancesOperations
  • Added operation group VMSkusOperations
  • Model AgentPool has a new parameter os_sku
  • Model AgentPoolProfile has a new parameter os_sku
  • Model AgentPoolProperties has a new parameter os_sku
  • Model AgentPoolProvisioningStatusStatus has a new parameter operation_status
  • Model ControlPlaneProfile has a new parameter os_sku
  • Model NamedAgentPoolProfile has a new parameter os_sku
  • Model ProvisionedClusterUpgradeProfile has a new parameter system_data
  • Model ProxyResource has a new parameter system_data
  • Model Resource has a new parameter system_data
  • Model TrackedResource has a new parameter system_data

Breaking Changes

  • Model AgentPool no longer has parameter cloud_provider_profile
  • Model AgentPool no longer has parameter max_count
  • Model AgentPool no longer has parameter max_pods
  • Model AgentPool no longer has parameter min_count
  • Model AgentPool no longer has parameter mode
  • Model AgentPool no longer has parameter node_labels
  • Model AgentPool no longer has parameter node_taints
  • Model AgentPoolProfile no longer has parameter cloud_provider_profile
  • Model AgentPoolProfile no longer has parameter count
  • Model AgentPoolProfile no longer has parameter max_count
  • Model AgentPoolProfile no longer has parameter max_pods
  • Model AgentPoolProfile no longer has parameter min_count
  • Model AgentPoolProfile no longer has parameter mode
  • Model AgentPoolProfile no longer has parameter node_labels
  • Model AgentPoolProfile no longer has parameter node_taints
  • Model AgentPoolProfile no longer has parameter vm_size
  • Model AgentPoolProperties no longer has parameter cloud_provider_profile
  • Model AgentPoolProperties no longer has parameter max_count
  • Model AgentPoolProperties no longer has parameter max_pods
  • Model AgentPoolProperties no longer has parameter min_count
  • Model AgentPoolProperties no longer has parameter mode
  • Model AgentPoolProperties no longer has parameter node_labels
  • Model AgentPoolProperties no longer has parameter node_taints
  • Model AgentPoolProvisioningStatusStatus no longer has parameter provisioning_status
  • Model AgentPoolProvisioningStatusStatus no longer has parameter replicas
  • Model CloudProviderProfile no longer has parameter infra_storage_profile
  • Model ControlPlaneProfile no longer has parameter cloud_provider_profile
  • Model ControlPlaneProfile no longer has parameter max_count
  • Model ControlPlaneProfile no longer has parameter max_pods
  • Model ControlPlaneProfile no longer has parameter min_count
  • Model ControlPlaneProfile no longer has parameter mode
  • Model ControlPlaneProfile no longer has parameter node_labels
  • Model ControlPlaneProfile no longer has parameter node_taints
  • Model HybridIdentityMetadata no longer has parameter identity
  • Model LinuxProfileProperties no longer has parameter admin_username
  • Model NamedAgentPoolProfile no longer has parameter cloud_provider_profile
  • Model NamedAgentPoolProfile no longer has parameter max_count
  • Model NamedAgentPoolProfile no longer has parameter max_pods
  • Model NamedAgentPoolProfile no longer has parameter min_count
  • Model NamedAgentPoolProfile no longer has parameter mode
  • Model NamedAgentPoolProfile no longer has parameter node_labels
  • Model NamedAgentPoolProfile no longer has parameter node_taints
  • Model NetworkProfile no longer has parameter dns_service_ip
  • Model NetworkProfile no longer has parameter load_balancer_sku
  • Model NetworkProfile no longer has parameter pod_cidrs
  • Model NetworkProfile no longer has parameter service_cidr
  • Model NetworkProfile no longer has parameter service_cidrs
  • Model ProvisionedClusters no longer has parameter identity
  • Model ProvisionedClusters no longer has parameter location
  • Model ProvisionedClusters no longer has parameter tags
  • Operation AgentPoolOperations.begin_create_or_update has a new required parameter connected_cluster_resource_uri
  • Operation AgentPoolOperations.begin_create_or_update no longer has parameter resource_group_name
  • Operation AgentPoolOperations.begin_create_or_update no longer has parameter resource_name
  • Operation AgentPoolOperations.get has a new required parameter connected_cluster_resource_uri
  • Operation AgentPoolOperations.get no longer has parameter resource_group_name
  • Operation AgentPoolOperations.get no longer has parameter resource_name
  • Operation AgentPoolOperations.list_by_provisioned_cluster has a new required parameter connected_cluster_resource_uri
  • Operation AgentPoolOperations.list_by_provisioned_cluster no longer has parameter resource_group_name
  • Operation AgentPoolOperations.list_by_provisioned_cluster no longer has parameter resource_name
  • Operation HybridIdentityMetadataOperations.get has a new required parameter connected_cluster_resource_uri
  • Operation HybridIdentityMetadataOperations.get no longer has parameter hybrid_identity_metadata_resource_name
  • Operation HybridIdentityMetadataOperations.get no longer has parameter resource_group_name
  • Operation HybridIdentityMetadataOperations.get no longer has parameter resource_name
  • Operation HybridIdentityMetadataOperations.list_by_cluster has a new required parameter connected_cluster_resource_uri
  • Operation HybridIdentityMetadataOperations.list_by_cluster no longer has parameter resource_group_name
  • Operation HybridIdentityMetadataOperations.list_by_cluster no longer has parameter resource_name
  • Operation HybridIdentityMetadataOperations.put has a new required parameter connected_cluster_resource_uri
  • Operation HybridIdentityMetadataOperations.put no longer has parameter hybrid_identity_metadata_resource_name
  • Operation HybridIdentityMetadataOperations.put no longer has parameter resource_group_name
  • Operation HybridIdentityMetadataOperations.put no longer has parameter resource_name
  • Operation VirtualNetworksOperations.begin_create_or_update has a new required parameter virtual_network_name
  • Operation VirtualNetworksOperations.begin_create_or_update no longer has parameter virtual_networks_name
  • Operation VirtualNetworksOperations.begin_update has a new required parameter virtual_network_name
  • Operation VirtualNetworksOperations.begin_update no longer has parameter virtual_networks_name
  • Operation VirtualNetworksOperations.retrieve has a new required parameter virtual_network_name
  • Operation VirtualNetworksOperations.retrieve no longer has parameter virtual_networks_name
  • Removed operation group HybridContainerServiceOperations
  • Removed operation group ProvisionedClustersOperations
  • Removed operation group StorageSpacesOperations
  • Renamed operation AgentPoolOperations.delete to AgentPoolOperations.begin_delete
  • Renamed operation AgentPoolOperations.update to AgentPoolOperations.begin_update
  • Renamed operation HybridIdentityMetadataOperations.delete to HybridIdentityMetadataOperations.begin_delete
  • Renamed operation VirtualNetworksOperations.delete to VirtualNetworksOperations.begin_delete

1.0.0b1 (2023-03-20)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-hybridcontainerservice-1.0.0.tar.gz (80.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page