Skip to main content

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

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:

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

9.0.0b1 (2023-11-20)

Features Added

  • Added operation MachinesOperations.begin_assess_patches
  • Added operation MachinesOperations.begin_install_patches
  • Added operation group AgentVersionOperations
  • Added operation group ExtensionMetadataOperations
  • Added operation group HybridIdentityMetadataOperations
  • Added operation group LicenseProfilesOperations
  • Added operation group LicensesOperations
  • Added operation group NetworkProfileOperations
  • Model AgentConfiguration has a new parameter config_mode
  • Model Machine has a new parameter ad_fqdn
  • Model Machine has a new parameter agent_configuration
  • Model Machine has a new parameter agent_upgrade
  • 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 extensions
  • Model Machine has a new parameter kind
  • Model Machine has a new parameter last_status_change
  • Model Machine has a new parameter license_profile
  • 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 network_profile
  • 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 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 agent_upgrade
  • Model MachineUpdate has a new parameter cloud_metadata
  • Model MachineUpdate has a new parameter kind
  • 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 ProxyResource has a new parameter system_data
  • Model Resource has a new parameter system_data
  • Model TrackedResource has a new parameter system_data
  • Operation MachinesOperations.list_by_resource_group has a new optional parameter expand

Breaking Changes

  • Model Machine no longer has parameter properties
  • Model MachineExtensionUpdate no longer has parameter properties
  • Model MachineUpdate no longer has parameter properties

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:

  • 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 a azure.core.polling.LROPoller and are prefixed with begin_.

  • 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:

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


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-hybridcompute-9.0.0b1.tar.gz (103.3 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_hybridcompute-9.0.0b1-py3-none-any.whl (152.8 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-hybridcompute-9.0.0b1.tar.gz.

File metadata

File hashes

Hashes for azure-mgmt-hybridcompute-9.0.0b1.tar.gz
Algorithm Hash digest
SHA256 c0e23bd4d83428cf8aae4ac54059ef9cdd457374af4a6072da8370e4cb5dcda7
MD5 edd4157623b20bc343de178f4c412240
BLAKE2b-256 6675178d713f31b67fb3fbe23e06f9e64477bdde41a72e2088b517725a891412

See more details on using hashes here.

File details

Details for the file azure_mgmt_hybridcompute-9.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_hybridcompute-9.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 b93e99ef5e08011825c3f8fcde9ea0e1fae42ff1070028adfb0116b8d68a8442
MD5 869bf881bcc7c7d672d7e3fbe18e5dfc
BLAKE2b-256 7b6266a7a818430f86d9d9fc2e74f2bbd8ba7d9c1bb331a7ada0241dd77ad184

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