Microsoft Azure SDK for Python
This is the Microsoft Azure Computefleet Management Client Library. This package has been tested with Python 3.10+. 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.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-computefleet
pip install azure-identity
Authentication
By default, Microsoft Entra token authentication depends on correct configuration of the 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.computefleet import ComputeFleetMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ComputeFleetMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Computefleet 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
2.0.0 (2026-09-29)
Features Added
- Client
ComputeFleetMgmtClientadded parametercloud_settingin method__init__ - Model
FleetPropertiesadded propertycapacity_type - Model
FleetPropertiesadded propertymode - Model
FleetPropertiesadded propertyvm_name_prefix - Enum
ManagedServiceIdentityTypeadded memberSYSTEM_ASSIGNED_USER_ASSIGNED - Model
VirtualMachineScaleSetadded propertyname - Added enum
CapacityType - Added enum
FleetMode - Added enum
VMOperationStatus - Added model
VirtualMachine - Operation group
FleetsOperationsadded methodlist_virtual_machines
Breaking Changes
- Deleted or renamed enum value
ManagedServiceIdentityType.SYSTEM_AND_USER_ASSIGNED
2.0.0b3 (2026-07-22)
Features Added
- Model
VirtualMachineadded propertypriority - Model
VirtualMachineadded propertyvm_size - Model
VirtualMachineadded propertyzone
2.0.0b2 (2026-05-28)
Features Added
- Client
ComputeFleetMgmtClientadded parametercloud_settingin method__init__ - Enum
FleetModeadded memberLAUNCH - Model
FleetPropertiesadded propertyvm_name_prefix - Enum
VMOperationStatusadded memberLAUNCHING
Breaking Changes
- Deleted or renamed enum value
FleetMode.INSTANCE - Deleted or renamed enum value
VMOperationStatus.CANCELED - Deleted or renamed enum value
VMOperationStatus.CANCEL_FAILED_STATUS_UNKNOWN - Deleted or renamed method
FleetsOperations.begin_cancel
2.0.0b1 (2025-08-21)
Features Added
- Model
FleetPropertiesadded propertymode - Model
FleetPropertiesadded propertycapacity_type - Model
FleetPropertiesadded propertyzone_allocation_policy - Enum
ManagedServiceIdentityTypeadded memberSYSTEM_ASSIGNED_USER_ASSIGNED - Model
VirtualMachineScaleSetadded propertyname - Added enum
CapacityType - Added enum
FleetMode - Added enum
VMOperationStatus - Added model
VirtualMachine - Added model
ZoneAllocationPolicy - Added enum
ZoneDistributionStrategy - Added model
ZonePreference - Operation group
FleetsOperationsadded methodbegin_cancel - Operation group
FleetsOperationsadded methodlist_virtual_machines
Breaking Changes
- Deleted or renamed enum value
ManagedServiceIdentityType.SYSTEM_AND_USER_ASSIGNED
1.0.0 (2024-10-22)
Features Added
- Model
ComputeProfileadded propertyadditional_virtual_machine_capabilities - Model
FleetPropertiesadded propertyvm_attributes - Model
FleetPropertiesadded propertyadditional_locations_profile - Enum
DiskControllerTypesadded memberNV_ME - Enum
SecurityTypesadded memberCONFIDENTIAL_VM - Enum
WindowsVMGuestPatchModeadded memberAUTOMATIC_BY_OS - Added model
AdditionalCapabilities - Added model
AdditionalLocationsProfile - Added model
LocationProfile - Added model
VMAttributeMinMaxDouble - Added model
VMAttributeMinMaxInteger - Added model
VMAttributes - Added enum
AcceleratorManufacturer - Added enum
AcceleratorType - Added enum
ArchitectureType - Added enum
CpuManufacturer - Added enum
LocalStorageDiskType - Added enum
VMAttributeSupport - Added enum
VMCategory
Breaking Changes
- Model
LinuxConfigurationrenamed its instance variableprovision_v_m_agentintoprovision_vm_agent - Model
LinuxConfigurationrenamed its instance variableenable_v_m_agent_platform_updatesintoenable_vm_agent_platform_updates - Model
SpotPriorityProfilerenamed its instance variablemax_price_per_v_mintomax_price_per_vm - Model
VMSizePropertiesrenamed its instance variablev_c_p_us_availableintov_cpus_available - Model
VMSizePropertiesrenamed its instance variablev_c_p_us_per_coreintov_cpus_per_core - Model
VirtualMachineScaleSetDataDiskrenamed its instance variabledisk_size_g_bintodisk_size_gb - Model
VirtualMachineScaleSetDataDiskrenamed its instance variabledisk_i_o_p_s_read_writeintodisk_iops_read_write - Model
VirtualMachineScaleSetIPConfigurationPropertiesrenamed its instance variablepublic_i_p_address_configurationintopublic_ip_address_configuration - Model
VirtualMachineScaleSetIPConfigurationPropertiesrenamed its instance variableprivate_i_p_address_versionintoprivate_ip_address_version - Model
VirtualMachineScaleSetNetworkConfigurationPropertiesrenamed its instance variableenable_i_p_forwardingintoenable_ip_forwarding - Model
VirtualMachineScaleSetOSDiskrenamed its instance variabledisk_size_g_bintodisk_size_gb - Model
VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesrenamed its instance variablepublic_i_p_prefixintopublic_ip_prefix - Model
VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesrenamed its instance variablepublic_i_p_address_versionintopublic_ip_address_version - Model
WindowsConfigurationrenamed its instance variableprovision_v_m_agentintoprovision_vm_agent - Model
WindowsConfigurationrenamed its instance variablewin_r_mintowin_rm - Model
WindowsConfigurationrenamed its instance variableenable_v_m_agent_platform_updatesintoenable_vm_agent_platform_updates - Deleted or renamed enum value
DiskControllerTypes.N_V_ME - Deleted or renamed enum value
NetworkApiVersion.ENUM_2020_11_01 - Deleted or renamed enum value
SecurityEncryptionTypes.DISK_WITH_V_M_GUEST_STATE - Deleted or renamed enum value
SecurityEncryptionTypes.NON_PERSISTED_T_P_M - Deleted or renamed enum value
SecurityEncryptionTypes.V_M_GUEST_STATE_ONLY - Deleted or renamed enum value
SecurityTypes.CONFIDENTIAL_V_M - Deleted or renamed enum value
StorageAccountTypes.PREMIUM_L_R_S - Deleted or renamed enum value
StorageAccountTypes.PREMIUM_V2_L_R_S - Deleted or renamed enum value
StorageAccountTypes.PREMIUM_Z_R_S - Deleted or renamed enum value
StorageAccountTypes.STANDARD_L_R_S - Deleted or renamed enum value
StorageAccountTypes.STANDARD_S_S_D_L_R_S - Deleted or renamed enum value
StorageAccountTypes.STANDARD_S_S_D_Z_R_S - Deleted or renamed enum value
StorageAccountTypes.ULTRA_S_S_D_L_R_S - Deleted or renamed enum value
WindowsVMGuestPatchMode.AUTOMATIC_BY_O_S
1.0.0b1 (2024-07-22)
Other Changes
- Initial version
Metadata
Release files for azure-mgmt-computefleet 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azure_mgmt_computefleet-2.0.0.tar.gz | 138.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_mgmt_computefleet-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 269.8 kB
Release files / azure_mgmt_computefleet-2.0.0.tar.gz
| Download URL | azure_mgmt_computefleet-2.0.0.tar.gz |
|---|---|
| Size | 138.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b8c978c3145362c5b6a0b3fbd327a80ff75e7314df9cbc4b8e5f9b2655e6876
|
|
BLAKE2b-256 checksum How to use checksums |
f9dcdc0dcee53c238ec21b0264cdeab04a5c1bdd8f12a4e71fb0a2426ea96eb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / azure_mgmt_computefleet-2.0.0-py3-none-any.whl
| Download URL | azure_mgmt_computefleet-2.0.0-py3-none-any.whl |
|---|---|
| Size | 131.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f9c14279d5a1038aa65f478feb8801ebb73034e050f2a6e25b68cab10664f54
|
|
BLAKE2b-256 checksum How to use checksums |
1e05808f82cf18e43b89b58f584f7e9368881138dbf6ae010f4944929940afc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|