Package: azure-mgmt-desktopvirtualization
Microsoft Azure SDK for PythonThis is the Microsoft Azure Desktop Virtualization Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-desktopvirtualization
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of 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 variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.desktopvirtualizationimportDesktopVirtualizationMgmtClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=DesktopVirtualizationMgmtClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Desktop Virtualization Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History1.1.0 (2023-10-23)Features AddedAdded operation group PrivateEndpointConnectionsOperationsAdded operation group PrivateLinkResourcesOperationsAdded operation group ScalingPlanPersonalSchedulesOperationsModel ApplicationGroup has a new parameter show_in_feedModel ApplicationGroupPatch has a new parameter show_in_feedModel HostPool has a new parameter private_endpoint_connectionsModel HostPool has a new parameter public_network_accessModel HostPoolPatch has a new parameter public_network_accessModel Workspace has a new parameter private_endpoint_connectionsModel Workspace has a new parameter public_network_accessModel WorkspacePatch has a new parameter public_network_access1.0.0 (2023-03-20)other changesFirst GA version1.0.0b2 (2022-11-09)Features AddedAdded operation group ScalingPlanPooledSchedulesOperationsModel HostPool has a new parameter agent_updateModel HostPoolPatch has a new parameter agent_updateModel SessionHost has a new parameter friendly_nameModel SessionHostPatch has a new parameter friendly_nameBreaking ChangesClient name is changed fromDesktopVirtualizationAPIClienttoDesktopVirtualizationMgmtClientModel ApplicationGroup no longer has parameter migration_requestModel HostPool no longer has parameter migration_requestModel HostPool no longer has parameter public_network_accessModel HostPoolPatch no longer has parameter public_network_accessModel Workspace no longer has parameter public_network_accessModel WorkspacePatch no longer has parameter public_network_accessOperation ApplicationGroupsOperations.list_by_resource_group has a new parameter initial_skipOperation ApplicationGroupsOperations.list_by_resource_group has a new parameter is_descendingOperation ApplicationGroupsOperations.list_by_resource_group has a new parameter page_sizeOperation ApplicationsOperations.list has a new parameter initial_skipOperation ApplicationsOperations.list has a new parameter is_descendingOperation ApplicationsOperations.list has a new parameter page_sizeOperation DesktopsOperations.list has a new parameter initial_skipOperation DesktopsOperations.list has a new parameter is_descendingOperation DesktopsOperations.list has a new parameter page_sizeOperation HostPoolsOperations.list has a new parameter initial_skipOperation HostPoolsOperations.list has a new parameter is_descendingOperation HostPoolsOperations.list has a new parameter page_sizeOperation HostPoolsOperations.list_by_resource_group has a new parameter initial_skipOperation HostPoolsOperations.list_by_resource_group has a new parameter is_descendingOperation HostPoolsOperations.list_by_resource_group has a new parameter page_sizeOperation MSIXPackagesOperations.list has a new parameter initial_skipOperation MSIXPackagesOperations.list has a new parameter is_descendingOperation MSIXPackagesOperations.list has a new parameter page_sizeOperation ScalingPlansOperations.list_by_host_pool has a new parameter initial_skipOperation ScalingPlansOperations.list_by_host_pool has a new parameter is_descendingOperation ScalingPlansOperations.list_by_host_pool has a new parameter page_sizeOperation ScalingPlansOperations.list_by_resource_group has a new parameter initial_skipOperation ScalingPlansOperations.list_by_resource_group has a new parameter is_descendingOperation ScalingPlansOperations.list_by_resource_group has a new parameter page_sizeOperation ScalingPlansOperations.list_by_subscription has a new parameter initial_skipOperation ScalingPlansOperations.list_by_subscription has a new parameter is_descendingOperation ScalingPlansOperations.list_by_subscription has a new parameter page_sizeOperation SessionHostsOperations.list has a new parameter initial_skipOperation SessionHostsOperations.list has a new parameter is_descendingOperation SessionHostsOperations.list has a new parameter page_sizeOperation StartMenuItemsOperations.list has a new parameter initial_skipOperation StartMenuItemsOperations.list has a new parameter is_descendingOperation StartMenuItemsOperations.list has a new parameter page_sizeOperation UserSessionsOperations.list has a new parameter initial_skipOperation UserSessionsOperations.list has a new parameter is_descendingOperation UserSessionsOperations.list has a new parameter page_sizeOperation UserSessionsOperations.list_by_host_pool has a new parameter initial_skipOperation UserSessionsOperations.list_by_host_pool has a new parameter is_descendingOperation UserSessionsOperations.list_by_host_pool has a new parameter page_sizeOperation WorkspacesOperations.list_by_resource_group has a new parameter initial_skipOperation WorkspacesOperations.list_by_resource_group has a new parameter is_descendingOperation WorkspacesOperations.list_by_resource_group has a new parameter page_sizeParameter time_zone of model ScalingPlan is now requiredRemoved operation group PrivateEndpointConnectionsOperationsRemoved operation group PrivateLinkResourcesOperations1.0.0b1 (2021-11-11)Initial Release