Skip to main content

Microsoft Azure Computefleet Management Client Library for Python

Project description

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

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_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.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:

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.0b3 (2026-07-22)

Features Added

  • Model VirtualMachine added property priority
  • Model VirtualMachine added property vm_size
  • Model VirtualMachine added property zone

2.0.0b2 (2026-05-28)

Features Added

  • Client ComputeFleetMgmtClient added parameter cloud_setting in method __init__
  • Enum FleetMode added member LAUNCH
  • Model FleetProperties added property vm_name_prefix
  • Enum VMOperationStatus added member LAUNCHING

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 FleetProperties added property mode
  • Model FleetProperties added property capacity_type
  • Model FleetProperties added property zone_allocation_policy
  • Enum ManagedServiceIdentityType added member SYSTEM_ASSIGNED_USER_ASSIGNED
  • Model VirtualMachineScaleSet added property name
  • Added enum CapacityType
  • Added enum FleetMode
  • Added enum VMOperationStatus
  • Added model VirtualMachine
  • Added model ZoneAllocationPolicy
  • Added enum ZoneDistributionStrategy
  • Added model ZonePreference
  • Operation group FleetsOperations added method begin_cancel
  • Operation group FleetsOperations added method list_virtual_machines

Breaking Changes

  • Deleted or renamed enum value ManagedServiceIdentityType.SYSTEM_AND_USER_ASSIGNED

1.0.0 (2024-10-22)

Features Added

  • Model ComputeProfile added property additional_virtual_machine_capabilities
  • Model FleetProperties added property vm_attributes
  • Model FleetProperties added property additional_locations_profile
  • Enum DiskControllerTypes added member NV_ME
  • Enum SecurityTypes added member CONFIDENTIAL_VM
  • Enum WindowsVMGuestPatchMode added member AUTOMATIC_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 LinuxConfiguration renamed its instance variable provision_v_m_agent into provision_vm_agent
  • Model LinuxConfiguration renamed its instance variable enable_v_m_agent_platform_updates into enable_vm_agent_platform_updates
  • Model SpotPriorityProfile renamed its instance variable max_price_per_v_m into max_price_per_vm
  • Model VMSizeProperties renamed its instance variable v_c_p_us_available into v_cpus_available
  • Model VMSizeProperties renamed its instance variable v_c_p_us_per_core into v_cpus_per_core
  • Model VirtualMachineScaleSetDataDisk renamed its instance variable disk_size_g_b into disk_size_gb
  • Model VirtualMachineScaleSetDataDisk renamed its instance variable disk_i_o_p_s_read_write into disk_iops_read_write
  • Model VirtualMachineScaleSetIPConfigurationProperties renamed its instance variable public_i_p_address_configuration into public_ip_address_configuration
  • Model VirtualMachineScaleSetIPConfigurationProperties renamed its instance variable private_i_p_address_version into private_ip_address_version
  • Model VirtualMachineScaleSetNetworkConfigurationProperties renamed its instance variable enable_i_p_forwarding into enable_ip_forwarding
  • Model VirtualMachineScaleSetOSDisk renamed its instance variable disk_size_g_b into disk_size_gb
  • Model VirtualMachineScaleSetPublicIPAddressConfigurationProperties renamed its instance variable public_i_p_prefix into public_ip_prefix
  • Model VirtualMachineScaleSetPublicIPAddressConfigurationProperties renamed its instance variable public_i_p_address_version into public_ip_address_version
  • Model WindowsConfiguration renamed its instance variable provision_v_m_agent into provision_vm_agent
  • Model WindowsConfiguration renamed its instance variable win_r_m into win_rm
  • Model WindowsConfiguration renamed its instance variable enable_v_m_agent_platform_updates into enable_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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_computefleet-2.0.0b3.tar.gz (140.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_computefleet-2.0.0b3-py3-none-any.whl (133.1 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_computefleet-2.0.0b3.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_computefleet-2.0.0b3.tar.gz
Algorithm Hash digest
SHA256 e18d8f720280feb9a26550ba63f3c8530fb0aee7c7c48e24a65a71e388c1b818
MD5 50abaf7a8be440cdf0309a5ccfe68027
BLAKE2b-256 0f46a8410be8d1a08a545b9e94eaff41bce96867a818006d7d7166ded13ce9b5

See more details on using hashes here.

File details

Details for the file azure_mgmt_computefleet-2.0.0b3-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_computefleet-2.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 2ef51d06d365788682a36a8943bb54e29279ef80a31ceb84c271eef43d768154
MD5 3ec847d0a919f6493142d5969bef6888
BLAKE2b-256 f9f7226b717da43f1f124127f4794dae3b54ced42e26be9a59b6f48c0e2e465b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page