Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,157 @@
# Release History

## 3.0.0b1 (2025-05-12)

### Features Added

- Client `DesktopVirtualizationMgmtClient` added operation group `session_host_managements`
- Client `DesktopVirtualizationMgmtClient` added operation group `initiate_session_host_update`
- Client `DesktopVirtualizationMgmtClient` added operation group `control_session_host_update`
- Client `DesktopVirtualizationMgmtClient` added operation group `control_session_host_provisioning`
- Client `DesktopVirtualizationMgmtClient` added operation group `session_host_managements_update_status`
- Client `DesktopVirtualizationMgmtClient` added operation group `session_host_provisioning_statuses`
- Client `DesktopVirtualizationMgmtClient` added operation group `session_host_configurations`
- Client `DesktopVirtualizationMgmtClient` added operation group `active_session_host_configurations`
- Client `DesktopVirtualizationMgmtClient` added operation group `session_host`
- Model `AppAttachPackagePatch` added property `tags`
- Model `AppAttachPackagePatchProperties` added property `package_lookback_url`
- Model `AppAttachPackagePatchProperties` added property `custom_data`
- Model `AppAttachPackageProperties` added property `package_owner_name`
- Model `AppAttachPackageProperties` added property `package_lookback_url`
- Model `AppAttachPackageProperties` added property `custom_data`
- Model `HostPool` added property `management_type`
- Model `HostPool` added property `managed_private_udp`
- Model `HostPool` added property `direct_udp`
- Model `HostPool` added property `public_udp`
- Model `HostPool` added property `relay_udp`
- Model `HostPoolPatch` added property `managed_private_udp`
- Model `HostPoolPatch` added property `direct_udp`
- Model `HostPoolPatch` added property `public_udp`
- Model `HostPoolPatch` added property `relay_udp`
- Enum `LoadBalancerType` added member `MULTIPLE_PERSISTENT`
- Enum `ScalingHostPoolType` added member `PERSONAL`
- Model `ScalingPlanPooledSchedule` added property `name_properties_name`
- Model `ScalingPlanPooledSchedule` added property `scaling_method`
- Model `ScalingPlanPooledSchedule` added property `create_delete`
- Model `ScalingPlanPooledSchedulePatch` added property `name_properties_name`
- Model `ScalingPlanPooledSchedulePatch` added property `scaling_method`
- Model `ScalingPlanPooledSchedulePatch` added property `create_delete`
- Model `ScalingSchedule` added property `scaling_method`
- Model `ScalingSchedule` added property `create_delete`
- Model `SessionHost` added property `active_sessions`
- Model `SessionHost` added property `disconnected_sessions`
- Model `SessionHost` added property `pending_sessions`
- Model `SessionHost` added property `last_session_host_update_time`
- Model `SessionHost` added property `session_host_configuration`
- Added model `ActiveDirectoryInfoPatchProperties`
- Added model `ActiveDirectoryInfoProperties`
- Added model `ActiveSessionHostConfiguration`
- Added model `ActiveSessionHostConfigurationList`
- Added model `AzureActiveDirectoryInfoProperties`
- Added model `BootDiagnosticsInfoPatchProperties`
- Added model `BootDiagnosticsInfoProperties`
- Added enum `CanaryPolicy`
- Added model `CreateDeleteProperties`
- Added model `CustomInfoPatchProperties`
- Added model `CustomInfoProperties`
- Added enum `DiffDiskOption`
- Added enum `DiffDiskPlacement`
- Added model `DiffDiskProperties`
- Added enum `DirectUDP`
- Added model `DiskInfoProperties`
- Added model `DomainInfoPatchProperties`
- Added model `DomainInfoProperties`
- Added enum `DomainJoinType`
- Added enum `FailedSessionHostCleanupPolicySHC`
- Added enum `FaultType`
- Added enum `HostPoolProvisioningAction`
- Added model `HostPoolProvisioningControlParameter`
- Added enum `HostPoolUpdateAction`
- Added model `HostPoolUpdateConfigurationPatchProperties`
- Added model `HostPoolUpdateConfigurationProperties`
- Added model `HostPoolUpdateControlParameter`
- Added model `HostPoolUpdateFault`
- Added model `ImageInfoPatchProperties`
- Added model `ImageInfoProperties`
- Added model `KeyVaultCredentialsPatchProperties`
- Added model `KeyVaultCredentialsProperties`
- Added model `ManagedDiskProperties`
- Added enum `ManagedPrivateUDP`
- Added model `ManagedServiceIdentity`
- Added enum `ManagedServiceIdentityType`
- Added enum `ManagementType`
- Added model `MarketplaceInfoPatchProperties`
- Added model `MarketplaceInfoProperties`
- Added model `NetworkInfoPatchProperties`
- Added model `NetworkInfoProperties`
- Added enum `OperationTypeSHM`
- Added enum `ProvisioningStateSHC`
- Added enum `PublicUDP`
- Added enum `RelayUDP`
- Added enum `ScalingMethod`
- Added model `SecurityInfoPatchProperties`
- Added model `SecurityInfoProperties`
- Added model `SessionHostConfiguration`
- Added model `SessionHostConfigurationList`
- Added model `SessionHostConfigurationPatch`
- Added model `SessionHostManagement`
- Added model `SessionHostManagementList`
- Added model `SessionHostManagementOperationProgress`
- Added model `SessionHostManagementPatch`
- Added model `SessionHostManagementProvisioningOperationProgress`
- Added model `SessionHostManagementProvisioningStatus`
- Added model `SessionHostManagementUpdateStatus`
- Added model `SessionHostProvisioningConfigurationPatchProperties`
- Added model `SessionHostProvisioningConfigurationProperties`
- Added enum `Type`
- Added model `UpdateSessionHostsRequestBody`
- Added model `UserAssignedIdentity`
- Added enum `VirtualMachineDiskType`
- Added enum `VirtualMachineSecurityType`
- Added model `ActiveSessionHostConfigurationsOperations`
- Added model `ControlSessionHostProvisioningOperations`
- Added model `ControlSessionHostUpdateOperations`
- Added model `InitiateSessionHostUpdateOperations`
- Added model `SessionHostConfigurationsOperations`
- Added model `SessionHostManagementsOperations`
- Added model `SessionHostManagementsUpdateStatusOperations`
- Added model `SessionHostOperations`
- Added model `SessionHostProvisioningStatusesOperations`
- Method `ControlSessionHostProvisioningOperations.begin_post` has a new overload `def begin_post(self: None, resource_group_name: str, host_pool_name: str, host_pool_provisioning_control_parameter: HostPoolProvisioningControlParameter, content_type: str)`
- Method `ControlSessionHostProvisioningOperations.begin_post` has a new overload `def begin_post(self: None, resource_group_name: str, host_pool_name: str, host_pool_provisioning_control_parameter: IO[bytes], content_type: str)`
- Method `ControlSessionHostUpdateOperations.begin_post` has a new overload `def begin_post(self: None, resource_group_name: str, host_pool_name: str, host_pool_update_control_parameter: HostPoolUpdateControlParameter, content_type: str)`
- Method `ControlSessionHostUpdateOperations.begin_post` has a new overload `def begin_post(self: None, resource_group_name: str, host_pool_name: str, host_pool_update_control_parameter: IO[bytes], content_type: str)`
- Method `InitiateSessionHostUpdateOperations.post` has a new overload `def post(self: None, resource_group_name: str, host_pool_name: str, update_session_hosts_request_body: Optional[UpdateSessionHostsRequestBody], content_type: str)`
- Method `InitiateSessionHostUpdateOperations.post` has a new overload `def post(self: None, resource_group_name: str, host_pool_name: str, update_session_hosts_request_body: Optional[IO[bytes]], content_type: str)`
- Method `SessionHostConfigurationsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, host_pool_name: str, session_host_configuration: SessionHostConfiguration, content_type: str)`
- Method `SessionHostConfigurationsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, host_pool_name: str, session_host_configuration: IO[bytes], content_type: str)`
- Method `SessionHostConfigurationsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, host_pool_name: str, session_host_configuration: Optional[SessionHostConfigurationPatch], content_type: str)`
- Method `SessionHostConfigurationsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, host_pool_name: str, session_host_configuration: Optional[IO[bytes]], content_type: str)`
- Method `SessionHostManagementsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, host_pool_name: str, session_host_management: SessionHostManagement, content_type: str)`
- Method `SessionHostManagementsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, host_pool_name: str, session_host_management: IO[bytes], content_type: str)`
- Method `SessionHostManagementsOperations.update` has a new overload `def update(self: None, resource_group_name: str, host_pool_name: str, session_host_management: Optional[SessionHostManagementPatch], content_type: str)`
- Method `SessionHostManagementsOperations.update` has a new overload `def update(self: None, resource_group_name: str, host_pool_name: str, session_host_management: Optional[IO[bytes]], content_type: str)`

