Skip to main content

Microsoft Azure Hybridconnectivity Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Hybridconnectivity 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-hybridconnectivity
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the 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.hybridconnectivity import HybridConnectivityMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = HybridConnectivityMgmtClient(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

2.0.0b1 (2025-04-01)

Features Added

  • Client HybridConnectivityMgmtClient added operation group generate_aws_template
  • Client HybridConnectivityMgmtClient added operation group public_cloud_connectors
  • Client HybridConnectivityMgmtClient added operation group solution_configurations
  • Client HybridConnectivityMgmtClient added operation group inventory
  • Client HybridConnectivityMgmtClient added operation group solution_types
  • Model ServiceConfigurationResource added property properties
  • Added model AADProfileProperties
  • Added model AwsCloudProfile
  • Added model AwsCloudProfileUpdate
  • Added enum CloudNativeType
  • Added model ExtensionResource
  • Added model GenerateAwsTemplateRequest
  • Added enum HostType
  • Added model IngressProfileProperties
  • Added model InventoryProperties
  • Added model InventoryResource
  • Added model OperationStatusResult
  • Added model PublicCloudConnector
  • Added model PublicCloudConnectorProperties
  • Added model PublicCloudConnectorPropertiesUpdate
  • Added model PublicCloudConnectorUpdate
  • Added model RelayNamespaceAccessProperties
  • Added enum ResourceProvisioningState
  • Added model ServiceConfigurationProperties
  • Added model ServiceConfigurationPropertiesPatch
  • Added model SolutionConfiguration
  • Added model SolutionConfigurationProperties
  • Added model SolutionConfigurationPropertiesUpdate
  • Added enum SolutionConfigurationStatus
  • Added model SolutionConfigurationUpdate
  • Added model SolutionSettings
  • Added model SolutionTypeProperties
  • Added model SolutionTypeResource
  • Added model SolutionTypeSettings
  • Added model SolutionTypeSettingsProperties
  • Added model TrackedResource
  • Added model TrackedResourceUpdate
  • Added operation group GenerateAwsTemplateOperations
  • Added operation group InventoryOperations
  • Added operation group PublicCloudConnectorsOperations
  • Added operation group SolutionConfigurationsOperations
  • Added operation group SolutionTypesOperations

Breaking Changes

  • Model EndpointAccessResource deleted or renamed its instance variable namespace_name
  • Model EndpointAccessResource deleted or renamed its instance variable namespace_name_suffix
  • Model EndpointAccessResource deleted or renamed its instance variable hybrid_connection_name
  • Model EndpointAccessResource deleted or renamed its instance variable access_key
  • Model EndpointAccessResource deleted or renamed its instance variable expires_on
  • Model EndpointAccessResource deleted or renamed its instance variable service_configuration_token
  • Model IngressGatewayResource deleted or renamed its instance variable hostname
  • Model IngressGatewayResource deleted or renamed its instance variable server_id
  • Model IngressGatewayResource deleted or renamed its instance variable tenant_id
  • Model IngressGatewayResource deleted or renamed its instance variable namespace_name
  • Model IngressGatewayResource deleted or renamed its instance variable namespace_name_suffix
  • Model IngressGatewayResource deleted or renamed its instance variable hybrid_connection_name
  • Model IngressGatewayResource deleted or renamed its instance variable access_key
  • Model IngressGatewayResource deleted or renamed its instance variable expires_on
  • Model IngressGatewayResource deleted or renamed its instance variable service_configuration_token
  • Model ServiceConfigurationResource deleted or renamed its instance variable service_name
  • Model ServiceConfigurationResource deleted or renamed its instance variable resource_id
  • Model ServiceConfigurationResource deleted or renamed its instance variable port
  • Model ServiceConfigurationResource deleted or renamed its instance variable provisioning_state
  • Model ServiceConfigurationResourcePatch deleted or renamed its instance variable port
  • Deleted or renamed model EndpointsList
  • Deleted or renamed model ServiceConfigurationList
  • Parameter expiresin of method EndpointsOperations.list_credentials is now required
  • Parameter expiresinof method EndpointsOperations.list_ingress_gateway_credentials is now required

1.0.0 (2023-09-20)

Other Changes

  • First GA

1.0.0b1 (2023-09-20)

  • Initial Release

Supported by

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