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.7+. 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.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

Built Distribution

File details

Details for the file azure-mgmt-hybridcontainerservice-1.0.0b2.tar.gz.

File metadata

File hashes

Hashes for azure-mgmt-hybridcontainerservice-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 78a37f539a69a79c444b44c56605bbcd6b425f4dfaf6dd1de30d434990c9916a
MD5 8c8e8959fb54ff9fdd7c0d6170ec2e15
BLAKE2b-256 6b69e2f1edee10640448b0b378f2a9c67c17b66a825cd6cd5e9312db7c2fb3df

See more details on using hashes here.

File details

Details for the file azure_mgmt_hybridcontainerservice-1.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_hybridcontainerservice-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d1b336e971a862695204688b82d40f4c59da5a5c6fdb55d0e5b114a4a27407a
MD5 07d498c784679fbd2febcb68a93bb9e8
BLAKE2b-256 323eca1f7a7d0afb03c15002306baf0bde17ee1652f950f7f45e6dd3c4ee4289

See more details on using hashes here.

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