Microsoft Azure SDK for Python¶
This is the Microsoft Azure Desktop Virtualization 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-desktopvirtualization
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.desktopvirtualization import DesktopVirtualizationMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DesktopVirtualizationMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples¶
Code samples for this package can be found at:
Search Desktop Virtualization 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.desktopvirtualization package
- Submodules
- azure.mgmt.desktopvirtualization.models module
AgentUpdatePatchProperties
AgentUpdateProperties
AppAttachPackage
AppAttachPackageArchitectures
AppAttachPackageInfoProperties
AppAttachPackageList
AppAttachPackagePatch
AppAttachPackagePatchProperties
AppAttachPackageProperties
Application
ApplicationGroup
ApplicationGroupList
ApplicationGroupPatch
ApplicationGroupType
ApplicationList
ApplicationPatch
ApplicationType
CloudErrorProperties
CommandLineSetting
CreatedByType
DayOfWeek
Desktop
DesktopList
DesktopPatch
ErrorAdditionalInfo
ErrorDetail
ErrorResponse
ExpandMsixImage
ExpandMsixImageList
FailHealthCheckOnStagingFailure
HealthCheckName
HealthCheckName.APP_ATTACH_HEALTH_CHECK
HealthCheckName.DOMAIN_JOINED_CHECK
HealthCheckName.DOMAIN_REACHABLE
HealthCheckName.DOMAIN_TRUST_CHECK
HealthCheckName.FS_LOGIX_HEALTH_CHECK
HealthCheckName.META_DATA_SERVICE_CHECK
HealthCheckName.MONITORING_AGENT_CHECK
HealthCheckName.SUPPORTED_ENCRYPTION_CHECK
HealthCheckName.SX_S_STACK_LISTENER_CHECK
HealthCheckName.URLS_ACCESSIBLE_CHECK
HealthCheckName.WEB_RTC_REDIRECTOR_CHECK
HealthCheckResult
HostPool
HostPoolList
HostPoolPatch
HostPoolType
HostpoolPublicNetworkAccess
Identity
ImportPackageInfoRequest
LoadBalancerType
LogSpecification
MSIXImageURI
MSIXPackage
MSIXPackageList
MSIXPackagePatch
MaintenanceWindowPatchProperties
MaintenanceWindowProperties
MsixPackageApplications
MsixPackageDependencies
OperationProperties
PackageTimestamped
PersonalDesktopAssignmentType
Plan
PreferredAppGroupType
PrivateEndpoint
PrivateEndpointConnection
PrivateEndpointConnectionListResultWithSystemData
PrivateEndpointConnectionProvisioningState
PrivateEndpointConnectionWithSystemData
PrivateEndpointServiceConnectionStatus
PrivateLinkResource
PrivateLinkResourceListResult
PrivateLinkServiceConnectionState
ProvisioningState
ProxyResource
PublicNetworkAccess
RegistrationInfo
RegistrationInfoPatch
RegistrationTokenList
RegistrationTokenMinimal
RegistrationTokenOperation
RemoteApplicationType
Resource
ResourceModelWithAllowedPropertySet
ResourceModelWithAllowedPropertySetIdentity
ResourceModelWithAllowedPropertySetPlan
ResourceModelWithAllowedPropertySetSku
ResourceProviderOperation
ResourceProviderOperationDisplay
ResourceProviderOperationList
SSOSecretType
ScalingHostPoolReference
ScalingHostPoolType
ScalingPlan
ScalingPlanList
ScalingPlanPatch
ScalingPlanPersonalSchedule
ScalingPlanPersonalScheduleList
ScalingPlanPersonalSchedulePatch
ScalingPlanPooledSchedule
ScalingPlanPooledScheduleList
ScalingPlanPooledSchedulePatch
ScalingSchedule
ScalingScheduleDaysOfWeekItem
SendMessage
ServiceSpecification
SessionHandlingOperation
SessionHost
SessionHostComponentUpdateType
SessionHostHealthCheckFailureDetails
SessionHostHealthCheckReport
SessionHostList
SessionHostLoadBalancingAlgorithm
SessionHostPatch
SessionState
SetStartVMOnConnect
Sku
SkuTier
StartMenuItem
StartMenuItemList
StartupBehavior
Status
StopHostsWhen
SystemData
Time
TrackedResource
UpdateState
UserSession
UserSessionList
Workspace
WorkspaceList
WorkspacePatch
- azure.mgmt.desktopvirtualization.operations module
AppAttachPackageInfoOperations
AppAttachPackageOperations
ApplicationGroupsOperations
ApplicationsOperations
DesktopsOperations
HostPoolsOperations
HostPoolsOperations.create_or_update()
HostPoolsOperations.delete()
HostPoolsOperations.get()
HostPoolsOperations.list()
HostPoolsOperations.list_by_resource_group()
HostPoolsOperations.list_registration_tokens()
HostPoolsOperations.retrieve_registration_token()
HostPoolsOperations.update()
HostPoolsOperations.models
MSIXPackagesOperations
MsixImagesOperations
Operations
PrivateEndpointConnectionsOperations
PrivateEndpointConnectionsOperations.delete_by_host_pool()
PrivateEndpointConnectionsOperations.delete_by_workspace()
PrivateEndpointConnectionsOperations.get_by_host_pool()
PrivateEndpointConnectionsOperations.get_by_workspace()
PrivateEndpointConnectionsOperations.list_by_host_pool()
PrivateEndpointConnectionsOperations.list_by_workspace()
PrivateEndpointConnectionsOperations.update_by_host_pool()
PrivateEndpointConnectionsOperations.update_by_workspace()
PrivateEndpointConnectionsOperations.models
PrivateLinkResourcesOperations
ScalingPlanPersonalSchedulesOperations
ScalingPlanPooledSchedulesOperations
ScalingPlansOperations
SessionHostsOperations
StartMenuItemsOperations
UserSessionsOperations
WorkspacesOperations
- azure.mgmt.desktopvirtualization.models module
- Module contents
- Submodules