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
- Python 3.8+ 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_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor 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:
- Search Hybrid Compute Management on docs.microsoft.com
- Azure Python Mgmt SDK 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
9.0.0 (2024-10-14)
Features Added
- Client
HybridComputeManagementClientadded operation grouplicenses - Client
HybridComputeManagementClientadded operation grouplicense_profiles - Client
HybridComputeManagementClientadded operation groupextension_metadata - Client
HybridComputeManagementClientadded operation groupnetwork_profile - Client
HybridComputeManagementClientadded operation groupnetwork_security_perimeter_configurations - Model
AgentConfigurationadded propertyconfig_mode - Model
Machineadded propertyresources - Model
Machineadded propertykind - Model
Machineadded propertylocation_data - Model
Machineadded propertyagent_configuration - Model
Machineadded propertyservice_statuses - Model
Machineadded propertycloud_metadata - Model
Machineadded propertyagent_upgrade - Model
Machineadded propertyos_profile - Model
Machineadded propertylicense_profile - Model
Machineadded propertyprovisioning_state - Model
Machineadded propertystatus - Model
Machineadded propertylast_status_change - Model
Machineadded propertyerror_details - Model
Machineadded propertyagent_version - Model
Machineadded propertyvm_id - Model
Machineadded propertydisplay_name - Model
Machineadded propertymachine_fqdn - Model
Machineadded propertyclient_public_key - Model
Machineadded propertyos_name - Model
Machineadded propertyos_version - Model
Machineadded propertyos_type - Model
Machineadded propertyvm_uuid - Model
Machineadded propertyextensions - Model
Machineadded propertyos_sku - Model
Machineadded propertyos_edition - Model
Machineadded propertydomain_name - Model
Machineadded propertyad_fqdn - Model
Machineadded propertydns_fqdn - Model
Machineadded propertyprivate_link_scope_resource_id - Model
Machineadded propertyparent_cluster_resource_id - Model
Machineadded propertymssql_discovered - Model
Machineadded propertydetected_properties - Model
Machineadded propertynetwork_profile - Model
MachineExtensionUpdateadded parameterforce_update_tagin method__init__ - Model
MachineExtensionUpdateadded parameterpublisherin method__init__ - Model
MachineExtensionUpdateadded parametertypein method__init__ - Model
MachineExtensionUpdateadded parametertype_handler_versionin method__init__ - Model
MachineExtensionUpdateadded parameterenable_automatic_upgradein method__init__ - Model
MachineExtensionUpdateadded parameterauto_upgrade_minor_versionin method__init__ - Model
MachineExtensionUpdateadded parametersettingsin method__init__ - Model
MachineExtensionUpdateadded parameterprotected_settingsin method__init__ - Model
MachineUpdateadded propertykind - Model
MachineUpdateadded propertylocation_data - Model
MachineUpdateadded propertyos_profile - Model
MachineUpdateadded propertycloud_metadata - Model
MachineUpdateadded propertyagent_upgrade - Model
MachineUpdateadded propertyparent_cluster_resource_id - Model
MachineUpdateadded propertyprivate_link_scope_resource_id - Model
OSProfileLinuxConfigurationadded propertyenable_hotpatching - Model
OSProfileLinuxConfigurationadded propertystatus - Model
OSProfileWindowsConfigurationadded propertyenable_hotpatching - Model
OSProfileWindowsConfigurationadded propertystatus - Enum
PublicNetworkAccessTypeadded memberSECURED_BY_PERIMETER - Model
Resourceadded propertysystem_data - Added enum
AccessMode - Added model
AccessRule - Added enum
AccessRuleDirection - Added enum
AgentConfigurationMode - Added model
AgentUpgrade - Added enum
ArcKindEnum - Added model
AvailablePatchCountByClassification - Added enum
EsuEligibility - Added model
EsuKey - Added enum
EsuKeyState - Added enum
EsuServerType - Added model
ExtensionValue - Added model
ExtensionValueListResult - Added model
ExtensionsResourceStatus - Added enum
ExtensionsStatusLevelTypes - Added enum
HotpatchEnablementStatus - Added model
IpAddress - Added model
KeyDetails - Added model
KeyProperties - Added enum
LastAttemptStatusEnum - Added model
License - Added enum
LicenseAssignmentState - Added enum
LicenseCoreType - Added model
LicenseDetails - Added enum
LicenseEdition - Added model
LicenseProfile - Added model
LicenseProfileArmEsuProperties - Added model
LicenseProfileArmEsuPropertiesWithoutAssignedLicense - Added model
LicenseProfileMachineInstanceView - Added model
LicenseProfileMachineInstanceViewEsuProperties - Added enum
LicenseProfileProductType - Added model
LicenseProfileStorageModelEsuProperties - Added enum
LicenseProfileSubscriptionStatus - Added enum
LicenseProfileSubscriptionStatusUpdate - Added model
LicenseProfileUpdate - Added model
LicenseProfilesListResult - Added enum
LicenseState - Added enum
LicenseStatus - Added enum
LicenseTarget - Added enum
LicenseType - Added model
LicenseUpdate - Added model
LicensesListResult - Added model
LinuxParameters - Added model
MachineAssessPatchesResult - Added model
MachineInstallPatchesParameters - Added model
MachineInstallPatchesResult - Added model
NetworkInterface - Added model
NetworkProfile - Added model
NetworkSecurityPerimeter - Added model
NetworkSecurityPerimeterConfiguration - Added model
NetworkSecurityPerimeterConfigurationListResult - Added model
NetworkSecurityPerimeterConfigurationReconcileResult - Added model
NetworkSecurityPerimeterProfile - Added enum
OsType - Added enum
PatchOperationStartedBy - Added enum
PatchOperationStatus - Added enum
PatchServiceUsed - Added model
PatchSettingsStatus - Added model
ProductFeature - Added model
ProductFeatureUpdate - Added enum
ProgramYear - Added model
ProvisioningIssue - Added enum
ProvisioningIssueSeverity - Added enum
ProvisioningIssueType - Added enum
ProvisioningState - Added model
ProxyResourceAutoGenerated - Added model
ResourceAssociation - Added model
ResourceAutoGenerated - Added model
Subnet - Added enum
VMGuestPatchClassificationLinux - Added enum
VMGuestPatchClassificationWindows - Added enum
VMGuestPatchRebootSetting - Added enum
VMGuestPatchRebootStatus - Added model
VolumeLicenseDetails - Added model
WindowsParameters - Operation group
MachinesOperationsadded methodbegin_assess_patches - Operation group
MachinesOperationsadded methodbegin_install_patches - Added Operation group
ExtensionMetadataOperations - Added Operation group
LicenseProfilesOperations - Added Operation group
LicensesOperations - Added Operation group
NetworkProfileOperations - Added Operation group
NetworkSecurityPerimeterConfigurationsOperations
Breaking Changes
- Model
Machinedeleted or renamed its instance variableproperties - Model
MachineExtensionUpdatedeleted or renamed its instance variableproperties - Model
MachineUpdatedeleted or renamed its instance variableproperties - Deleted or renamed model
MachineExtensionUpdateProperties - Deleted or renamed model
MachineProperties - Deleted or renamed model
MachineUpdateProperties
9.0.0b4 (2024-07-23)
Features Added
- Added operation NetworkSecurityPerimeterConfigurationsOperations.begin_reconcile_for_private_link_scope
- Model LicenseProfile has a new parameter billing_end_date
- Model LicenseProfile has a new parameter error
- Model LicenseProfileMachineInstanceView has a new parameter billing_end_date
- Model LicenseProfileMachineInstanceView has a new parameter error
- Model OSProfileLinuxConfiguration has a new parameter enable_hotpatching
- Model OSProfileLinuxConfiguration has a new parameter status
- Model OSProfileWindowsConfiguration has a new parameter enable_hotpatching
- Model OSProfileWindowsConfiguration has a new parameter status
- Model ProductFeature has a new parameter billing_end_date
- Model ProductFeature has a new parameter error
Breaking Changes
- Removed operation MachineRunCommandsOperations.begin_update
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:
azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead: https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredential
-
The
configattribute 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
versionmodule anymore, use__version__instead -
Operations that used to return a
msrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_. -
Exceptions tree have been simplified and most exceptions are now
azure.core.exceptions.HttpResponseError(CloudErrorhas been removed). -
Most of the operation kwarg have changed. Some of the most noticeable:
rawhas 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
aionamespace 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_mgmt_hybridcompute-9.0.0.tar.gz.
File metadata
- Download URL: azure_mgmt_hybridcompute-9.0.0.tar.gz
- Upload date:
- Size: 109.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ceb1e68dd1dc9bc3f0812c4d3ba08e55e5c2f0a908df0284af6d605b6372011
|
|
| MD5 |
ed06b33b8ea676b867de3498a2442d11
|
|
| BLAKE2b-256 |
c790feaf5b2b759088fa56cbcb1e69555f94a17f3ee283643b801e30c4508c59
|
File details
Details for the file azure_mgmt_hybridcompute-9.0.0-py3-none-any.whl.
File metadata
- Download URL: azure_mgmt_hybridcompute-9.0.0-py3-none-any.whl
- Upload date:
- Size: 153.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237c498bbc7148e9013287131f18c1fff0cd29358d68fb30bdbeda608b1e900e
|
|
| MD5 |
ff72e2c6015d17ec3ed51dca91c2b643
|
|
| BLAKE2b-256 |
e5ef6d44732af3e7796ac32845653de7a8876183e7845cd2d4d4b2e978cdab39
|