Package: azure-mgmt-compute
Microsoft Azure SDK for PythonThis is the Microsoft Azure Compute 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-compute
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.computeimportComputeManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=ComputeManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Compute 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 History30.5.0 (2024-01-22)Features AddedModel CreationData has a new parameter provisioned_bandwidth_copy_speedModel PurchasePlan has a new parameter promotion_code30.4.0 (2023-12-18)Features AddedAdded operation DedicatedHostsOperations.begin_redeployAdded operation VirtualMachineScaleSetVMsOperations.begin_approve_rolling_upgradeAdded operation VirtualMachineScaleSetVMsOperations.begin_attach_detach_data_disksAdded operation VirtualMachineScaleSetsOperations.begin_approve_rolling_upgradeAdded operation VirtualMachinesOperations.begin_attach_detach_data_disksModel AutomaticOSUpgradePolicy has a new parameter os_rolling_upgrade_deferralModel CapacityReservationGroup has a new parameter sharing_profileModel CapacityReservationGroupInstanceView has a new parameter shared_subscription_idsModel CapacityReservationGroupUpdate has a new parameter sharing_profileModel CommunityGallery has a new parameter artifact_tagsModel CommunityGallery has a new parameter community_metadataModel CommunityGallery has a new parameter disclaimerModel CommunityGalleryImage has a new parameter artifact_tagsModel CommunityGalleryImage has a new parameter disclaimerModel CommunityGalleryImageVersion has a new parameter artifact_tagsModel CommunityGalleryImageVersion has a new parameter disclaimerModel GalleryImageVersion has a new parameter security_profileModel GalleryImageVersionUpdate has a new parameter security_profileModel RestorePointSourceVMStorageProfile has a new parameter disk_controller_typeModel SecurityProfile has a new parameter encryption_identityModel SecurityProfile has a new parameter proxy_agent_settingsModel SharedGallery has a new parameter artifact_tagsModel SharedGalleryImage has a new parameter artifact_tagsModel SharedGalleryImageVersion has a new parameter artifact_tagsModel VirtualMachine has a new parameter etagModel VirtualMachine has a new parameter managed_byModel VirtualMachineInstanceView has a new parameter is_vm_in_standby_poolModel VirtualMachineScaleSet has a new parameter etagModel VirtualMachineScaleSet has a new parameter resiliency_policyModel VirtualMachineScaleSetUpdate has a new parameter resiliency_policyModel VirtualMachineScaleSetVM has a new parameter etagModel VirtualMachineScaleSetVMProfile has a new parameter time_createdOperation SshPublicKeysOperations.generate_key_pair has a new optional parameter parametersOperation VirtualMachineScaleSetVMsOperations.begin_update has a new optional parameter if_matchOperation VirtualMachineScaleSetVMsOperations.begin_update has a new optional parameter if_none_matchOperation VirtualMachineScaleSetsOperations.begin_create_or_update has a new optional parameter if_matchOperation VirtualMachineScaleSetsOperations.begin_create_or_update has a new optional parameter if_none_matchOperation VirtualMachineScaleSetsOperations.begin_update has a new optional parameter if_matchOperation VirtualMachineScaleSetsOperations.begin_update has a new optional parameter if_none_matchOperation VirtualMachinesOperations.begin_create_or_update has a new optional parameter if_matchOperation VirtualMachinesOperations.begin_create_or_update has a new optional parameter if_none_matchOperation VirtualMachinesOperations.begin_update has a new optional parameter if_matchOperation VirtualMachinesOperations.begin_update has a new optional parameter if_none_match30.3.0 (2023-10-23)Features AddedModel CreationData has a new parameter elastic_san_resource_idModel Disk has a new parameter last_ownership_update_time30.2.0 (2023-09-15)Features AddedModel VirtualMachineNetworkInterfaceConfiguration has a new parameter auxiliary_modeModel VirtualMachineNetworkInterfaceConfiguration has a new parameter auxiliary_skuModel VirtualMachinePublicIPAddressDnsSettingsConfiguration has a new parameter domain_name_label_scopeModel VirtualMachineScaleSetNetworkConfiguration has a new parameter auxiliary_modeModel VirtualMachineScaleSetNetworkConfiguration has a new parameter auxiliary_skuModel VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings has a new parameter domain_name_label_scopeModel VirtualMachineScaleSetUpdateNetworkConfiguration has a new parameter auxiliary_modeModel VirtualMachineScaleSetUpdateNetworkConfiguration has a new parameter auxiliary_skuModel VirtualMachineScaleSetVM has a new parameter time_created30.1.0 (2023-07-21)Features AddedModel GrantAccessData has a new parameter file_format30.0.0 (2023-05-25)Features AddedAdded operation DedicatedHostsOperations.list_available_sizesAdded operation VirtualMachineScaleSetsOperations.begin_reapplyModel DedicatedHostUpdate has a new parameter skuModel LinuxVMGuestPatchAutomaticByPlatformSettings has a new parameter bypass_platform_safety_checks_on_user_scheduleModel RestorePointSourceMetadata has a new parameter hyper_v_generationModel RestorePointSourceVMDataDisk has a new parameter write_accelerator_enabledModel RestorePointSourceVMOSDisk has a new parameter write_accelerator_enabledModel VirtualMachineExtension has a new parameter provision_after_extensionsModel VirtualMachineRunCommand has a new parameter error_blob_managed_identityModel VirtualMachineRunCommand has a new parameter output_blob_managed_identityModel VirtualMachineRunCommand has a new parameter treat_failure_as_deployment_failureModel VirtualMachineRunCommandScriptSource has a new parameter script_uri_managed_identityModel VirtualMachineRunCommandUpdate has a new parameter error_blob_managed_identityModel VirtualMachineRunCommandUpdate has a new parameter output_blob_managed_identityModel VirtualMachineRunCommandUpdate has a new parameter treat_failure_as_deployment_failureModel VirtualMachineScaleSetUpdate has a new parameter priority_mix_policyModel VirtualMachineScaleSetUpdate has a new parameter spot_restore_policyModel VirtualMachineScaleSetVMExtension has a new parameter locationModel VirtualMachineScaleSetVMExtension has a new parameter provision_after_extensionsModel VirtualMachineScaleSetVMInstanceView has a new parameter computer_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter hyper_v_generationModel VirtualMachineScaleSetVMInstanceView has a new parameter os_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter os_versionModel VirtualMachineScaleSetVMProfile has a new parameter security_posture_referenceModel WindowsVMGuestPatchAutomaticByPlatformSettings has a new parameter bypass_platform_safety_checks_on_user_scheduleOperation VirtualMachineScaleSetsOperations.begin_deallocate has a new optional parameter hibernateOperation VirtualMachinesOperations.list has a new optional parameter expandOperation VirtualMachinesOperations.list_all has a new optional parameter expandBreaking ChangesModel VirtualMachineScaleSetIPConfiguration no longer has parameter idModel VirtualMachineScaleSetNetworkConfiguration no longer has parameter idModel VirtualMachineScaleSetUpdateIPConfiguration no longer has parameter idModel VirtualMachineScaleSetUpdateNetworkConfiguration no longer has parameter id29.2.0b2 (2023-04-12)Features AddedModel VirtualMachineScaleSetVMInstanceView has a new parameter computer_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter hyper_v_generationModel VirtualMachineScaleSetVMInstanceView has a new parameter os_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter os_versionBreaking ChangesAll query and header parameters are now keyword-onlyRemoved api version subfolders. This means you can no longer access anyazure.mgmt.compute.v20xx_xx_xxmodules.Removed.modelsmethod fromComputeManagementClient. Instead, import models fromazure.mgmt.compute.models.Model VirtualMachineScaleSetIPConfiguration no longer has parameter idModel VirtualMachineScaleSetNetworkConfiguration no longer has parameter idOther ChangesInitial stable release with our new combined multiapi package. Package size is now 5% of what it used to be.29.2.0b1 (2023-02-20)Features AddedModel VirtualMachineScaleSetVMInstanceView has a new parameter computer_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter hyper_v_generationModel VirtualMachineScaleSetVMInstanceView has a new parameter os_nameModel VirtualMachineScaleSetVMInstanceView has a new parameter os_version29.1.0 (2023-01-17)Features AddedModel CloudService has a new parameter zonesModel RestorePointSourceMetadata has a new parameter user_dataModel RollingUpgradePolicy has a new parameter max_surgeModel RollingUpgradePolicy has a new parameter rollback_failed_instances_on_policy_breachModel ScheduledEventsProfile has a new parameter os_image_notification_profileModel VirtualMachineImage has a new parameter image_deprecation_statusModel VirtualMachineReimageParameters has a new parameter exact_versionModel VirtualMachineReimageParameters has a new parameter os_profileModel VirtualMachineScaleSet has a new parameter constrained_maximum_capacityModel VirtualMachineScaleSetOSProfile has a new parameter require_guest_provision_signalModel VirtualMachineScaleSetReimageParameters has a new parameter exact_versionModel VirtualMachineScaleSetReimageParameters has a new parameter os_profileModel VirtualMachineScaleSetVMProfile has a new parameter service_artifact_referenceModel VirtualMachineScaleSetVMReimageParameters has a new parameter exact_versionModel VirtualMachineScaleSetVMReimageParameters has a new parameter os_profile29.0.0 (2022-10-13)Features AddedModel CreationData has a new parameter performance_plusModel Disk has a new parameter bursting_enabled_timeModel Disk has a new parameter optimized_for_frequent_attachModel DiskUpdate has a new parameter optimized_for_frequent_attachModel GalleryApplication has a new parameter custom_actionsModel GalleryApplicationUpdate has a new parameter custom_actionsModel GalleryApplicationVersion has a new parameter safety_profileModel GalleryApplicationVersionPublishingProfile has a new parameter custom_actionsModel GalleryApplicationVersionUpdate has a new parameter safety_profileModel GalleryImageVersion has a new parameter safety_profileModel GalleryImageVersionUpdate has a new parameter safety_profileModel SharedGalleryImage has a new parameter eulaModel SharedGalleryImage has a new parameter privacy_statement_uriModel Snapshot has a new parameter incremental_snapshot_family_idModel SupportedCapabilities has a new parameter disk_controller_typesModel TargetRegion has a new parameter exclude_from_latestBreaking ChangesModel GalleryArtifactVersionSource no longer has parameter uri28.0.1 (2022-09-30)Bugs FixedFix paging problem aboutapi_version28.0.0 (2022-09-20)Features AddedModel CapacityReservation has a new parameter platform_fault_domain_countModel CapacityReservationUpdate has a new parameter platform_fault_domain_countModel CapacityReservationUtilization has a new parameter current_capacityModel LinuxConfiguration has a new parameter enable_vm_agent_platform_updatesModel StorageProfile has a new parameter disk_controller_typeModel VirtualMachineNetworkInterfaceConfiguration has a new parameter disable_tcp_state_trackingModel VirtualMachineScaleSet has a new parameter priority_mix_policyModel VirtualMachineScaleSetNetworkConfiguration has a new parameter disable_tcp_state_trackingModel VirtualMachineScaleSetStorageProfile has a new parameter disk_controller_typeModel VirtualMachineScaleSetUpdateNetworkConfiguration has a new parameter disable_tcp_state_trackingModel VirtualMachineScaleSetUpdateStorageProfile has a new parameter disk_controller_typeModel VirtualMachineScaleSetUpdateVMProfile has a new parameter hardware_profileModel WindowsConfiguration has a new parameter enable_vm_agent_platform_updatesBreaking ChangesModel PurchasePlan no longer has parameter promotion_codeOperation VirtualMachineRunCommandsOperations.begin_create_or_update no longer has parameter content_typeOperation VirtualMachineRunCommandsOperations.begin_update no longer has parameter content_typeOperation VirtualMachineScaleSetVMRunCommandsOperations.begin_create_or_update no longer has parameter content_typeOperation VirtualMachineScaleSetVMRunCommandsOperations.begin_update no longer has parameter content_typeOperation VirtualMachineScaleSetVMsOperations.begin_run_command no longer has parameter content_typeOperation VirtualMachinesOperations.begin_run_command no longer has parameter content_type27.2.0 (2022-06-29)FeaturesModel CloudService has a new parameter system_dataModel CloudServiceNetworkProfile has a new parameter slot_type27.1.0 (2022-06-09)FeaturesAdded operation CommunityGalleryImageVersionsOperations.listAdded operation CommunityGalleryImagesOperations.listAdded operation VirtualMachineImagesOperations.list_by_edge_zoneModel CommunityGalleryImage has a new parameter architectureModel CommunityGalleryImage has a new parameter eulaModel CommunityGalleryImage has a new parameter privacy_statement_uriModel CommunityGalleryImageVersion has a new parameter exclude_from_latestModel CommunityGalleryImageVersion has a new parameter storage_profileModel DiskEncryptionSet has a new parameter federated_client_idModel DiskEncryptionSetUpdate has a new parameter federated_client_idModel DiskRestorePoint has a new parameter security_profileModel EncryptionSetIdentity has a new parameter user_assigned_identitiesModel GalleryApplicationVersionPublishingProfile has a new parameter advanced_settingsModel GalleryApplicationVersionPublishingProfile has a new parameter settingsModel ImageDiskReference has a new parameter community_gallery_image_idModel ImageDiskReference has a new parameter shared_gallery_image_idModel PurchasePlan has a new parameter promotion_codeModel SharedGalleryImage has a new parameter architectureModel SharedGalleryImageVersion has a new parameter exclude_from_latestModel SharedGalleryImageVersion has a new parameter storage_profileModel Snapshot has a new parameter copy_completion_error27.0.0 (2022-05-17)FeaturesModel AutomaticOSUpgradePolicy has a new parameter use_rolling_upgrade_policyModel DedicatedHostGroup has a new parameter additional_capabilitiesModel DedicatedHostGroupUpdate has a new parameter additional_capabilitiesModel DiskRestorePointReplicationStatus has a new parameter completion_percentModel LinuxPatchSettings has a new parameter automatic_by_platform_settingsModel PatchSettings has a new parameter automatic_by_platform_settingsModel ProximityPlacementGroup has a new parameter intentModel ProximityPlacementGroup has a new parameter zonesModel VMGalleryApplication has a new parameter enable_automatic_upgradeModel VMGalleryApplication has a new parameter treat_failure_as_deployment_failureModel VirtualMachineScaleSetDataDisk has a new parameter delete_optionModel VirtualMachineScaleSetOSDisk has a new parameter delete_optionModel VirtualMachineScaleSetUpdateOSDisk has a new parameter delete_optionModel VirtualMachineScaleSetVM has a new parameter identityOperation VirtualMachineRunCommandsOperations.begin_create_or_update has a new optional and keyword-only parameter content_typeOperation VirtualMachineRunCommandsOperations.begin_update has a new optional and keyword-only parameter content_typeOperation VirtualMachineScaleSetVMRunCommandsOperations.begin_create_or_update has a new optional and keyword-only parameter content_typeOperation VirtualMachineScaleSetVMRunCommandsOperations.begin_update has a new optional and keyword-only parameter content_typeOperation VirtualMachineScaleSetVMsOperations.begin_run_command has a new optional and keyword-only parameter content_typeOperation VirtualMachinesOperations.begin_run_command has a new optional and keyword-only parameter content_typeBreaking changesModel PurchasePlan no longer has parameter promotion_code26.1.0 (2022-02-28)FeaturesModel Disk has a new parameter data_access_auth_modeModel DiskUpdate has a new parameter data_access_auth_modeModel GalleryImage has a new parameter architectureModel GalleryImageUpdate has a new parameter architectureModel PurchasePlan has a new parameter promotion_codeModel Snapshot has a new parameter data_access_auth_modeModel SnapshotUpdate has a new parameter data_access_auth_modeModel SupportedCapabilities has a new parameter architectureModel VirtualMachineImage has a new parameter architecture26.0.0 (2022-02-14)FeaturesModel Gallery has a new parameter sharing_statusModel GalleryApplicationVersionPublishingProfile has a new parameter target_extended_locationsModel GalleryArtifactPublishingProfileBase has a new parameter target_extended_locationsModel GalleryImageVersionPublishingProfile has a new parameter target_extended_locationsModel GalleryUpdate has a new parameter sharing_statusModel OSDiskImageEncryption has a new parameter security_profileModel SharingProfile has a new parameter community_gallery_infoBreaking changesOperation GalleriesOperations.get has a new signature25.0.0 (2022-01-28)FeaturesAdded operation DedicatedHostsOperations.begin_restartModel AutomaticRepairsPolicy has a new parameter repair_actionModel CapacityReservation has a new parameter time_createdModel CapacityReservationUpdate has a new parameter time_createdModel DedicatedHost has a new parameter time_createdModel DedicatedHostUpdate has a new parameter time_createdModel ImageReference has a new parameter community_gallery_image_idModel ManagedDiskParameters has a new parameter security_profileModel RestorePoint has a new parameter instance_viewModel RestorePoint has a new parameter source_restore_pointModel VirtualMachine has a new parameter time_createdModel VirtualMachineExtension has a new parameter protected_settings_from_key_vaultModel VirtualMachineExtensionUpdate has a new parameter protected_settings_from_key_vaultModel VirtualMachineScaleSet has a new parameter time_createdModel VirtualMachineScaleSetExtension has a new parameter protected_settings_from_key_vaultModel VirtualMachineScaleSetExtensionUpdate has a new parameter protected_settings_from_key_vaultModel VirtualMachineScaleSetManagedDiskParameters has a new parameter security_profileModel VirtualMachineScaleSetOSProfile has a new parameter allow_extension_operationsModel VirtualMachineScaleSetUpdatePublicIPAddressConfiguration has a new parameter public_ip_prefixModel VirtualMachineScaleSetVMExtension has a new parameter protected_settings_from_key_vaultModel VirtualMachineScaleSetVMExtensionUpdate has a new parameter protected_settings_from_key_vaultModel VirtualMachineScaleSetVMProfile has a new parameter hardware_profileModel VirtualMachineUpdate has a new parameter time_createdBreaking changesModel PurchasePlan no longer has parameter promotion_codeOperation RestorePointsOperations.get has a new signatureOperation VirtualMachineScaleSetsOperations.force_recovery_service_fabric_platform_update_domain_walk has a new signatureOperation VirtualMachineScaleSetsOperations.force_recovery_service_fabric_platform_update_domain_walk has a new signatureOperation VirtualMachinesOperations.list has a new signatureOperation VirtualMachinesOperations.list_all has a new signature24.0.1 (2022-01-17)BugfixesAdded support for Python3.6 back24.0.0 (2022-01-06)FeaturesModel AccessUri has a new parameter security_data_access_sasModel CreationData has a new parameter security_data_uriModel DiskRestorePoint has a new parameter replication_stateModel DiskRestorePoint has a new parameter source_resource_locationModel DiskSecurityProfile has a new parameter secure_vm_disk_encryption_set_idModel GrantAccessData has a new parameter get_secure_vm_guest_state_sasModel PurchasePlan has a new parameter promotion_codeModel RestorePoint has a new parameter time_createdModel Snapshot has a new parameter security_profileModel SnapshotUpdate has a new parameter supported_capabilitiesBreaking changesModel RestorePoint no longer has parameter provisioning_details23.1.0 (2021-10-12)FeaturesModel PurchasePlanAutoGenerated has a new parameter promotion_codeModel Disk has a new parameter public_network_accessModel Disk has a new parameter completion_percentModel Disk has a new parameter supported_capabilitiesModel SnapshotUpdate has a new parameter public_network_accessModel Snapshot has a new parameter public_network_accessModel Snapshot has a new parameter completion_percentModel Snapshot has a new parameter supported_capabilitiesModel DiskRestorePoint has a new parameter network_access_policyModel DiskRestorePoint has a new parameter disk_access_idModel DiskRestorePoint has a new parameter public_network_accessModel DiskRestorePoint has a new parameter supported_capabilitiesModel DiskRestorePoint has a new parameter completion_percentModel DiskAccess has a new parameter extended_locationModel DiskEncryptionSet has a new parameter auto_key_rotation_errorModel DiskUpdate has a new parameter public_network_accessModel DiskUpdate has a new parameter supported_capabilitiesAdded operation group CommunityGalleryImageVersionsOperationsAdded operation group CommunityGalleriesOperationsAdded operation group CommunityGalleryImagesOperations23.0.0 (2021-09-02)FeaturesModel HardwareProfile has a new parameter vm_size_propertiesModel VirtualMachineScaleSetVMProfile has a new parameter application_profileModel AdditionalCapabilities has a new parameter hibernation_enabledModel VirtualMachine has a new parameter application_profileModel VirtualMachineScaleSetVMExtensionUpdate has a new parameter suppress_failuresModel Gallery has a new parameter soft_delete_policyModel ScaleInPolicy has a new parameter force_deletionModel VirtualMachineScaleSetExtensionUpdate has a new parameter suppress_failuresModel GalleryArtifactPublishingProfileBase has a new parameter replication_modeModel GalleryImageVersionPublishingProfile has a new parameter replication_modeModel GalleryApplicationVersionPublishingProfile has a new parameter replication_modeModel ImageReference has a new parameter shared_gallery_image_idModel VirtualMachineUpdate has a new parameter application_profileModel VirtualMachineScaleSetVMExtension has a new parameter suppress_failuresModel ResourceSkuLocationInfo has a new parameter typeModel ResourceSkuLocationInfo has a new parameter extended_locationsModel VirtualMachineScaleSetExtension has a new parameter suppress_failuresModel VirtualMachineExtension has a new parameter suppress_failuresModel VirtualMachineExtensionUpdate has a new parameter suppress_failuresModel GalleryUpdate has a new parameter soft_delete_policyBreaking changesOperation ResourceSkusOperations.list has a new signatureOperation VirtualMachinesOperations.begin_deallocate has a new signature22.1.0 (2021-07-22)FeaturesModel VirtualMachineUpdate has a new parameter capacity_reservationModel VirtualMachine has a new parameter capacity_reservationModel VirtualMachineScaleSet has a new parameter spot_restore_policyModel VirtualMachineScaleSetVMProfile has a new parameter capacity_reservationAdded operation group CapacityReservationsOperationsAdded operation group CapacityReservationGroupsOperations22.0.0 (2021-07-08)FeaturesModel RestorePointSourceMetadata has a new parameter locationAdded operation DiskRestorePointOperations.begin_revoke_accessAdded operation DiskRestorePointOperations.begin_grant_accessBreaking changesModel PublicIPAddressSku has a new signature21.0.0 (2021-05-25)FeaturesModel NetworkInterfaceReference has a new parameter delete_optionModel DataDisk has a new parameter delete_optionModel VirtualMachineScaleSetPublicIPAddressConfiguration has a new parameter skuModel VirtualMachineScaleSetPublicIPAddressConfiguration has a new parameter delete_optionModel VirtualMachineScaleSetNetworkConfiguration has a new parameter delete_optionModel OSDisk has a new parameter delete_optionModel VirtualMachineScaleSetVM has a new parameter user_dataModel VirtualMachineScaleSetUpdateNetworkProfile has a new parameter network_api_versionModel VirtualMachineScaleSetUpdateVMProfile has a new parameter user_dataModel VirtualMachineScaleSetVMProfile has a new parameter user_dataModel LinuxPatchSettings has a new parameter assessment_modeModel VirtualMachineScaleSetUpdatePublicIPAddressConfiguration has a new parameter delete_optionModel VirtualMachineUpdate has a new parameter user_dataModel VirtualMachineUpdate has a new parameter scheduled_events_profileModel NetworkProfile has a new parameter network_api_versionModel NetworkProfile has a new parameter network_interface_configurationsModel VirtualMachine has a new parameter user_dataModel VirtualMachine has a new parameter scheduled_events_profileModel PatchSettings has a new parameter assessment_modeModel VirtualMachineScaleSetUpdateNetworkConfiguration has a new parameter delete_optionModel VirtualMachineScaleSetNetworkProfile has a new parameter network_api_versionAdded operation group RestorePointCollectionsOperationsAdded operation group RestorePointsOperationsBreaking changesOperation VirtualMachineScaleSetsOperations.get has a new signatureModel PurchasePlan no longer has parameter promotion_code20.0.0 (2021-04-06)FeaturesModel PurchasePlan has a new parameter promotion_codeModel DiskUpdate has a new parameter supports_hibernationModel DiskUpdate has a new parameter property_updates_in_progressModel SnapshotUpdate has a new parameter supports_hibernationModel DiskRestorePoint has a new parameter supports_hibernationModel DiskEncryptionSetUpdate has a new parameter identityModel DiskEncryptionSetUpdate has a new parameter rotation_to_latest_key_version_enabledModel CloudServiceProperties has a new parameter allow_model_overrideModel LoadBalancerConfiguration has a new parameter idModel CloudServiceInstanceView has a new parameter private_idsModel Snapshot has a new parameter supports_hibernationModel DiskEncryptionSet has a new parameter last_key_rotation_timestampModel DiskEncryptionSet has a new parameter rotation_to_latest_key_version_enabledModel Disk has a new parameter security_profileModel Disk has a new parameter supports_hibernationModel Disk has a new parameter property_updates_in_progressAdded operation group CloudServiceOperatingSystemsOperationsBreaking changesParameter name of model LoadBalancerConfiguration is now requiredParameter properties of model LoadBalancerConfiguration is now requiredParameter frontend_ip_configurations of model LoadBalancerConfigurationProperties is now requiredParameter name of model LoadBalancerFrontendIPConfiguration is now requiredParameter properties of model LoadBalancerFrontendIPConfiguration is now required19.0.0 (2021-02-20)FeaturesModel VirtualMachineUpdate has a new parameter platform_fault_domainModel VirtualMachineImage has a new parameter extended_locationModel VirtualMachineImage has a new parameter featuresModel VirtualMachineSoftwarePatchProperties has a new parameter kb_idModel LinuxConfiguration has a new parameter patch_settingsModel PatchSettings has a new parameter enable_hotpatchingModel VirtualMachineAssessPatchesResult has a new parameter available_patchesModel VirtualMachineImageResource has a new parameter extended_locationModel VirtualMachinePatchStatus has a new parameter configuration_statusesModel RollingUpgradePolicy has a new parameter enable_cross_zone_upgradeModel RollingUpgradePolicy has a new parameter prioritize_unhealthy_instancesModel DataDisk has a new parameter detach_optionModel Image has a new parameter extended_locationModel VirtualMachine has a new parameter extended_locationModel VirtualMachine has a new parameter platform_fault_domainModel SecurityProfile has a new parameter uefi_settingsModel SecurityProfile has a new parameter security_typeModel VirtualMachineScaleSet has a new parameter extended_locationModel VirtualMachineScaleSet has a new parameter orchestration_modeAdded operation VirtualMachinesOperations.begin_install_patchesAdded operation VirtualMachineScaleSetsOperations.list_by_locationAdded operation group VirtualMachineImagesEdgeZoneOperationsBreaking changesOperation VirtualMachineScaleSetVMsOperations.begin_delete has a new signatureOperation VirtualMachineScaleSetsOperations.begin_delete has a new signatureOperation VirtualMachineScaleSetsOperations.begin_delete_instances has a new signatureModel VirtualMachineSoftwarePatchProperties no longer has parameter kbidModel LastPatchInstallationSummary no longer has parameter started_byModel LastPatchInstallationSummary no longer has parameter reboot_statusModel VirtualMachineAssessPatchesResult no longer has parameter patchesModel PurchasePlan no longer has parameter promotion_code18.2.0 (2021-02-02)FeaturesAdded operation group CloudServicesUpdateDomainOperationsAdded operation group CloudServiceRolesOperationsAdded operation group CloudServiceRoleInstancesOperationsAdded operation group CloudServicesOperations18.1.0 (2021-01-19)FeaturesModel Disk has a new parameter purchase_planModel Disk has a new parameter extended_locationModel Disk has a new parameter bursting_enabledModel ThrottledRequestsInput has a new parameter group_by_client_application_idModel ThrottledRequestsInput has a new parameter group_by_user_agentModel Snapshot has a new parameter purchase_planModel Snapshot has a new parameter extended_locationModel DiskUpdate has a new parameter purchase_planModel DiskUpdate has a new parameter bursting_enabledModel LogAnalyticsInputBase has a new parameter group_by_client_application_idModel LogAnalyticsInputBase has a new parameter group_by_user_agentModel PurchasePlan has a new parameter promotion_codeModel VirtualMachineScaleSetNetworkConfiguration has a new parameter enable_fpgaModel RequestRateByIntervalInput has a new parameter group_by_client_application_idModel RequestRateByIntervalInput has a new parameter group_by_user_agentModel VirtualMachineScaleSetUpdateNetworkConfiguration has a new parameter enable_fpgaAdded operation DiskAccessesOperations.list_private_endpoint_connectionsAdded operation DiskAccessesOperations.begin_delete_a_private_endpoint_connectionAdded operation DiskAccessesOperations.begin_update_a_private_endpoint_connectionAdded operation DiskAccessesOperations.get_a_private_endpoint_connectionAdded operation group DiskRestorePointOperations18.0.0 (2020-11-17)FeaturesModel GalleryImageUpdate has a new parameter featuresModel GalleryApplicationVersionPublishingProfile has a new parameter manage_actionsModel GalleryImage has a new parameter featuresModel Gallery has a new parameter sharing_profileModel GalleryArtifactVersionSource has a new parameter uriModel GalleryUpdate has a new parameter sharing_profileModel UserArtifactSource has a new parameter default_configuration_linkAdded operation VirtualMachineRunCommandsOperations.begin_updateAdded operation VirtualMachineRunCommandsOperations.begin_create_or_updateAdded operation VirtualMachineRunCommandsOperations.begin_deleteAdded operation VirtualMachineRunCommandsOperations.get_by_virtual_machineAdded operation VirtualMachineRunCommandsOperations.list_by_virtual_machineAdded operation group SharedGalleriesOperationsAdded operation group VirtualMachineScaleSetVMRunCommandsOperationsAdded operation group GallerySharingProfileOperationsAdded operation group SharedGalleryImageVersionsOperationsAdded operation group SharedGalleryImagesOperationsBreaking changesOperation GalleriesOperations.get has a new signatureOperation VirtualMachinesOperations.begin_delete has a new signatureModel GalleryApplicationVersionPublishingProfile no longer has parameter content_typeModel UserArtifactSource no longer has parameter file_name17.0.0 (2020-09-16)FeaturesModel VirtualMachineExtensionUpdate has a new parameter enable_automatic_upgradeModel VirtualMachineScaleSetExtensionUpdate has a new parameter enable_automatic_upgradeModel DedicatedHostGroup has a new parameter instance_viewModel DedicatedHostGroup has a new parameter support_automatic_placementModel VirtualMachineScaleSetExtension has a new parameter enable_automatic_upgradeModel VirtualMachineScaleSetVM has a new parameter security_profileModel VirtualMachineImage has a new parameter disallowedModel VirtualMachine has a new parameter security_profileModel VirtualMachine has a new parameter extensions_time_budgetModel VirtualMachine has a new parameter host_groupModel VirtualMachineInstanceView has a new parameter vm_healthModel VirtualMachineInstanceView has a new parameter patch_statusModel VirtualMachineInstanceView has a new parameter assigned_hostModel DiskEncryptionSet has a new parameter encryption_typeModel Snapshot has a new parameter disk_stateModel Snapshot has a new parameter disk_access_idModel Snapshot has a new parameter network_access_policyModel CreationData has a new parameter logical_sector_sizeModel DiskEncryptionSetUpdate has a new parameter encryption_typeModel VirtualMachineScaleSetVMInstanceView has a new parameter assigned_hostModel WindowsConfiguration has a new parameter patch_settingsModel DiskUpdate has a new parameter disk_access_idModel DiskUpdate has a new parameter network_access_policyModel DiskUpdate has a new parameter tierModel VirtualMachineScaleSetUpdateVMProfile has a new parameter security_profileModel VirtualMachineScaleSetVMProfile has a new parameter security_profileModel VirtualMachineUpdate has a new parameter security_profileModel VirtualMachineUpdate has a new parameter extensions_time_budgetModel VirtualMachineUpdate has a new parameter host_groupModel Disk has a new parameter disk_access_idModel Disk has a new parameter network_access_policyModel Disk has a new parameter tierModel VirtualMachineExtension has a new parameter enable_automatic_upgradeModel VirtualMachineScaleSet has a new parameter host_groupModel DedicatedHostGroupUpdate has a new parameter instance_viewModel DedicatedHostGroupUpdate has a new parameter support_automatic_placementModel SnapshotUpdate has a new parameter disk_access_idModel SnapshotUpdate has a new parameter network_access_policyModel VirtualMachineScaleSetExtensionProfile has a new parameter extensions_time_budgetAdded operation VirtualMachineScaleSetVMsOperations.retrieve_boot_diagnostics_dataAdded operation VirtualMachinesOperations.retrieve_boot_diagnostics_dataAdded operation VirtualMachinesOperations.begin_assess_patchesAdded operation DiskEncryptionSetsOperations.list_associated_resourcesAdded operation group DiskAccessesOperationsBreaking changesOperation DedicatedHostGroupsOperations.get has a new signature17.0.0b1 (2020-06-17)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.12.0.0 (2020-03-23)FeaturesModel VirtualMachineScaleSetInstanceView has a new parameter orchestration_servicesAdded operation VirtualMachineScaleSetsOperations.set_orchestration_service_stateAdded operation group SshPublicKeysOperationsBreaking changesModel AvailabilitySetUpdate no longer has parameter idModel AvailabilitySetUpdate no longer has parameter nameModel AvailabilitySetUpdate no longer has parameter typeModel VirtualMachineScaleSetUpdate no longer has parameter idModel VirtualMachineScaleSetUpdate no longer has parameter nameModel VirtualMachineScaleSetUpdate no longer has parameter typeModel DedicatedHostGroupUpdate no longer has parameter idModel DedicatedHostGroupUpdate no longer has parameter nameModel DedicatedHostGroupUpdate no longer has parameter typeModel VirtualMachineUpdate no longer has parameter idModel VirtualMachineUpdate no longer has parameter nameModel VirtualMachineUpdate no longer has parameter typeModel DedicatedHostUpdate no longer has parameter idModel DedicatedHostUpdate no longer has parameter nameModel DedicatedHostUpdate no longer has parameter typeModel ImageUpdate no longer has parameter idModel ImageUpdate no longer has parameter nameModel ImageUpdate no longer has parameter typeModel VirtualMachineExtensionUpdate no longer has parameter virtual_machine_extension_update_typeModel VirtualMachineExtensionUpdate no longer has parameter idModel VirtualMachineExtensionUpdate no longer has parameter nameModel ProximityPlacementGroupUpdate has a new signatureModel UpdateResource has a new signature11.1.0 (2020-03-09)FeaturesOperation VirtualMachineImagesOperations.list has a new parameter $expandBugfixesremove not-working $filter in Operation VirtualMachineImagesOperations.list11.0.0 (2020-02-27)FeaturesModel AvailabilitySetUpdate has a new parameter nameModel AvailabilitySetUpdate has a new parameter idModel AvailabilitySetUpdate has a new parameter typeModel DedicatedHostGroupUpdate has a new parameter nameModel DedicatedHostGroupUpdate has a new parameter idModel DedicatedHostGroupUpdate has a new parameter typeModel ImageReference has a new parameter exact_versionModel SnapshotUpdate has a new parameter encryptionModel ProximityPlacementGroup has a new parameter colocation_statusModel ImageUpdate has a new parameter nameModel ImageUpdate has a new parameter idModel ImageUpdate has a new parameter typeModel VirtualMachineExtensionUpdate has a new parameter nameModel VirtualMachineExtensionUpdate has a new parameter idModel VirtualMachineExtensionUpdate has a new parameter virtual_machine_extension_update_typeModel Disk has a new parameter share_infoModel Disk has a new parameter disk_mbps_read_onlyModel Disk has a new parameter managed_by_extendedModel Disk has a new parameter max_sharesModel Disk has a new parameter disk_iops_read_onlyModel CreationData has a new parameter gallery_image_referenceModel DiskUpdate has a new parameter max_sharesModel DiskUpdate has a new parameter encryptionModel DiskUpdate has a new parameter disk_mbps_read_onlyModel DiskUpdate has a new parameter disk_iops_read_onlyModel VirtualMachineScaleSetUpdate has a new parameter nameModel VirtualMachineScaleSetUpdate has a new parameter idModel VirtualMachineScaleSetUpdate has a new parameter typeModel DedicatedHostUpdate has a new parameter nameModel DedicatedHostUpdate has a new parameter idModel DedicatedHostUpdate has a new parameter typeModel TargetRegion has a new parameter encryptionModel VirtualMachineUpdate has a new parameter nameModel VirtualMachineUpdate has a new parameter idModel VirtualMachineUpdate has a new parameter typeModel VirtualMachineScaleSetExtension has a new parameter type1Added operation GalleriesOperations.updateAdded operation GalleryImagesOperations.updateAdded operation GalleryImageVersionsOperations.updateAdded operation VirtualMachineScaleSetExtensionsOperations.updateAdded operation GalleryApplicationVersionsOperations.updateAdded operation GalleryApplicationsOperations.updateBreaking changesModel AutomaticRepairsPolicy no longer has parameter max_instance_repairs_percentModel ProximityPlacementGroupUpdate has a new signatureModel UpdateResource has a new signature10.0.0 (2019-11-18)FeaturesModel VirtualMachineScaleSetUpdate has a new parameter
proximity_placement_groupEnum VirtualMachinePriorityTypes has new value SpotBreaking changesOperation ProximityPlacementGroupsOperations.get has a new signature9.0.0 (2019-10-22)FeaturesModel VirtualMachineScaleSetUpdateNetworkProfile has a new parameter
health_probeModel VirtualMachineScaleSetUpdate has a new parameter
do_not_run_extensions_on_overprovisioned_vmsModel VirtualMachineScaleSetUpdate has a new parameter
automatic_repairs_policyModel VirtualMachineScaleSetManagedDiskParameters has a new
parameter disk_encryption_setModel ImageDataDisk has a new parameter disk_encryption_setModel VirtualMachineScaleSet has a new parameter
automatic_repairs_policyModel ImageOSDisk has a new parameter disk_encryption_setModel ManagedDiskParameters has a new parameter
disk_encryption_setModel Snapshot has a new parameter encryptionModel VirtualMachineScaleSetDataDisk has a new parameter
disk_mbps_read_writeModel VirtualMachineScaleSetDataDisk has a new parameter
disk_iops_read_writeModel Disk has a new parameter encryptionModel VirtualMachineScaleSetPublicIPAddressConfiguration has a new
parameter public_ip_address_versionModel DataDisk has a new parameter disk_mbps_read_writeModel DataDisk has a new parameter disk_iops_read_writeModel OSProfile has a new parameter
require_guest_provision_signalAdded operation VirtualMachinesOperations.reapplyAdded operation group DiskEncryptionSetsOperationsAdded operation group VirtualMachineScaleSetVMExtensionsOperationsBreaking changesOperation VirtualMachinesOperations.list_all has a new signatureOperation ResourceSkusOperations.list has a new signature8.0.0 (2019-09-12)NoteCompute API version default is now 2019-07-01New disks version 2019-03-01New galleries version 2019-07-01FeaturesModel GalleryImageVersionStorageProfile has a new parameter sourceModel GalleryDiskImage has a new parameter sourceModel Snapshot has new parameters: disk_size_bytes, unique_id,
incrementalModel EncryptionSettingsCollection has a new parameter
encryption_settings_versionModel CreationData has new parameters: source_unique_id,
upload_size_bytesBreaking ChangesModel GalleryImageVersionPublishingProfile no longer has parameter
source7.0.0 (2019-08-27)FeaturesModel VirtualMachineScaleSetUpdateVMProfile has a new parameter
scheduled_events_profileModel VirtualMachineScaleSetUpdateVMProfile has a new parameter
billing_profileModel VirtualMachine has a new parameter
virtual_machine_scale_setModel VirtualMachine has a new parameter priorityModel VirtualMachine has a new parameter billing_profileModel VirtualMachine has a new parameter eviction_policyModel VirtualMachineScaleSetVMProfile has a new parameter
scheduled_events_profileModel VirtualMachineScaleSetVMProfile has a new parameter
billing_profileModel VirtualMachineImage has a new parameter hyper_vgenerationModel VirtualMachineUpdate has a new parameter
virtual_machine_scale_setModel VirtualMachineUpdate has a new parameter priorityModel VirtualMachineUpdate has a new parameter billing_profileModel VirtualMachineUpdate has a new parameter eviction_policyBreaking changesOperation VirtualMachineScaleSetVMsOperations.get has a new
signature6.0.0 (2019-07-20)FeaturesModel VirtualMachine has a new parameter hostModel VirtualMachineUpdate has a new parameter hostModel VirtualMachineInstanceView has a new parameter
hyper_vgenerationAdded operation group GalleryApplicationVersionsOperationsAdded operation group GalleryApplicationsOperationsAdded operation group DedicatedHostsOperationsAdded operation group DedicatedHostGroupsOperationsBreaking changesModel GalleryArtifactPublishingProfileBase has a new signatureGeneral Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes if you were importing from the v20xx_yy_zz
API folders. In summary, some modules were incorrectly
visible/importable and have been renamed. This fixed several issues
caused by usage of classes that were not supposed to be used in the
first place.ComputeManagementClient cannot be imported fromazure.mgmt.compute.v20xx_yy_zz.compute_management_clientanymore (import fromazure.mgmt.compute.v20xx_yy_zzworks like
before)ComputeManagementClientConfiguration import has been moved fromazure.mgmt.compute.v20xx_yy_zz.compute_management_clienttoazure.mgmt.compute.v20xx_yy_zzA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.compute.v20xx_yy_zz.models.my_class(import fromazure.mgmt.compute.v20xx_yy_zz.modelsworks like
before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.compute.v20xx_yy_zz.operations.my_class_operations(import fromazure.mgmt.compute.v20xx_yy_zz.operationsworks
like before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.5.0.0 (2019-04-26)FeaturesModel ImageUpdate has a new parameter hyper_vgenerationModel Image has a new parameter hyper_vgenerationModel AvailabilitySet has a new parameter
proximity_placement_groupModel VirtualMachine has a new parameter proximity_placement_groupModel VirtualMachineUpdate has a new parameter
proximity_placement_groupModel VirtualMachineScaleSet has a new parameter
proximity_placement_groupModel VirtualMachineScaleSet has a new parameter
additional_capabilitiesModel VirtualMachineScaleSetUpdate has a new parameter
additional_capabilitiesModel AvailabilitySetUpdate has a new parameter
proximity_placement_groupAdded operation group ProximityPlacementGroupsOperationsModel DataDisk has a new parameter to_be_detachedModel ResourceSkuLocationInfo has a new output zone_detailsBreaking changesModel VirtualMachineScaleSetVMProfile no longer has parameter
additional_capabilitiesLatest version of disks/snapshot renamed the enum
StorageAccountTypes to DiskStorageAccountTypesimages.create_or_update requires hyper_vgeneration parameter if
disk is OS type4.6.2 (2019-04-22)BugfixRevert "images" API version introduced in 4.6.0 from 2019-03-01 to
2018-10-01 for backward compatiblity #48914.6.1 (2019-04-18)BugfixesMake enum declarations in Compute package consistent, for the sake
of code inspection.4.6.0 (2019-04-12)FeaturesModel VirtualMachineScaleSet has a new parameter
do_not_run_extensions_on_overprovisioned_vmsModel VirtualMachineScaleSetVM has a new parameter
network_profile_configurationModel VirtualMachineScaleSetVM has a new parameter
protection_policyModel VirtualMachineScaleSetVM has a new parameter
model_definition_appliedAdded operation
VirtualMachineScaleSetsOperations.convert_to_single_placement_groupOperation VirtualMachineScaleSetVMsOperations.power_off has a new
signature and can now skip_shutdownOperation VirtualMachinesOperations.power_off has a new signature
and can now skip_shutdownOperation VirtualMachineScaleSetsOperations.power_off has a new
signature and can now skip_shutdown4.5.1 (2019-03-29)BugfixesFix regression in direct import from models4.5.0 (2019-03-28)New version of Managed DisksDisks/Snapshots have a new optional property HyperVGeneration which
may be set to V1 or V2.EncryptionSettings on a disk are now a collection instead of a
single value. This allows multiple volumes on an encrypted disk.There is a new CreateOption (Upload) for disks. To upload disks
customersPUT a disk with CreateOption.Upload.Use GrantAccess API with AccessLevel.Write to a get a write SAS to
the disk. This is a new access level and it can only be used when
uploading to a new disk. Customers can then use storage API to
upload the bits for the disk.There are new DiskStates (DiskState.ReadyToUpload and
DiskState.ActiveUpload) that are associated with the upload
process.4.4.0 (2018-01-04)FeaturesModel VirtualMachineScaleSetExtension has a new parameter
provision_after_extensionsOperation VirtualMachineScaleSetVMsOperations.reimage has a new
parameter temp_diskOperation VirtualMachineScaleSetsOperations.reimage has a new
parameter temp_diskAdded operation VirtualMachinesOperations.reimage4.3.1 (2018-10-15)BugfixFix sdist broken in 4.3.0. No code change.4.3.0 (2018-10-02)NoteCompute API version default is now 2018-10-01Features/BreakingChangesThis version updates the access to properties realted to automatic
OS upgrade introduced in 4.0.04.2.0 (2018-09-25)FeaturesModel OSDisk has a new parameter diff_disk_settingsModel BootDiagnosticsInstanceView has a new parameter statusModel VirtualMachineScaleSetOSDisk has a new parameter
diff_disk_settingsAdded operation VirtualMachinesOperations.list_by_locationNoteazure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based
namespace package)4.1.0 (2018-09-12)2018-06-01 for 'disks' and 'snapshots' (new default)FeaturesModel DiskUpdate has a new parameter disk_iops_read_writeModel DiskUpdate has a new parameter disk_mbps_read_writeModel VirtualMachineUpdate has a new parameter
additional_capabilities (ultraSSDEnabled attribute)Model VirtualMachineScaleSetVM has a new parameter
additional_capabilities (ultraSSDEnabled attribute)Model VirtualMachineScaleSetPublicIPAddressConfiguration has a new
parameter public_ip_prefixModel Disk has a new parameter disk_iops_read_writeModel Disk has a new parameter disk_mbps_read_writeModel VirtualMachineScaleSetVMProfile has a new parameter
additional_capabilities (ultraSSDEnabled attribute)Model VirtualMachine has a new parameter additional_capabilities
(ultraSSDEnabled attribute)Added operation
VirtualMachineScaleSetRollingUpgradesOperations.start_extension_upgradeNew enum value UltraSSD_LRS for StorageAccountTypes4.0.1 (2018-07-23)BugfixFix incorrect import from azure.mgmt.compute.models4.0.0 (2018-07-20)FeaturesModel VirtualMachineScaleSetIdentity has a new parameter
user_assigned_identitiesModel VirtualMachineScaleSetIPConfiguration has a new parameter
application_security_groupsModel VirtualMachineScaleSetUpdateIPConfiguration has a new
parameter application_security_groupsModel VirtualMachineIdentity has a new parameter
user_assigned_identitiesModel LinuxConfiguration has a new parameter provision_vm_agentModel OSProfile has a new parameter allow_extension_operationsAdded operation group GalleryImagesOperationsAdded operation group GalleryImageVersionsOperationsAdded operation group GalleriesOperationsModel UpgradeOperationHistoricalStatusInfoProperties has a new
parameter rollback_infoModel UpgradePolicy has a new parameter auto_os_upgrade_policyAdded operation AvailabilitySetsOperations.list_by_subscriptionBreaking changesModel VirtualMachineScaleSetIdentity no longer has parameter
identity_idsModel VirtualMachineScaleSetOSDisk no longer has parameter
disk_size_gbModel VirtualMachineScaleSetVM no longer has parameter zonesModel VirtualMachineScaleSetUpdateOSDisk no longer has parameter
disk_size_gbModel VirtualMachineIdentity no longer has parameter identity_idsNew default API Version is now 2018-06-014.0.0rc2 (2018-04-17)FeaturesAll clients now support Azure profiles.Add update operation to VirtualMachineExtension operations (all
ApiVersions)Add get_extensions operation to VirtualMachine operations (all
ApiVersions)Support eviction policy for virtual machines inside a low priority
scale set (2017-12-01)Add get_os_upgrade_history to VMSS operations (2017-12-01)BugfixesCompatibility of the sdist with wheel 0.31.0Fix some invalid models in Python 3 (introduced in 4.0.0rc1)4.0.0rc1 (2018-03-21)General Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes.Model signatures now use only keyword-argument syntax. All
positional arguments must be re-written as keyword-arguments. To
keep auto-completion in most cases, models are now generated for
Python 2 and Python 3. Python 3 uses the "*" syntax for
keyword-only arguments.Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to
improve the behavior when unrecognized enum values are encountered.
While this is not a breaking change, the distinctions are important,
and are documented here:https://docs.python.org/3/library/enum.html#othersAt a glance:"is" should not be used at all."format" will return the string value, where "%s" string
formatting will returnNameOfEnum.stringvalue. Format syntax
should be prefered.New Long Running Operation:Return type changes frommsrestazure.azure_operation.AzureOperationPollertomsrest.polling.LROPoller. External API is the same.Return type is nowalwaysamsrest.polling.LROPoller,
regardless of the optional parameters used.The behavior has changed when usingraw=True. Instead of
returning the initial call result asClientRawResponse,
without polling, now this returns an LROPoller. After polling,
the final resource will be returned as aClientRawResponse.Newpollingparameter. The default behavior isPolling=Truewhich will poll using ARM algorithm. WhenPolling=False, the response of the initial call will be
returned without polling.pollingparameter accepts instances of subclasses ofmsrest.polling.PollingMethod.add_done_callbackwill no longer raise if called after
polling is finished, but will instead execute the callback right
away.Compute featuresSupport zone resilient for image/snapshots (new ApiVersion
2018-04-01)Add "operations" operation groupAdd availability_set.updateAdd images.updateAdd virtual_machine.update3.1.0rc3 (2018-11-01)FeaturesAdd VirtualMachineScaleSetNetworkConfiguration ->
enable_ip_forwardingAdd VirtualMachineScaleSetUpdateNetworkConfiguration ->
enable_ip_forwardingAdd VirtualMachineScaleSetVMProfile -> priorityAdd ApiVersion 2017-12-01 of virtual_machine_run_commands (new
default)3.1.0rc2 (2017-12-14)FeaturesAdd User Assigned Identity parameters to VM/VMSS creationBugfixesAdd RestrictionInfo to SKUs list (2017-09-01)Restore virtual_machines.run_commands (broken in rc1)3.1.0rc1 (2017-11-27)DisclaimerThis version supports Azure Profile. Meaning, you can specify specific
API versions to support for each operation groups.The default API versions of this package are now: - 2017-03-30 for
'disks', 'virtual_machine_run_commands' and 'snapshots' - 2017-09-01
for 'resource_skus' - 2017-12-01 for everything elsePython featuresComputeManagementClient has now a "profile" parameter, which is a
dict from operation groups name to API versionOperation groups now have access to their own models. For instance,
assuming you have variable called "client", you can access the
models for this opeations groups (according to your loaded profiles)
usingclient.virtual_machines.modelsazure.mgmt.compute.models is deprecated. Seehttps://aka.ms/pysdkmodelsfor details.Azure features'resource_skus' has improved 'location_info' field3.0.1 (2017-09-26)BugfixAdd missing virtual_machine_scale_set_rolling_upgrades
operation group alias3.0.0 (2017-09-26)FeaturesAvailability ZonesVMSS Rolling upgrade / patch / health statusVM instance view APIsBreaking changes"azure.mgmt.compute.compute" namespace is now simply
"azure.mgmt.compute". If you were already using "azure.mgmt.compute"
before, you code should still work exactly the same.ContainerService has now be removed and exported in
azure-mgmt-containerservice2.1.0 (2017-07-19)Features in 2017-03-30Expose 'enableAcceleratedNetworking' for virtual machine and virtual
machine SS. Windows GA, Linux in preview.Expose 'forceUpdateTag' to ensure extension gets reinstalled even
there are no configuration change.2.0.0 (2017-06-29)FeaturesCompute default Api Version is now 2017-03-30.New operation groups:resources_skusvirtual_machine_scale_set_extensionsvirtual_machine_run_commandsNew methods in VM:perform_maintenancerun_commandSeveral improvements and modifications in Managed Disks.Breaking changesContainerService: fixed typo in class name
(ContainerServiceOchestratorTypes is now
ContainerServiceOrchestratorTypes)Compute: breaking changes in Managed Disk API:Managed field removed from Create AV Set APIAccount Type replaced with SKU in PUT and GET Managed Disk
Create APIOwnerId replaced by ManagedBy in GET Managed Disk APINote that you can get the behavior of v1.0.0 by forcing the Api Version
to "2016-04-30-preview" to update your package but not the code:ComputeManagementClient(credentials, subscription_id,
api_version="2016-04-30-preview")1.0.0 (2017-05-15)Tag 1.0.0rc2 as stable (same content)1.0.0rc2 (2017-05-12)FeaturesAdd Compute ApiVersion 2016-03-30 (AzureStack default)1.0.0rc1 (2017-04-11)Breaking ChangesContainer service is now in it's own client ContainerServiceClientFeaturesTo help customers with sovereign clouds (not general Azure), this
version has official multi ApiVersion support for the following resource
type:Compute: 2015-06-15 and 2016-04-30-previewThe following resource types support one ApiVersion:ContainerService: 2017-01-310.33.0 (2017-02-03)FeaturesThis release adds Managed Disk to compute. This changes the default disk
creation behavior to use the new Managed Disk feature instead of
Storage.0.32.1 (2016-11-14)Add "Kubernetes" on ContainersImprove technical documentation0.32.0 (2016-11-02)Breaking changeNew APIVersion for "container" 2016-09-30.several parameters (e.g. "username") now dynamically check before
REST calls validity against a regexp. Exception will be TypeError
and not CloudError anymore.0.31.0 (2016-11-01)Breaking changeWe renamed some "container" methods to follow Azure SDK conventions"container" attribute on the client is now "containers""list" changed behavior, now listing containers in subscription and
lost its parameter"list_by_resource_group" new method with the old "list" behavior0.30.0 (2016-10-17)Initial preview release. Based on API version 2016-03-30.0.20.0 (2015-08-31)Initial preview release. Based on API version 2015-05-01-preview.