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.
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
Troubleshooting¶
Next steps¶
Provide Feedback¶
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Indices and tables¶
Developer Documentation
- azure.mgmt.computefleet package
- Submodules
- azure.mgmt.computefleet.models module
ActionType
AdditionalUnattendContent
ApiEntityReference
ApiError
ApiErrorBase
ApplicationProfile
BaseVirtualMachineProfile
BaseVirtualMachineProfile.application_profile
BaseVirtualMachineProfile.capacity_reservation
BaseVirtualMachineProfile.diagnostics_profile
BaseVirtualMachineProfile.extension_profile
BaseVirtualMachineProfile.hardware_profile
BaseVirtualMachineProfile.license_type
BaseVirtualMachineProfile.network_profile
BaseVirtualMachineProfile.os_profile
BaseVirtualMachineProfile.scheduled_events_profile
BaseVirtualMachineProfile.security_posture_reference
BaseVirtualMachineProfile.security_profile
BaseVirtualMachineProfile.service_artifact_reference
BaseVirtualMachineProfile.storage_profile
BaseVirtualMachineProfile.time_created
BaseVirtualMachineProfile.user_data
BootDiagnostics
CachingTypes
CapacityReservationProfile
ComputeProfile
CreatedByType
DeleteOptions
DiagnosticsProfile
DiffDiskOptions
DiffDiskPlacement
DiffDiskSettings
DiskControllerTypes
DiskCreateOptionTypes
DiskDeleteOptionTypes
DiskEncryptionSetParameters
DomainNameLabelScopeTypes
EncryptionIdentity
ErrorAdditionalInfo
ErrorDetail
ErrorResponse
EvictionPolicy
Fleet
FleetProperties
FleetUpdate
IPVersion
ImageReference
InnerError
KeyVaultSecretReference
LinuxConfiguration
LinuxPatchAssessmentMode
LinuxPatchSettings
LinuxVMGuestPatchAutomaticByPlatformRebootSetting
LinuxVMGuestPatchAutomaticByPlatformSettings
LinuxVMGuestPatchMode
ManagedServiceIdentity
ManagedServiceIdentityType
ManagedServiceIdentityUpdate
Mode
NetworkApiVersion
NetworkInterfaceAuxiliaryMode
NetworkInterfaceAuxiliarySku
OSImageNotificationProfile
OperatingSystemTypes
Operation
OperationDisplay
Origin
PatchSettings
Plan
ProtocolTypes
ProvisioningState
ProxyAgentSettings
PublicIPAddressSku
PublicIPAddressSkuName
PublicIPAddressSkuTier
RegularPriorityAllocationStrategy
RegularPriorityProfile
Resource
ResourcePlanUpdate
ScheduledEventsProfile
SecurityEncryptionTypes
SecurityPostureReference
SecurityProfile
SecurityTypes
ServiceArtifactReference
SettingNames
SpotAllocationStrategy
SpotPriorityProfile
SshConfiguration
SshPublicKey
StorageAccountTypes
SubResource
SystemData
TerminateNotificationProfile
TrackedResource
UefiSettings
UserAssignedIdentity
VMDiskSecurityProfile
VMGalleryApplication
VMSizeProperties
VaultCertificate
VaultSecretGroup
VirtualHardDisk
VirtualMachineScaleSet
VirtualMachineScaleSetDataDisk
VirtualMachineScaleSetDataDisk.caching
VirtualMachineScaleSetDataDisk.create_option
VirtualMachineScaleSetDataDisk.delete_option
VirtualMachineScaleSetDataDisk.disk_i_o_p_s_read_write
VirtualMachineScaleSetDataDisk.disk_m_bps_read_write
VirtualMachineScaleSetDataDisk.disk_size_g_b
VirtualMachineScaleSetDataDisk.lun
VirtualMachineScaleSetDataDisk.managed_disk
VirtualMachineScaleSetDataDisk.name
VirtualMachineScaleSetDataDisk.write_accelerator_enabled
VirtualMachineScaleSetExtension
VirtualMachineScaleSetExtensionProfile
VirtualMachineScaleSetExtensionProperties
VirtualMachineScaleSetExtensionProperties.auto_upgrade_minor_version
VirtualMachineScaleSetExtensionProperties.enable_automatic_upgrade
VirtualMachineScaleSetExtensionProperties.force_update_tag
VirtualMachineScaleSetExtensionProperties.protected_settings
VirtualMachineScaleSetExtensionProperties.protected_settings_from_key_vault
VirtualMachineScaleSetExtensionProperties.provision_after_extensions
VirtualMachineScaleSetExtensionProperties.provisioning_state
VirtualMachineScaleSetExtensionProperties.publisher
VirtualMachineScaleSetExtensionProperties.settings
VirtualMachineScaleSetExtensionProperties.suppress_failures
VirtualMachineScaleSetExtensionProperties.type
VirtualMachineScaleSetExtensionProperties.type_handler_version
VirtualMachineScaleSetHardwareProfile
VirtualMachineScaleSetIPConfiguration
VirtualMachineScaleSetIPConfigurationProperties
VirtualMachineScaleSetIPConfigurationProperties.application_gateway_backend_address_pools
VirtualMachineScaleSetIPConfigurationProperties.application_security_groups
VirtualMachineScaleSetIPConfigurationProperties.load_balancer_backend_address_pools
VirtualMachineScaleSetIPConfigurationProperties.load_balancer_inbound_nat_pools
VirtualMachineScaleSetIPConfigurationProperties.primary
VirtualMachineScaleSetIPConfigurationProperties.private_i_p_address_version
VirtualMachineScaleSetIPConfigurationProperties.public_i_p_address_configuration
VirtualMachineScaleSetIPConfigurationProperties.subnet
VirtualMachineScaleSetIpTag
VirtualMachineScaleSetManagedDiskParameters
VirtualMachineScaleSetNetworkConfiguration
VirtualMachineScaleSetNetworkConfigurationDnsSettings
VirtualMachineScaleSetNetworkConfigurationProperties
VirtualMachineScaleSetNetworkConfigurationProperties.auxiliary_mode
VirtualMachineScaleSetNetworkConfigurationProperties.auxiliary_sku
VirtualMachineScaleSetNetworkConfigurationProperties.delete_option
VirtualMachineScaleSetNetworkConfigurationProperties.disable_tcp_state_tracking
VirtualMachineScaleSetNetworkConfigurationProperties.dns_settings
VirtualMachineScaleSetNetworkConfigurationProperties.enable_accelerated_networking
VirtualMachineScaleSetNetworkConfigurationProperties.enable_fpga
VirtualMachineScaleSetNetworkConfigurationProperties.enable_i_p_forwarding
VirtualMachineScaleSetNetworkConfigurationProperties.ip_configurations
VirtualMachineScaleSetNetworkConfigurationProperties.network_security_group
VirtualMachineScaleSetNetworkConfigurationProperties.primary
VirtualMachineScaleSetNetworkProfile
VirtualMachineScaleSetOSDisk
VirtualMachineScaleSetOSDisk.caching
VirtualMachineScaleSetOSDisk.create_option
VirtualMachineScaleSetOSDisk.delete_option
VirtualMachineScaleSetOSDisk.diff_disk_settings
VirtualMachineScaleSetOSDisk.disk_size_g_b
VirtualMachineScaleSetOSDisk.image
VirtualMachineScaleSetOSDisk.managed_disk
VirtualMachineScaleSetOSDisk.name
VirtualMachineScaleSetOSDisk.os_type
VirtualMachineScaleSetOSDisk.vhd_containers
VirtualMachineScaleSetOSDisk.write_accelerator_enabled
VirtualMachineScaleSetOSProfile
VirtualMachineScaleSetOSProfile.admin_password
VirtualMachineScaleSetOSProfile.admin_username
VirtualMachineScaleSetOSProfile.allow_extension_operations
VirtualMachineScaleSetOSProfile.computer_name_prefix
VirtualMachineScaleSetOSProfile.custom_data
VirtualMachineScaleSetOSProfile.linux_configuration
VirtualMachineScaleSetOSProfile.require_guest_provision_signal
VirtualMachineScaleSetOSProfile.secrets
VirtualMachineScaleSetOSProfile.windows_configuration
VirtualMachineScaleSetPublicIPAddressConfiguration
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings
VirtualMachineScaleSetPublicIPAddressConfigurationProperties
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.delete_option
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.dns_settings
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.idle_timeout_in_minutes
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.ip_tags
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.public_i_p_address_version
VirtualMachineScaleSetPublicIPAddressConfigurationProperties.public_i_p_prefix
VirtualMachineScaleSetStorageProfile
VmSizeProfile
WinRMConfiguration
WinRMListener
WindowsConfiguration
WindowsPatchAssessmentMode
WindowsVMGuestPatchAutomaticByPlatformRebootSetting
WindowsVMGuestPatchAutomaticByPlatformSettings
WindowsVMGuestPatchMode
- azure.mgmt.computefleet.operations module
- azure.mgmt.computefleet.models module
- Module contents
- Submodules