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
- Python 3.8+ is required to use this package.
- Azure subscription
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:
- Search Hybridcontainerservice Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-hybridcontainerservice-1.0.0.tar.gz
.
File metadata
- Download URL: azure-mgmt-hybridcontainerservice-1.0.0.tar.gz
- Upload date:
- Size: 80.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3b7e35946569125fa294eee75d989d4cc8df0b30a9739277821098548ee415c |
|
MD5 | 6dea8f4aac16b3012a22fa1a79f04299 |
|
BLAKE2b-256 | d118f804234ee80b06fb3370e9d257f9fc7200519e0315e1c789c2de79831605 |
File details
Details for the file azure_mgmt_hybridcontainerservice-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_hybridcontainerservice-1.0.0-py3-none-any.whl
- Upload date:
- Size: 114.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d9db7564a8fc65c0383d6c25591298c2169266925e1b180004ddc60ed76465 |
|
MD5 | 0e9f71bdf03373ceae4c138c1c0776c5 |
|
BLAKE2b-256 | b9fa71b830c4e03c50691eab9d73c48abb30cb815acf4b3ef7c3c592f97fa8a7 |