Package: azure-mgmt-avs
Microsoft Azure SDK for PythonThis is the Microsoft Azure Avs Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-avs
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken 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 variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.avsimportAVSClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=AVSClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Avs Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History8.0.0 (2023-08-25)Features AddedModel ErrorResponse has a new parameter errorModel PrivateCloud has a new parameter extended_network_blocksModel PrivateCloudProperties has a new parameter extended_network_blocksModel PrivateCloudUpdate has a new parameter extended_network_blocksModel PrivateCloudUpdateProperties has a new parameter extended_network_blocksBreaking ChangesModel ErrorResponse no longer has parameter additional_infoModel ErrorResponse no longer has parameter codeModel ErrorResponse no longer has parameter detailsModel ErrorResponse no longer has parameter messageModel ErrorResponse no longer has parameter target7.2.0b1 (2022-12-29)Other ChangesAdded generated samples in github repoDrop support for python<3.7.07.1.0 (2022-10-18)Features AddedAdded operation ClustersOperations.list_zonesAdded operation WorkloadNetworksOperations.getAdded operation WorkloadNetworksOperations.listModel EncryptionKeyVaultProperties has a new parameter auto_detected_key_versionModel PlacementPolicyUpdate has a new parameter affinity_strengthModel PlacementPolicyUpdate has a new parameter azure_hybrid_benefit_typeModel PrivateCloud has a new parameter nsx_public_ip_quota_raisedModel PrivateCloudProperties has a new parameter nsx_public_ip_quota_raisedModel ScriptPackage has a new parameter companyModel ScriptPackage has a new parameter uriModel VmHostPlacementPolicyProperties has a new parameter affinity_strengthModel VmHostPlacementPolicyProperties has a new parameter azure_hybrid_benefit_typeOperation LocationsOperations.check_trial_availability has a new parameter sku7.0.0 (2021-11-11)FeaturesModel PrivateCloudUpdateProperties has a new parameter encryptionModel PrivateCloudUpdateProperties has a new parameter availabilityModel PrivateCloud has a new parameter secondary_circuitModel PrivateCloud has a new parameter identityModel PrivateCloud has a new parameter encryptionModel PrivateCloud has a new parameter availabilityModel PrivateCloudProperties has a new parameter secondary_circuitModel PrivateCloudProperties has a new parameter encryptionModel PrivateCloudProperties has a new parameter availabilityModel PrivateCloudUpdate has a new parameter identityModel PrivateCloudUpdate has a new parameter encryptionModel PrivateCloudUpdate has a new parameter availabilityModel GlobalReachConnection has a new parameter express_route_idModel ClusterUpdate has a new parameter hostsModel ExpressRouteAuthorization has a new parameter express_route_idModel Datastore has a new parameter statusAdded operation group VirtualMachinesOperationsAdded operation group PlacementPoliciesOperations7.0.0b1 (2021-07-13)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 changesCredential 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 renamedcredentialTheconfigattribute 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 theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.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 userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.2.0.0 (2021-07-13)FeaturesModel PrivateCloud has a new parameter external_cloud_linksModel MetricDimension has a new parameter internal_nameModel MetricDimension has a new parameter to_be_exported_for_shoeboxAdded operation PrivateCloudsOperations.rotate_vcenter_passwordAdded operation PrivateCloudsOperations.rotate_nsxt_passwordAdded operation group ScriptExecutionsOperationsAdded operation group DatastoresOperationsAdded operation group CloudLinksOperationsAdded operation group ScriptPackagesOperationsAdded operation group WorkloadNetworksOperationsAdded operation group ScriptCmdletsOperationsAdded operation group AddonsOperationsAdded operation group GlobalReachConnectionsOperationsBreaking changesOperation HcxEnterpriseSitesOperations.create_or_update has a new signatureOperation AuthorizationsOperations.create_or_update has a new signature1.0.0 (2020-11-11)FeaturesModel Operation has a new parameter propertiesModel Operation has a new parameter is_data_actionModel Operation has a new parameter originModel ManagementCluster has a new parameter provisioning_stateBreaking changesOperation ClustersOperations.create_or_update has a new signatureOperation ClustersOperations.create_or_update has a new signature1.0.0rc1 (2020-07-03)FeaturesModel Endpoints has a new parameter hcx_cloud_managerModel Cluster has a new parameter hostsModel Cluster has a new parameter cluster_idModel Cluster has a new parameter cluster_sizeModel Cluster has a new parameter provisioning_stateAdded operation group HcxEnterpriseSitesOperationsAdded operation group AuthorizationsOperationsBreaking changesOperation ClustersOperations.update has a new signatureOperation ClustersOperations.create_or_update has a new signatureOperation PrivateCloudsOperations.update has a new signatureOperation ClustersOperations.create_or_update has a new signatureModel Circuit no longer has parameter authorizationsModel Cluster no longer has parameter propertiesModel Cluster has a new required parameter skuModel PrivateCloud has a new signatureModel ExpressRouteAuthorization has a new signature