### Breaking Changes

- Method `ScalingPlanPersonalSchedule.__init__` removed default value `None` from its parameter `days_of_week`
- Method `ScalingPlanPersonalSchedule.__init__` removed default value `None` from its parameter `ramp_up_start_time`
- Method `ScalingPlanPersonalSchedule.__init__` removed default value `None` from its parameter `peak_start_time`
- Method `ScalingPlanPersonalSchedule.__init__` removed default value `None` from its parameter `ramp_down_start_time`
- Method `ScalingPlanPersonalSchedule.__init__` removed default value `None` from its parameter `off_peak_start_time`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `days_of_week`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `ramp_up_start_time`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `ramp_up_capacity_threshold_pct`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `peak_start_time`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `ramp_down_start_time`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `ramp_down_capacity_threshold_pct`
- Method `ScalingPlanPooledSchedule.__init__` removed default value `None` from its parameter `off_peak_start_time`
- Deleted or renamed model `Identity`
- Deleted or renamed model `ResourceModelWithAllowedPropertySetIdentity`
- Deleted or renamed model `ResourceModelWithAllowedPropertySetPlan`
- Deleted or renamed model `ResourceModelWithAllowedPropertySetSku`
- Deleted or renamed model `ScalingScheduleDaysOfWeekItem`

## 2.0.0 (2024-09-23)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Desktop Virtualization Management Client Library.
This package has been tested with Python 3.8+.
This package has been tested with Python 3.9+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.8+ is required to use this package.
- Python 3.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
By default, [Azure Active Directory](https://aka.ms/awps/aad) 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "f1e65f90e77a72258801439e757fc76ecb13a7fc",
"commit": "b4a4558185c9bd8dca3f44b24f3ec442f88c43a6",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.34.1",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/desktopvirtualization/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2024-04 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/desktopvirtualization/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.34.1 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/desktopvirtualization/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._desktop_virtualization_mgmt_client import DesktopVirtualizationMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._desktop_virtualization_mgmt_client import DesktopVirtualizationMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"DesktopVirtualizationMgmtClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


Expand All @@ -28,13 +27,13 @@ class DesktopVirtualizationMgmtClientConfiguration: # pylint: disable=too-many-
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-04-03". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2025-03-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-04-03")
api_version: str = kwargs.pop("api_version", "2025-03-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading