Skip to content

Commit

Permalink
CodeGen from PR 25747 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Alec baird desktopvirtualization microsoft.desktop virtualization 2023 09 05 (Azure#25747)

* Adds base for updating Microsoft.DesktopVirtualization from version preview/2023-07-07-preview to version 2023-09-05

* Updates readme

* Updates API version in new specs and examples

* Added Scaling breaking changes to swagger
  • Loading branch information
SDKAuto committed Sep 18, 2023
1 parent 882c56c commit 1a569f5
Show file tree
Hide file tree
Showing 236 changed files with 13,088 additions and 6,321 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-09-18)

- Azure Resource Manager DesktopVirtualization client library for Java. This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-2023-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager DesktopVirtualization client library for Java.

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).
This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-2023-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-desktopvirtualization</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdesktopvirtualization%2Fazure-resourcemanager-desktopvirtualization%2FREADME.png)

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for DesktopVirtualization Management</name>
<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>
<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-2023-09.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,6 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
import com.azure.resourcemanager.desktopvirtualization.implementation.MsixImagesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.MsixPackagesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.OperationsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.PrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.PrivateLinkResourcesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlanPersonalSchedulesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlanPooledSchedulesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.ScalingPlansImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.SessionHostsImpl;
Expand All @@ -45,6 +48,9 @@
import com.azure.resourcemanager.desktopvirtualization.models.MsixImages;
import com.azure.resourcemanager.desktopvirtualization.models.MsixPackages;
import com.azure.resourcemanager.desktopvirtualization.models.Operations;
import com.azure.resourcemanager.desktopvirtualization.models.PrivateEndpointConnections;
import com.azure.resourcemanager.desktopvirtualization.models.PrivateLinkResources;
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPersonalSchedules;
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlanPooledSchedules;
import com.azure.resourcemanager.desktopvirtualization.models.ScalingPlans;
import com.azure.resourcemanager.desktopvirtualization.models.SessionHosts;
Expand All @@ -64,10 +70,16 @@ public final class DesktopVirtualizationManager {

private Workspaces workspaces;

private PrivateEndpointConnections privateEndpointConnections;

private PrivateLinkResources privateLinkResources;

private ScalingPlans scalingPlans;

private ScalingPlanPooledSchedules scalingPlanPooledSchedules;

private ScalingPlanPersonalSchedules scalingPlanPersonalSchedules;

private ApplicationGroups applicationGroups;

private StartMenuItems startMenuItems;
Expand Down Expand Up @@ -252,7 +264,7 @@ public DesktopVirtualizationManager authenticate(TokenCredential credential, Azu
.append("-")
.append("com.azure.resourcemanager.desktopvirtualization")
.append("/")
.append("1.0.0");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -333,6 +345,31 @@ public Workspaces workspaces() {
return workspaces;
}

/**
* Gets the resource collection API of PrivateEndpointConnections.
*
* @return Resource collection API of PrivateEndpointConnections.
*/
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
this.privateEndpointConnections =
new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
}
return privateEndpointConnections;
}

/**
* Gets the resource collection API of PrivateLinkResources.
*
* @return Resource collection API of PrivateLinkResources.
*/
public PrivateLinkResources privateLinkResources() {
if (this.privateLinkResources == null) {
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
}
return privateLinkResources;
}

/**
* Gets the resource collection API of ScalingPlans. It manages ScalingPlan.
*
Expand All @@ -358,6 +395,19 @@ public ScalingPlanPooledSchedules scalingPlanPooledSchedules() {
return scalingPlanPooledSchedules;
}

/**
* Gets the resource collection API of ScalingPlanPersonalSchedules. It manages ScalingPlanPersonalSchedule.
*
* @return Resource collection API of ScalingPlanPersonalSchedules.
*/
public ScalingPlanPersonalSchedules scalingPlanPersonalSchedules() {
if (this.scalingPlanPersonalSchedules == null) {
this.scalingPlanPersonalSchedules =
new ScalingPlanPersonalSchedulesImpl(clientObject.getScalingPlanPersonalSchedules(), this);
}
return scalingPlanPersonalSchedules;
}

/**
* Gets the resource collection API of ApplicationGroups. It manages ApplicationGroup.
*
Expand Down Expand Up @@ -467,8 +517,10 @@ public MsixImages msixImages() {
}

/**
* @return Wrapped service client DesktopVirtualizationApiClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
* Gets wrapped service client DesktopVirtualizationApiClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
*
* @return Wrapped service client DesktopVirtualizationApiClient.
*/
public DesktopVirtualizationApiClient serviceClient() {
return this.clientObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ public interface DesktopVirtualizationApiClient {
*/
WorkspacesClient getWorkspaces();

/**
* Gets the PrivateEndpointConnectionsClient object to access its operations.
*
* @return the PrivateEndpointConnectionsClient object.
*/
PrivateEndpointConnectionsClient getPrivateEndpointConnections();

/**
* Gets the PrivateLinkResourcesClient object to access its operations.
*
* @return the PrivateLinkResourcesClient object.
*/
PrivateLinkResourcesClient getPrivateLinkResources();

/**
* Gets the ScalingPlansClient object to access its operations.
*
Expand All @@ -72,6 +86,13 @@ public interface DesktopVirtualizationApiClient {
*/
ScalingPlanPooledSchedulesClient getScalingPlanPooledSchedules();

/**
* Gets the ScalingPlanPersonalSchedulesClient object to access its operations.
*
* @return the ScalingPlanPersonalSchedulesClient object.
*/
ScalingPlanPersonalSchedulesClient getScalingPlanPersonalSchedules();

/**
* Gets the ApplicationGroupsClient object to access its operations.
*
Expand Down
Loading

0 comments on commit 1a569f5

Please sign in to comment.