|
19 | 19 | from ._configuration import DesktopVirtualizationMgmtClientConfiguration |
20 | 20 | from ._serialization import Deserializer, Serializer |
21 | 21 | from .operations import ( |
| 22 | + ActiveSessionHostConfigurationsOperations, |
22 | 23 | AppAttachPackageInfoOperations, |
23 | 24 | AppAttachPackageOperations, |
24 | 25 | ApplicationGroupsOperations, |
25 | 26 | ApplicationsOperations, |
| 27 | + ControlSessionHostUpdateOperations, |
26 | 28 | DesktopsOperations, |
27 | 29 | HostPoolsOperations, |
| 30 | + InitiateSessionHostUpdateOperations, |
28 | 31 | MSIXPackagesOperations, |
29 | 32 | MsixImagesOperations, |
30 | 33 | Operations, |
|
33 | 36 | ScalingPlanPersonalSchedulesOperations, |
34 | 37 | ScalingPlanPooledSchedulesOperations, |
35 | 38 | ScalingPlansOperations, |
| 39 | + SessionHostConfigurationsOperations, |
| 40 | + SessionHostManagementsOperations, |
| 41 | + SessionHostManagementsUpdateStatusOperations, |
36 | 42 | SessionHostsOperations, |
37 | 43 | StartMenuItemsOperations, |
38 | 44 | UserSessionsOperations, |
39 | 45 | WorkspacesOperations, |
40 | 46 | ) |
41 | 47 |
|
42 | 48 | if TYPE_CHECKING: |
43 | | - # pylint: disable=unused-import,ungrouped-imports |
44 | 49 | from azure.core.credentials import TokenCredential |
45 | 50 |
|
46 | 51 |
|
47 | | -class DesktopVirtualizationMgmtClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes |
48 | | - """DesktopVirtualizationMgmtClient. |
| 52 | +class DesktopVirtualizationMgmtClient: # pylint: disable=too-many-instance-attributes |
| 53 | + """This Typespec represents the Desktop Virtualization API interfaces. |
49 | 54 |
|
50 | 55 | :ivar operations: Operations operations |
51 | 56 | :vartype operations: azure.mgmt.desktopvirtualization.operations.Operations |
| 57 | + :ivar app_attach_package: AppAttachPackageOperations operations |
| 58 | + :vartype app_attach_package: |
| 59 | + azure.mgmt.desktopvirtualization.operations.AppAttachPackageOperations |
| 60 | + :ivar application_groups: ApplicationGroupsOperations operations |
| 61 | + :vartype application_groups: |
| 62 | + azure.mgmt.desktopvirtualization.operations.ApplicationGroupsOperations |
| 63 | + :ivar host_pools: HostPoolsOperations operations |
| 64 | + :vartype host_pools: azure.mgmt.desktopvirtualization.operations.HostPoolsOperations |
| 65 | + :ivar scaling_plans: ScalingPlansOperations operations |
| 66 | + :vartype scaling_plans: azure.mgmt.desktopvirtualization.operations.ScalingPlansOperations |
52 | 67 | :ivar workspaces: WorkspacesOperations operations |
53 | 68 | :vartype workspaces: azure.mgmt.desktopvirtualization.operations.WorkspacesOperations |
| 69 | + :ivar applications: ApplicationsOperations operations |
| 70 | + :vartype applications: azure.mgmt.desktopvirtualization.operations.ApplicationsOperations |
| 71 | + :ivar desktops: DesktopsOperations operations |
| 72 | + :vartype desktops: azure.mgmt.desktopvirtualization.operations.DesktopsOperations |
| 73 | + :ivar start_menu_items: StartMenuItemsOperations operations |
| 74 | + :vartype start_menu_items: azure.mgmt.desktopvirtualization.operations.StartMenuItemsOperations |
| 75 | + :ivar active_session_host_configurations: ActiveSessionHostConfigurationsOperations operations |
| 76 | + :vartype active_session_host_configurations: |
| 77 | + azure.mgmt.desktopvirtualization.operations.ActiveSessionHostConfigurationsOperations |
| 78 | + :ivar msix_images: MsixImagesOperations operations |
| 79 | + :vartype msix_images: azure.mgmt.desktopvirtualization.operations.MsixImagesOperations |
| 80 | + :ivar app_attach_package_info: AppAttachPackageInfoOperations operations |
| 81 | + :vartype app_attach_package_info: |
| 82 | + azure.mgmt.desktopvirtualization.operations.AppAttachPackageInfoOperations |
| 83 | + :ivar msix_packages: MSIXPackagesOperations operations |
| 84 | + :vartype msix_packages: azure.mgmt.desktopvirtualization.operations.MSIXPackagesOperations |
54 | 85 | :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations |
55 | 86 | :vartype private_endpoint_connections: |
56 | 87 | azure.mgmt.desktopvirtualization.operations.PrivateEndpointConnectionsOperations |
57 | 88 | :ivar private_link_resources: PrivateLinkResourcesOperations operations |
58 | 89 | :vartype private_link_resources: |
59 | 90 | azure.mgmt.desktopvirtualization.operations.PrivateLinkResourcesOperations |
60 | | - :ivar scaling_plans: ScalingPlansOperations operations |
61 | | - :vartype scaling_plans: azure.mgmt.desktopvirtualization.operations.ScalingPlansOperations |
62 | | - :ivar scaling_plan_pooled_schedules: ScalingPlanPooledSchedulesOperations operations |
63 | | - :vartype scaling_plan_pooled_schedules: |
64 | | - azure.mgmt.desktopvirtualization.operations.ScalingPlanPooledSchedulesOperations |
| 91 | + :ivar session_host_configurations: SessionHostConfigurationsOperations operations |
| 92 | + :vartype session_host_configurations: |
| 93 | + azure.mgmt.desktopvirtualization.operations.SessionHostConfigurationsOperations |
| 94 | + :ivar session_host_managements: SessionHostManagementsOperations operations |
| 95 | + :vartype session_host_managements: |
| 96 | + azure.mgmt.desktopvirtualization.operations.SessionHostManagementsOperations |
| 97 | + :ivar control_session_host_update: ControlSessionHostUpdateOperations operations |
| 98 | + :vartype control_session_host_update: |
| 99 | + azure.mgmt.desktopvirtualization.operations.ControlSessionHostUpdateOperations |
| 100 | + :ivar initiate_session_host_update: InitiateSessionHostUpdateOperations operations |
| 101 | + :vartype initiate_session_host_update: |
| 102 | + azure.mgmt.desktopvirtualization.operations.InitiateSessionHostUpdateOperations |
| 103 | + :ivar session_host_managements_update_status: SessionHostManagementsUpdateStatusOperations |
| 104 | + operations |
| 105 | + :vartype session_host_managements_update_status: |
| 106 | + azure.mgmt.desktopvirtualization.operations.SessionHostManagementsUpdateStatusOperations |
| 107 | + :ivar session_hosts: SessionHostsOperations operations |
| 108 | + :vartype session_hosts: azure.mgmt.desktopvirtualization.operations.SessionHostsOperations |
| 109 | + :ivar user_sessions: UserSessionsOperations operations |
| 110 | + :vartype user_sessions: azure.mgmt.desktopvirtualization.operations.UserSessionsOperations |
65 | 111 | :ivar scaling_plan_personal_schedules: ScalingPlanPersonalSchedulesOperations operations |
66 | 112 | :vartype scaling_plan_personal_schedules: |
67 | 113 | azure.mgmt.desktopvirtualization.operations.ScalingPlanPersonalSchedulesOperations |
68 | | - :ivar application_groups: ApplicationGroupsOperations operations |
69 | | - :vartype application_groups: |
70 | | - azure.mgmt.desktopvirtualization.operations.ApplicationGroupsOperations |
71 | | - :ivar start_menu_items: StartMenuItemsOperations operations |
72 | | - :vartype start_menu_items: azure.mgmt.desktopvirtualization.operations.StartMenuItemsOperations |
73 | | - :ivar applications: ApplicationsOperations operations |
74 | | - :vartype applications: azure.mgmt.desktopvirtualization.operations.ApplicationsOperations |
75 | | - :ivar desktops: DesktopsOperations operations |
76 | | - :vartype desktops: azure.mgmt.desktopvirtualization.operations.DesktopsOperations |
77 | | - :ivar host_pools: HostPoolsOperations operations |
78 | | - :vartype host_pools: azure.mgmt.desktopvirtualization.operations.HostPoolsOperations |
79 | | - :ivar user_sessions: UserSessionsOperations operations |
80 | | - :vartype user_sessions: azure.mgmt.desktopvirtualization.operations.UserSessionsOperations |
81 | | - :ivar session_hosts: SessionHostsOperations operations |
82 | | - :vartype session_hosts: azure.mgmt.desktopvirtualization.operations.SessionHostsOperations |
83 | | - :ivar msix_packages: MSIXPackagesOperations operations |
84 | | - :vartype msix_packages: azure.mgmt.desktopvirtualization.operations.MSIXPackagesOperations |
85 | | - :ivar app_attach_package_info: AppAttachPackageInfoOperations operations |
86 | | - :vartype app_attach_package_info: |
87 | | - azure.mgmt.desktopvirtualization.operations.AppAttachPackageInfoOperations |
88 | | - :ivar msix_images: MsixImagesOperations operations |
89 | | - :vartype msix_images: azure.mgmt.desktopvirtualization.operations.MsixImagesOperations |
90 | | - :ivar app_attach_package: AppAttachPackageOperations operations |
91 | | - :vartype app_attach_package: |
92 | | - azure.mgmt.desktopvirtualization.operations.AppAttachPackageOperations |
| 114 | + :ivar scaling_plan_pooled_schedules: ScalingPlanPooledSchedulesOperations operations |
| 115 | + :vartype scaling_plan_pooled_schedules: |
| 116 | + azure.mgmt.desktopvirtualization.operations.ScalingPlanPooledSchedulesOperations |
93 | 117 | :param credential: Credential needed for the client to connect to Azure. Required. |
94 | 118 | :type credential: ~azure.core.credentials.TokenCredential |
95 | 119 | :param subscription_id: The ID of the target subscription. The value must be an UUID. Required. |
96 | 120 | :type subscription_id: str |
97 | 121 | :param base_url: Service URL. Default value is "https://management.azure.com". |
98 | 122 | :type base_url: str |
99 | | - :keyword api_version: Api Version. Default value is "2024-04-03". Note that overriding this |
100 | | - default value may result in unsupported behavior. |
| 123 | + :keyword api_version: Api Version. Default value is "2025-04-01-preview". Note that overriding |
| 124 | + this default value may result in unsupported behavior. |
101 | 125 | :paramtype api_version: str |
| 126 | + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no |
| 127 | + Retry-After header is present. |
102 | 128 | """ |
103 | 129 |
|
104 | 130 | def __init__( |
@@ -136,35 +162,53 @@ def __init__( |
136 | 162 | self._deserialize = Deserializer(client_models) |
137 | 163 | self._serialize.client_side_validation = False |
138 | 164 | self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) |
| 165 | + self.app_attach_package = AppAttachPackageOperations( |
| 166 | + self._client, self._config, self._serialize, self._deserialize |
| 167 | + ) |
| 168 | + self.application_groups = ApplicationGroupsOperations( |
| 169 | + self._client, self._config, self._serialize, self._deserialize |
| 170 | + ) |
| 171 | + self.host_pools = HostPoolsOperations(self._client, self._config, self._serialize, self._deserialize) |
| 172 | + self.scaling_plans = ScalingPlansOperations(self._client, self._config, self._serialize, self._deserialize) |
139 | 173 | self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize) |
| 174 | + self.applications = ApplicationsOperations(self._client, self._config, self._serialize, self._deserialize) |
| 175 | + self.desktops = DesktopsOperations(self._client, self._config, self._serialize, self._deserialize) |
| 176 | + self.start_menu_items = StartMenuItemsOperations(self._client, self._config, self._serialize, self._deserialize) |
| 177 | + self.active_session_host_configurations = ActiveSessionHostConfigurationsOperations( |
| 178 | + self._client, self._config, self._serialize, self._deserialize |
| 179 | + ) |
| 180 | + self.msix_images = MsixImagesOperations(self._client, self._config, self._serialize, self._deserialize) |
| 181 | + self.app_attach_package_info = AppAttachPackageInfoOperations( |
| 182 | + self._client, self._config, self._serialize, self._deserialize |
| 183 | + ) |
| 184 | + self.msix_packages = MSIXPackagesOperations(self._client, self._config, self._serialize, self._deserialize) |
140 | 185 | self.private_endpoint_connections = PrivateEndpointConnectionsOperations( |
141 | 186 | self._client, self._config, self._serialize, self._deserialize |
142 | 187 | ) |
143 | 188 | self.private_link_resources = PrivateLinkResourcesOperations( |
144 | 189 | self._client, self._config, self._serialize, self._deserialize |
145 | 190 | ) |
146 | | - self.scaling_plans = ScalingPlansOperations(self._client, self._config, self._serialize, self._deserialize) |
147 | | - self.scaling_plan_pooled_schedules = ScalingPlanPooledSchedulesOperations( |
| 191 | + self.session_host_configurations = SessionHostConfigurationsOperations( |
148 | 192 | self._client, self._config, self._serialize, self._deserialize |
149 | 193 | ) |
150 | | - self.scaling_plan_personal_schedules = ScalingPlanPersonalSchedulesOperations( |
| 194 | + self.session_host_managements = SessionHostManagementsOperations( |
151 | 195 | self._client, self._config, self._serialize, self._deserialize |
152 | 196 | ) |
153 | | - self.application_groups = ApplicationGroupsOperations( |
| 197 | + self.control_session_host_update = ControlSessionHostUpdateOperations( |
| 198 | + self._client, self._config, self._serialize, self._deserialize |
| 199 | + ) |
| 200 | + self.initiate_session_host_update = InitiateSessionHostUpdateOperations( |
| 201 | + self._client, self._config, self._serialize, self._deserialize |
| 202 | + ) |
| 203 | + self.session_host_managements_update_status = SessionHostManagementsUpdateStatusOperations( |
154 | 204 | self._client, self._config, self._serialize, self._deserialize |
155 | 205 | ) |
156 | | - self.start_menu_items = StartMenuItemsOperations(self._client, self._config, self._serialize, self._deserialize) |
157 | | - self.applications = ApplicationsOperations(self._client, self._config, self._serialize, self._deserialize) |
158 | | - self.desktops = DesktopsOperations(self._client, self._config, self._serialize, self._deserialize) |
159 | | - self.host_pools = HostPoolsOperations(self._client, self._config, self._serialize, self._deserialize) |
160 | | - self.user_sessions = UserSessionsOperations(self._client, self._config, self._serialize, self._deserialize) |
161 | 206 | self.session_hosts = SessionHostsOperations(self._client, self._config, self._serialize, self._deserialize) |
162 | | - self.msix_packages = MSIXPackagesOperations(self._client, self._config, self._serialize, self._deserialize) |
163 | | - self.app_attach_package_info = AppAttachPackageInfoOperations( |
| 207 | + self.user_sessions = UserSessionsOperations(self._client, self._config, self._serialize, self._deserialize) |
| 208 | + self.scaling_plan_personal_schedules = ScalingPlanPersonalSchedulesOperations( |
164 | 209 | self._client, self._config, self._serialize, self._deserialize |
165 | 210 | ) |
166 | | - self.msix_images = MsixImagesOperations(self._client, self._config, self._serialize, self._deserialize) |
167 | | - self.app_attach_package = AppAttachPackageOperations( |
| 211 | + self.scaling_plan_pooled_schedules = ScalingPlanPooledSchedulesOperations( |
168 | 212 | self._client, self._config, self._serialize, self._deserialize |
169 | 213 | ) |
170 | 214 |
|
|
0 commit comments