Skip to content

Commit

Permalink
CodeGen from PR 17486 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6723a28859c4a57ad1795a0629e26d512485d618 into 80e0bf225d3bb42a87d04696481b5c5ec4bef08a
  • Loading branch information
SDKAuto committed Jan 25, 2022
1 parent 28f8dc9 commit 47565cb
Show file tree
Hide file tree
Showing 37 changed files with 381 additions and 349 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2022-01-25)

- Azure Resource Manager DesktopVirtualization client library for Java. This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-preview-2021-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 @@ -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-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface ApplicationGroupsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application group.
* @return an application group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationGroupInner> getByResourceGroupWithResponse(
Expand Down Expand Up @@ -67,7 +67,7 @@ ApplicationGroupInner createOrUpdate(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a ApplicationGroup definition.
* @return represents a ApplicationGroup definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationGroupInner> createOrUpdateWithResponse(
Expand All @@ -94,7 +94,7 @@ Response<ApplicationGroupInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String resourceGroupName, String applicationGroupName, Context context);
Expand Down Expand Up @@ -122,7 +122,7 @@ Response<ApplicationGroupInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a ApplicationGroup definition.
* @return represents a ApplicationGroup definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationGroupInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface ApplicationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application.
* @return an application along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInner> getWithResponse(
Expand Down Expand Up @@ -71,7 +71,7 @@ ApplicationInner createOrUpdate(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return schema for Application properties.
* @return schema for Application properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInner> createOrUpdateWithResponse(
Expand Down Expand Up @@ -104,7 +104,7 @@ Response<ApplicationInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down Expand Up @@ -135,7 +135,7 @@ Response<Void> deleteWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return schema for Application properties.
* @return schema for Application properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ApplicationInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface DesktopsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a desktop.
* @return a desktop along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<DesktopInner> getWithResponse(
Expand Down Expand Up @@ -69,7 +69,7 @@ Response<DesktopInner> getWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return schema for Desktop properties.
* @return schema for Desktop properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<DesktopInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface HostPoolsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a host pool.
* @return a host pool along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<HostPoolInner> getByResourceGroupWithResponse(
Expand Down Expand Up @@ -67,7 +67,7 @@ Response<HostPoolInner> getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a HostPool definition.
* @return represents a HostPool definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<HostPoolInner> createOrUpdateWithResponse(
Expand Down Expand Up @@ -95,7 +95,7 @@ Response<HostPoolInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String resourceGroupName, String hostPoolName, Boolean force, Context context);
Expand Down Expand Up @@ -123,7 +123,7 @@ Response<HostPoolInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a HostPool definition.
* @return represents a HostPool definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<HostPoolInner> updateWithResponse(
Expand Down Expand Up @@ -198,7 +198,7 @@ Response<HostPoolInner> updateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a RegistrationInfo definition.
* @return represents a RegistrationInfo definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<RegistrationInfoInner> retrieveRegistrationTokenWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface MsixPackagesClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a msixpackage.
* @return a msixpackage along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<MsixPackageInner> getWithResponse(
Expand Down Expand Up @@ -71,7 +71,7 @@ MsixPackageInner createOrUpdate(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return schema for MSIX Package properties.
* @return schema for MSIX Package properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<MsixPackageInner> createOrUpdateWithResponse(
Expand Down Expand Up @@ -104,7 +104,7 @@ Response<MsixPackageInner> createOrUpdateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down Expand Up @@ -135,7 +135,7 @@ Response<Void> deleteWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return schema for MSIX Package properties.
* @return schema for MSIX Package properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<MsixPackageInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ PrivateEndpointConnectionWithSystemDataInner getByHostPool(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a private endpoint connection.
* @return a private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionWithSystemDataInner> getByHostPoolWithResponse(
Expand Down Expand Up @@ -101,7 +101,7 @@ Response<PrivateEndpointConnectionWithSystemDataInner> getByHostPoolWithResponse
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteByHostPoolWithResponse(
Expand Down Expand Up @@ -139,7 +139,7 @@ PrivateEndpointConnectionWithSystemDataInner updateByHostPool(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Private Endpoint Connection resource.
* @return the Private Endpoint Connection resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionWithSystemDataInner> updateByHostPoolWithResponse(
Expand Down Expand Up @@ -205,7 +205,7 @@ PrivateEndpointConnectionWithSystemDataInner getByWorkspace(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a private endpoint connection.
* @return a private endpoint connection along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionWithSystemDataInner> getByWorkspaceWithResponse(
Expand Down Expand Up @@ -236,7 +236,7 @@ Response<PrivateEndpointConnectionWithSystemDataInner> getByWorkspaceWithRespons
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteByWorkspaceWithResponse(
Expand Down Expand Up @@ -274,7 +274,7 @@ PrivateEndpointConnectionWithSystemDataInner updateByWorkspace(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Private Endpoint Connection resource.
* @return the Private Endpoint Connection resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<PrivateEndpointConnectionWithSystemDataInner> updateByWorkspaceWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface ScalingPlansClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a scaling plan.
* @return a scaling plan along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ScalingPlanInner> getByResourceGroupWithResponse(
Expand Down Expand Up @@ -66,7 +66,7 @@ Response<ScalingPlanInner> getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return scalingPlan.
* @return scalingPlan along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ScalingPlanInner> createWithResponse(
Expand All @@ -93,7 +93,7 @@ Response<ScalingPlanInner> createWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String resourceGroupName, String scalingPlanName, Context context);
Expand Down Expand Up @@ -121,7 +121,7 @@ Response<ScalingPlanInner> createWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return scalingPlan.
* @return scalingPlan along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ScalingPlanInner> updateWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface SessionHostsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a session host.
* @return a session host along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SessionHostInner> getWithResponse(
Expand Down Expand Up @@ -68,7 +68,7 @@ Response<SessionHostInner> getWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(
Expand Down Expand Up @@ -100,7 +100,7 @@ Response<Void> deleteWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return represents a SessionHost definition.
* @return represents a SessionHost definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<SessionHostInner> updateWithResponse(
Expand Down
Loading

0 comments on commit 47565cb

Please sign in to comment.