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.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-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.0b3 (2024-05-30)

Features Added

  • Added operation MachineRunCommandsOperations.begin_update
  • Added operation group GatewaysOperations
  • Added operation group LicensesOperations
  • Added operation group NetworkSecurityPerimeterConfigurationsOperations
  • Added operation group SettingsOperations
  • Model LicenseDetails has a new parameter volume_license_details

9.0.0b2 (2024-04-22)

Features Added

  • Added operation group MachineRunCommandsOperations
  • Model LicenseProfile has a new parameter billing_start_date
  • Model LicenseProfile has a new parameter disenrollment_date
  • Model LicenseProfile has a new parameter enrollment_date
  • Model LicenseProfile has a new parameter product_features
  • Model LicenseProfile has a new parameter product_type
  • Model LicenseProfile has a new parameter software_assurance_customer
  • Model LicenseProfile has a new parameter subscription_status
  • Model LicenseProfileMachineInstanceView has a new parameter billing_start_date
  • Model LicenseProfileMachineInstanceView has a new parameter disenrollment_date
  • Model LicenseProfileMachineInstanceView has a new parameter enrollment_date
  • Model LicenseProfileMachineInstanceView has a new parameter license_channel
  • Model LicenseProfileMachineInstanceView has a new parameter license_status
  • Model LicenseProfileMachineInstanceView has a new parameter product_features
  • Model LicenseProfileMachineInstanceView has a new parameter product_type
  • Model LicenseProfileMachineInstanceView has a new parameter software_assurance_customer
  • Model LicenseProfileMachineInstanceView has a new parameter subscription_status
  • Model LicenseProfileUpdate has a new parameter product_features
  • Model LicenseProfileUpdate has a new parameter product_type
  • Model LicenseProfileUpdate has a new parameter software_assurance_customer
  • Model LicenseProfileUpdate has a new parameter subscription_status
  • Model Machine has a new parameter os_edition

Breaking Changes

  • Removed operation group AgentVersionOperations
  • Removed operation group HybridIdentityMetadataOperations
  • Removed operation group LicenseProfilesOperations
  • Removed operation group LicensesOperations

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.0b3.tar.gz (114.4 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_hybridcompute-9.0.0b3-py3-none-any.whl (167.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for azure-mgmt-hybridcompute-9.0.0b3.tar.gz
Algorithm Hash digest
SHA256 a2fa116dffec0c8cb7bb1545a8d4562dd77447d3d142f88b7676aaf6e0fa72c9
MD5 17f2f39c9c0b070cbb3179f9fd13a069
BLAKE2b-256 ce2d21033dc45600b7104cc0713f179fef9faa6895d861a5e84e442351a47239

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_mgmt_hybridcompute-9.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 f77af2e9749cd8a0d8116ab3c1799e82b4309064a3af97b21f20226fac2591a9
MD5 3b48d813ff5bfa152613b97c3e6b34db
BLAKE2b-256 30b3a86ffe014f8654dcd5ea3cf1f54181a124a65ff5c29d8ad4473f81fa9318

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