Skip to content

Commit 35abd26

Browse files
author
SDKAuto
committed
CodeGen from PR 24747 in Azure/azure-rest-api-specs
Merge 6c9efbbf4572eee26effb6f0fb5ec8027d6ff65f into ad997e99eccc15b7ab4cd66ae3f1f9534a1e2628
1 parent c1d6671 commit 35abd26

File tree

235 files changed

+13068
-6318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+13068
-6318
lines changed

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2023-08-08)
4+
5+
- Azure Resource Manager DesktopVirtualization client library for Java. This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-preview-2023-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager DesktopVirtualization client library for Java.
44

5-
This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-2022-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-preview-2023-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-desktopvirtualization</artifactId>
35-
<version>1.0.0</version>
35+
<version>1.1.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
103103
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
104104
[coc]: https://opensource.microsoft.com/codeofconduct/
105105
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
106+
107+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdesktopvirtualization%2Fazure-resourcemanager-desktopvirtualization%2FREADME.png)

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/SAMPLE.md

Lines changed: 527 additions & 57 deletions
Large diffs are not rendered by default.

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for DesktopVirtualization Management</name>
21-
<description>This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2022-09.</description>
21+
<description>This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-preview-2023-07.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/src/main/java/com/azure/resourcemanager/desktopvirtualization/DesktopVirtualizationManager.java

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
import com.azure.resourcemanager.desktopvirtualization.implementation.MsixImagesImpl;
3333
import com.azure.resourcemanager.desktopvirtualization.implementation.MsixPackagesImpl;
3434
import com.azure.resourcemanager.desktopvirtualization.implementation.OperationsImpl;
35+
import com.azure.resourcemanager.desktopvirtualization.implementation.PrivateEndpointConnectionsImpl;
36+
import com.azure.resourcemanager.desktopvirtualization.implementation.PrivateLinkResourcesImpl;
37+
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlanPersonalSchedulesImpl;
3538
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlanPooledSchedulesImpl;
3639
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlansImpl;
3740
import com.azure.resourcemanager.desktopvirtualization.implementation.SessionHostsImpl;
@@ -45,6 +48,9 @@
4548
import com.azure.resourcemanager.desktopvirtualization.models.MsixImages;
4649
import com.azure.resourcemanager.desktopvirtualization.models.MsixPackages;
4750
import com.azure.resourcemanager.desktopvirtualization.models.Operations;
51+
import com.azure.resourcemanager.desktopvirtualization.models.PrivateEndpointConnections;
52+
import com.azure.resourcemanager.desktopvirtualization.models.PrivateLinkResources;
53+
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPersonalSchedules;
4854
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPooledSchedules;
4955
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlans;
5056
import com.azure.resourcemanager.desktopvirtualization.models.SessionHosts;
@@ -64,10 +70,16 @@ public final class DesktopVirtualizationManager {
6470

6571
private Workspaces workspaces;
6672

73+
private PrivateEndpointConnections privateEndpointConnections;
74+
75+
private PrivateLinkResources privateLinkResources;
76+
6777
private ScalingPlans scalingPlans;
6878

6979
private ScalingPlanPooledSchedules scalingPlanPooledSchedules;
7080

81+
private ScalingPlanPersonalSchedules scalingPlanPersonalSchedules;
82+
7183
private ApplicationGroups applicationGroups;
7284

7385
private StartMenuItems startMenuItems;
@@ -252,7 +264,7 @@ public DesktopVirtualizationManager authenticate(TokenCredential credential, Azu
252264
.append("-")
253265
.append("com.azure.resourcemanager.desktopvirtualization")
254266
.append("/")
255-
.append("1.0.0");
267+
.append("1.0.0-beta.1");
256268
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
257269
userAgentBuilder
258270
.append(" (")
@@ -333,6 +345,31 @@ public Workspaces workspaces() {
333345
return workspaces;
334346
}
335347

348+
/**
349+
* Gets the resource collection API of PrivateEndpointConnections.
350+
*
351+
* @return Resource collection API of PrivateEndpointConnections.
352+
*/
353+
public PrivateEndpointConnections privateEndpointConnections() {
354+
if (this.privateEndpointConnections == null) {
355+
this.privateEndpointConnections =
356+
new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
357+
}
358+
return privateEndpointConnections;
359+
}
360+
361+
/**
362+
* Gets the resource collection API of PrivateLinkResources.
363+
*
364+
* @return Resource collection API of PrivateLinkResources.
365+
*/
366+
public PrivateLinkResources privateLinkResources() {
367+
if (this.privateLinkResources == null) {
368+
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
369+
}
370+
return privateLinkResources;
371+
}
372+
336373
/**
337374
* Gets the resource collection API of ScalingPlans. It manages ScalingPlan.
338375
*
@@ -358,6 +395,19 @@ public ScalingPlanPooledSchedules scalingPlanPooledSchedules() {
358395
return scalingPlanPooledSchedules;
359396
}
360397

398+
/**
399+
* Gets the resource collection API of ScalingPlanPersonalSchedules. It manages ScalingPlanPersonalSchedule.
400+
*
401+
* @return Resource collection API of ScalingPlanPersonalSchedules.
402+
*/
403+
public ScalingPlanPersonalSchedules scalingPlanPersonalSchedules() {
404+
if (this.scalingPlanPersonalSchedules == null) {
405+
this.scalingPlanPersonalSchedules =
406+
new ScalingPlanPersonalSchedulesImpl(clientObject.getScalingPlanPersonalSchedules(), this);
407+
}
408+
return scalingPlanPersonalSchedules;
409+
}
410+
361411
/**
362412
* Gets the resource collection API of ApplicationGroups. It manages ApplicationGroup.
363413
*

sdk/desktopvirtualization/azure-resourcemanager-desktopvirtualization/src/main/java/com/azure/resourcemanager/desktopvirtualization/fluent/DesktopVirtualizationApiClient.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ public interface DesktopVirtualizationApiClient {
5858
*/
5959
WorkspacesClient getWorkspaces();
6060

61+
/**
62+
* Gets the PrivateEndpointConnectionsClient object to access its operations.
63+
*
64+
* @return the PrivateEndpointConnectionsClient object.
65+
*/
66+
PrivateEndpointConnectionsClient getPrivateEndpointConnections();
67+
68+
/**
69+
* Gets the PrivateLinkResourcesClient object to access its operations.
70+
*
71+
* @return the PrivateLinkResourcesClient object.
72+
*/
73+
PrivateLinkResourcesClient getPrivateLinkResources();
74+
6175
/**
6276
* Gets the ScalingPlansClient object to access its operations.
6377
*
@@ -72,6 +86,13 @@ public interface DesktopVirtualizationApiClient {
7286
*/
7387
ScalingPlanPooledSchedulesClient getScalingPlanPooledSchedules();
7488

89+
/**
90+
* Gets the ScalingPlanPersonalSchedulesClient object to access its operations.
91+
*
92+
* @return the ScalingPlanPersonalSchedulesClient object.
93+
*/
94+
ScalingPlanPersonalSchedulesClient getScalingPlanPersonalSchedules();
95+
7596
/**
7697
* Gets the ApplicationGroupsClient object to access its operations.
7798
*

0 commit comments

Comments
 (0)