Microsoft Azure Hybrid Compute Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Hybrid Compute 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
- Python 3.7+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-hybridcompute
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.hybridcompute import HybridComputeManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = HybridComputeManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at Hybrid Compute Management on docs.microsoft.com and 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
8.0.0 (2023-02-15)
Features Added
- Added operation group HybridComputeManagementClientOperationsMixin
- Model HybridComputePrivateLinkScopeProperties has a new parameter private_endpoint_connections
- Model MachineExtensionProperties has a new parameter enable_automatic_upgrade
- Model MachineProperties has a new parameter agent_configuration
- Model MachineProperties has a new parameter cloud_metadata
- Model MachineProperties has a new parameter mssql_discovered
- Model MachineProperties has a new parameter os_type
- Model MachineProperties has a new parameter service_statuses
- Model MachineUpdateProperties has a new parameter cloud_metadata
- Model MachineUpdateProperties has a new parameter os_profile
- Model OSProfile has a new parameter linux_configuration
- Model OSProfile has a new parameter windows_configuration
- Model OperationValue has a new parameter is_data_action
- Model PrivateEndpointConnectionProperties has a new parameter group_ids
8.0.0b1 (2022-11-18)
Features Added
- Added operation group ExtensionMetadataOperations
- Added operation group HybridComputeManagementClientOperationsMixin
- Model HybridComputePrivateLinkScopeProperties has a new parameter private_endpoint_connections
- Model Machine has a new parameter ad_fqdn
- Model Machine has a new parameter agent_configuration
- Model Machine has a new parameter agent_version
- Model Machine has a new parameter client_public_key
- Model Machine has a new parameter cloud_metadata
- Model Machine has a new parameter detected_properties
- Model Machine has a new parameter display_name
- Model Machine has a new parameter dns_fqdn
- Model Machine has a new parameter domain_name
- Model Machine has a new parameter error_details
- Model Machine has a new parameter last_status_change
- Model Machine has a new parameter location_data
- Model Machine has a new parameter machine_fqdn
- Model Machine has a new parameter mssql_discovered
- Model Machine has a new parameter os_name
- Model Machine has a new parameter os_profile
- Model Machine has a new parameter os_sku
- Model Machine has a new parameter os_type
- Model Machine has a new parameter os_version
- Model Machine has a new parameter parent_cluster_resource_id
- Model Machine has a new parameter private_link_scope_resource_id
- Model Machine has a new parameter provisioning_state
- Model Machine has a new parameter resources
- Model Machine has a new parameter service_statuses
- Model Machine has a new parameter status
- Model Machine has a new parameter vm_id
- Model Machine has a new parameter vm_uuid
- Model MachineExtension has a new parameter auto_upgrade_minor_version
- Model MachineExtension has a new parameter enable_automatic_upgrade
- Model MachineExtension has a new parameter force_update_tag
- Model MachineExtension has a new parameter instance_view
- Model MachineExtension has a new parameter protected_settings
- Model MachineExtension has a new parameter provisioning_state
- Model MachineExtension has a new parameter publisher
- Model MachineExtension has a new parameter settings
- Model MachineExtension has a new parameter type_handler_version
- Model MachineExtension has a new parameter type_properties_type
- Model MachineExtensionUpdate has a new parameter auto_upgrade_minor_version
- Model MachineExtensionUpdate has a new parameter enable_automatic_upgrade
- Model MachineExtensionUpdate has a new parameter force_update_tag
- Model MachineExtensionUpdate has a new parameter protected_settings
- Model MachineExtensionUpdate has a new parameter publisher
- Model MachineExtensionUpdate has a new parameter settings
- Model MachineExtensionUpdate has a new parameter type
- Model MachineExtensionUpdate has a new parameter type_handler_version
- Model MachineUpdate has a new parameter cloud_metadata
- Model MachineUpdate has a new parameter location_data
- Model MachineUpdate has a new parameter os_profile
- Model MachineUpdate has a new parameter parent_cluster_resource_id
- Model MachineUpdate has a new parameter private_link_scope_resource_id
- Model OSProfile has a new parameter linux_configuration
- Model OSProfile has a new parameter windows_configuration
- Model OperationValue has a new parameter is_data_action
- Model PrivateEndpointConnectionProperties has a new parameter group_ids
- 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 Machine no longer has parameter properties
- Model MachineExtension no longer has parameter properties
- Model MachineExtensionUpdate no longer has parameter properties
- Model MachineUpdate no longer has parameter properties
7.0.0 (2021-04-15)
Features
- Model MachineUpdateProperties has a new parameter private_link_scope_resource_id
- Model MachineUpdateProperties has a new parameter parent_cluster_resource_id
- Model MachineProperties has a new parameter private_link_scope_resource_id
- Model MachineProperties has a new parameter parent_cluster_resource_id
- Model MachineProperties has a new parameter detected_properties
- Added operation group PrivateLinkResourcesOperations
- Added operation group PrivateEndpointConnectionsOperations
- Added operation group PrivateLinkScopesOperations
Breaking changes
- Operation MachinesOperations.delete has a new signature
- Operation MachinesOperations.get has a new signature
- Model ErrorDetail has a new signature
- Model OperationValue has a new signature
- Model Machine has a new signature
- Model MachineExtension has a new signature
- Model MachineExtensionInstanceViewStatus has a new signature
- Model MachineUpdate has a new signature
- Model MachineExtensionUpdate has a new signature
7.0.0b1 (2020-12-07)
This is beta preview version.
This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).
General breaking changes
-
Credential system has been completly revamped:
azure.common.credentials
ormsrestazure.azure_active_directory
instances are no longer supported, use theazure-identity
classes instead: https://pypi-hypernode.com/project/azure-identity/credentials
parameter has been renamedcredential
-
The
config
attribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True)
. For a complete set of supported options, see the parameters accept in init documentation of azure-core -
You can't import a
version
module anymore, use__version__
instead -
Operations that used to return a
msrest.polling.LROPoller
now returns aazure.core.polling.LROPoller
and are prefixed withbegin_
. -
Exceptions tree have been simplified and most exceptions are now
azure.core.exceptions.HttpResponseError
(CloudError
has been removed). -
Most of the operation kwarg have changed. Some of the most noticeable:
raw
has been removed. Equivalent feature can be found usingcls
, a callback that will give access to internal HTTP response for advanced user- For a complete set of supported options, see the parameters accept in Request documentation of azure-core
General new features
- Type annotations support using
typing
. SDKs are mypy ready. - This client has now stable and official support for async. Check the
aio
namespace of your package to find the async client. - This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.
2.0.0 (2020-09-08)
Features
- Model Machine has a new parameter ad_fqdn
- Model Machine has a new parameter os_sku
- Model Machine has a new parameter domain_name
- Model Machine has a new parameter dns_fqdn
- Model Machine has a new parameter vm_uuid
- Model MachineProperties has a new parameter ad_fqdn
- Model MachineProperties has a new parameter os_sku
- Model MachineProperties has a new parameter domain_name
- Model MachineProperties has a new parameter dns_fqdn
- Model MachineProperties has a new parameter vm_uuid
Breaking changes
- Model ErrorResponse has a new signature
- Model MachineExtensionInstanceViewStatus has a new signature
1.0.0 (2020-08-19)
Features
- Model Machine has a new parameter identity
- Model Machine has a new parameter location_data
- Model MachineUpdate has a new parameter location_data
- Added operation group MachineExtensionsOperations
Breaking changes
- Model MachineExtension no longer has parameter tenant_id
- Model MachineExtension no longer has parameter principal_id
- Model MachineExtension no longer has parameter type1
- Model Machine no longer has parameter tenant_id
- Model Machine no longer has parameter physical_location
- Model Machine no longer has parameter principal_id
- Model Machine no longer has parameter type1
- Model MachineUpdate no longer has parameter physical_location
- Model Resource no longer has parameter tenant_id
- Model Resource no longer has parameter principal_id
- Model Resource no longer has parameter location
- Model Resource no longer has parameter type1
- Model Resource no longer has parameter tags
- Model ErrorResponse has a new signature
0.1.1 (2019-10-30)
- Update project description and title
0.1.0 (2019-10-29)
Breaking changes
- Removed MachineExtensionsOperations
0.1.0rc1 (2019-10-23)
- 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-hybridcompute-8.0.0.zip
.
File metadata
- Download URL: azure-mgmt-hybridcompute-8.0.0.zip
- Upload date:
- Size: 114.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc828772a6e3d7e1eb3194772dbafdd4703d238e49de72e2e85b557ba9c796d3 |
|
MD5 | bef09b2da1104aaeef1866bca508f5e8 |
|
BLAKE2b-256 | f2036919f9d6e9092118088d572b91eb1463b65178cd81e431122876b0cf57e3 |
File details
Details for the file azure_mgmt_hybridcompute-8.0.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_hybridcompute-8.0.0-py3-none-any.whl
- Upload date:
- Size: 101.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8c931e5206fbb576bfb99a07f299c776e2441bdd5a05acf1bba52f03042d28f |
|
MD5 | cfb1520b2b3bf3f81473508ee6e804ef |
|
BLAKE2b-256 | 9dab0b9b34b06299ef5e2670f7b49967ab7d6530fdf82df68d817ea7115380c0 |