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.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-computefleet
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configure of 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:
- 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
1.0.0 (2024-10-22)
Features Added
- Model
ComputeProfile
added propertyadditional_virtual_machine_capabilities
- Model
FleetProperties
added propertyvm_attributes
- Model
FleetProperties
added propertyadditional_locations_profile
- Enum
DiskControllerTypes
added memberNV_ME
- Enum
SecurityTypes
added memberCONFIDENTIAL_VM
- Enum
WindowsVMGuestPatchMode
added 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
LinuxConfiguration
renamed its instance variableprovision_v_m_agent
intoprovision_vm_agent
- Model
LinuxConfiguration
renamed its instance variableenable_v_m_agent_platform_updates
intoenable_vm_agent_platform_updates
- Model
SpotPriorityProfile
renamed its instance variablemax_price_per_v_m
intomax_price_per_vm
- Model
VMSizeProperties
renamed its instance variablev_c_p_us_available
intov_cpus_available
- Model
VMSizeProperties
renamed its instance variablev_c_p_us_per_core
intov_cpus_per_core
- Model
VirtualMachineScaleSetDataDisk
renamed its instance variabledisk_size_g_b
intodisk_size_gb
- Model
VirtualMachineScaleSetDataDisk
renamed its instance variabledisk_i_o_p_s_read_write
intodisk_iops_read_write
- Model
VirtualMachineScaleSetIPConfigurationProperties
renamed its instance variablepublic_i_p_address_configuration
intopublic_ip_address_configuration
- Model
VirtualMachineScaleSetIPConfigurationProperties
renamed its instance variableprivate_i_p_address_version
intoprivate_ip_address_version
- Model
VirtualMachineScaleSetNetworkConfigurationProperties
renamed its instance variableenable_i_p_forwarding
intoenable_ip_forwarding
- Model
VirtualMachineScaleSetOSDisk
renamed its instance variabledisk_size_g_b
intodisk_size_gb
- Model
VirtualMachineScaleSetPublicIPAddressConfigurationProperties
renamed its instance variablepublic_i_p_prefix
intopublic_ip_prefix
- Model
VirtualMachineScaleSetPublicIPAddressConfigurationProperties
renamed its instance variablepublic_i_p_address_version
intopublic_ip_address_version
- Model
WindowsConfiguration
renamed its instance variableprovision_v_m_agent
intoprovision_vm_agent
- Model
WindowsConfiguration
renamed its instance variablewin_r_m
intowin_rm
- Model
WindowsConfiguration
renamed its instance variableenable_v_m_agent_platform_updates
intoenable_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
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
File details
Details for the file azure_mgmt_computefleet-1.0.0.tar.gz
.
File metadata
- Download URL: azure_mgmt_computefleet-1.0.0.tar.gz
- Upload date:
- Size: 89.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 366a4f977fe68b1025e5bc322f730bec7c0563cf8ce2bf78365884df4f892ce9 |
|
MD5 | 5e7fcf442e032344d6f56058b46f3f7d |
|
BLAKE2b-256 | 210c56dbe569520765d904fafaa67593848fd0cc018d61c9a6458688b91a51b1 |
File details
Details for the file azure_mgmt_computefleet-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_computefleet-1.0.0-py3-none-any.whl
- Upload date:
- Size: 94.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf259843546531d855fbccaa309bc178446ec886b8279cefacaececbcfc92f5 |
|
MD5 | 46c7da25081efa7b53c65a494cd01f63 |
|
BLAKE2b-256 | 13e65b81168d2bb7148f781aa9f51204c2c909ea68f64d3411c17de46ddd7e37 |