Skip to content

Commit 9feb1b6

Browse files
author
SDKAuto
committed
CodeGen from PR 17807 in Azure/azure-rest-api-specs
Merge f2ebf7a42ea381952874e04871a7cd1511a1aa6d into 9f48feaf684784644513d11ddb7bd0ac2e32f48e
1 parent 5fe5a30 commit 9feb1b6

File tree

134 files changed

+1776
-689
lines changed

Some content is hidden

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

134 files changed

+1776
-689
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.0.0-beta.2 (Unreleased)
3+
## 1.0.0-beta.1 (2022-02-24)
4+
5+
- Azure Resource Manager DesktopVirtualization client library for Java. This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-preview-2022-02. 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: 2 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-preview-2021-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-2022-02. 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-beta.1</version>
35+
<version>1.0.0-beta.2</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 100 additions & 67 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
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for DesktopVirtualization Management</name>
16-
<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-2021-09.</description>
16+
<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-2022-02.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface ApplicationGroupsClient {
3636
* @throws IllegalArgumentException thrown if parameters fail the validation.
3737
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3838
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
39-
* @return an application group.
39+
* @return an application group along with {@link Response}.
4040
*/
4141
@ServiceMethod(returns = ReturnType.SINGLE)
4242
Response<ApplicationGroupInner> getByResourceGroupWithResponse(
@@ -67,7 +67,7 @@ ApplicationGroupInner createOrUpdate(
6767
* @throws IllegalArgumentException thrown if parameters fail the validation.
6868
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6969
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
70-
* @return represents a ApplicationGroup definition.
70+
* @return represents a ApplicationGroup definition along with {@link Response}.
7171
*/
7272
@ServiceMethod(returns = ReturnType.SINGLE)
7373
Response<ApplicationGroupInner> createOrUpdateWithResponse(
@@ -94,7 +94,7 @@ Response<ApplicationGroupInner> createOrUpdateWithResponse(
9494
* @throws IllegalArgumentException thrown if parameters fail the validation.
9595
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9696
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
97-
* @return the response.
97+
* @return the {@link Response}.
9898
*/
9999
@ServiceMethod(returns = ReturnType.SINGLE)
100100
Response<Void> deleteWithResponse(String resourceGroupName, String applicationGroupName, Context context);
@@ -122,7 +122,7 @@ Response<ApplicationGroupInner> createOrUpdateWithResponse(
122122
* @throws IllegalArgumentException thrown if parameters fail the validation.
123123
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
124124
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
125-
* @return represents a ApplicationGroup definition.
125+
* @return represents a ApplicationGroup definition along with {@link Response}.
126126
*/
127127
@ServiceMethod(returns = ReturnType.SINGLE)
128128
Response<ApplicationGroupInner> updateWithResponse(
@@ -135,7 +135,7 @@ Response<ApplicationGroupInner> updateWithResponse(
135135
* @throws IllegalArgumentException thrown if parameters fail the validation.
136136
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
137137
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
138-
* @return applicationGroupList.
138+
* @return applicationGroupList as paginated response with {@link PagedIterable}.
139139
*/
140140
@ServiceMethod(returns = ReturnType.COLLECTION)
141141
PagedIterable<ApplicationGroupInner> listByResourceGroup(String resourceGroupName);
@@ -149,7 +149,7 @@ Response<ApplicationGroupInner> updateWithResponse(
149149
* @throws IllegalArgumentException thrown if parameters fail the validation.
150150
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
151151
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152-
* @return applicationGroupList.
152+
* @return applicationGroupList as paginated response with {@link PagedIterable}.
153153
*/
154154
@ServiceMethod(returns = ReturnType.COLLECTION)
155155
PagedIterable<ApplicationGroupInner> listByResourceGroup(String resourceGroupName, String filter, Context context);
@@ -159,7 +159,7 @@ Response<ApplicationGroupInner> updateWithResponse(
159159
*
160160
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
161161
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
162-
* @return applicationGroupList.
162+
* @return applicationGroupList as paginated response with {@link PagedIterable}.
163163
*/
164164
@ServiceMethod(returns = ReturnType.COLLECTION)
165165
PagedIterable<ApplicationGroupInner> list();
@@ -172,7 +172,7 @@ Response<ApplicationGroupInner> updateWithResponse(
172172
* @throws IllegalArgumentException thrown if parameters fail the validation.
173173
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
174174
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
175-
* @return applicationGroupList.
175+
* @return applicationGroupList as paginated response with {@link PagedIterable}.
176176
*/
177177
@ServiceMethod(returns = ReturnType.COLLECTION)
178178
PagedIterable<ApplicationGroupInner> list(String filter, Context context);

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface ApplicationsClient {
3838
* @throws IllegalArgumentException thrown if parameters fail the validation.
3939
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4040
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
41-
* @return an application.
41+
* @return an application along with {@link Response}.
4242
*/
4343
@ServiceMethod(returns = ReturnType.SINGLE)
4444
Response<ApplicationInner> getWithResponse(
@@ -71,7 +71,7 @@ ApplicationInner createOrUpdate(
7171
* @throws IllegalArgumentException thrown if parameters fail the validation.
7272
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7373
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
74-
* @return schema for Application properties.
74+
* @return schema for Application properties along with {@link Response}.
7575
*/
7676
@ServiceMethod(returns = ReturnType.SINGLE)
7777
Response<ApplicationInner> createOrUpdateWithResponse(
@@ -104,7 +104,7 @@ Response<ApplicationInner> createOrUpdateWithResponse(
104104
* @throws IllegalArgumentException thrown if parameters fail the validation.
105105
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
106106
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
107-
* @return the response.
107+
* @return the {@link Response}.
108108
*/
109109
@ServiceMethod(returns = ReturnType.SINGLE)
110110
Response<Void> deleteWithResponse(
@@ -135,7 +135,7 @@ Response<Void> deleteWithResponse(
135135
* @throws IllegalArgumentException thrown if parameters fail the validation.
136136
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
137137
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
138-
* @return schema for Application properties.
138+
* @return schema for Application properties along with {@link Response}.
139139
*/
140140
@ServiceMethod(returns = ReturnType.SINGLE)
141141
Response<ApplicationInner> updateWithResponse(
@@ -153,7 +153,7 @@ Response<ApplicationInner> updateWithResponse(
153153
* @throws IllegalArgumentException thrown if parameters fail the validation.
154154
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
155155
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
156-
* @return applicationList.
156+
* @return applicationList as paginated response with {@link PagedIterable}.
157157
*/
158158
@ServiceMethod(returns = ReturnType.COLLECTION)
159159
PagedIterable<ApplicationInner> list(String resourceGroupName, String applicationGroupName);
@@ -167,7 +167,7 @@ Response<ApplicationInner> updateWithResponse(
167167
* @throws IllegalArgumentException thrown if parameters fail the validation.
168168
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
169169
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
170-
* @return applicationList.
170+
* @return applicationList as paginated response with {@link PagedIterable}.
171171
*/
172172
@ServiceMethod(returns = ReturnType.COLLECTION)
173173
PagedIterable<ApplicationInner> list(String resourceGroupName, String applicationGroupName, Context context);

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface DesktopsClient {
3838
* @throws IllegalArgumentException thrown if parameters fail the validation.
3939
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4040
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
41-
* @return a desktop.
41+
* @return a desktop along with {@link Response}.
4242
*/
4343
@ServiceMethod(returns = ReturnType.SINGLE)
4444
Response<DesktopInner> getWithResponse(
@@ -69,7 +69,7 @@ Response<DesktopInner> getWithResponse(
6969
* @throws IllegalArgumentException thrown if parameters fail the validation.
7070
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7171
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
72-
* @return schema for Desktop properties.
72+
* @return schema for Desktop properties along with {@link Response}.
7373
*/
7474
@ServiceMethod(returns = ReturnType.SINGLE)
7575
Response<DesktopInner> updateWithResponse(
@@ -87,7 +87,7 @@ Response<DesktopInner> updateWithResponse(
8787
* @throws IllegalArgumentException thrown if parameters fail the validation.
8888
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
8989
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
90-
* @return desktopList.
90+
* @return desktopList as paginated response with {@link PagedIterable}.
9191
*/
9292
@ServiceMethod(returns = ReturnType.COLLECTION)
9393
PagedIterable<DesktopInner> list(String resourceGroupName, String applicationGroupName);
@@ -101,7 +101,7 @@ Response<DesktopInner> updateWithResponse(
101101
* @throws IllegalArgumentException thrown if parameters fail the validation.
102102
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
103103
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
104-
* @return desktopList.
104+
* @return desktopList as paginated response with {@link PagedIterable}.
105105
*/
106106
@ServiceMethod(returns = ReturnType.COLLECTION)
107107
PagedIterable<DesktopInner> list(String resourceGroupName, String applicationGroupName, Context context);

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface HostPoolsClient {
3737
* @throws IllegalArgumentException thrown if parameters fail the validation.
3838
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3939
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
40-
* @return a host pool.
40+
* @return a host pool along with {@link Response}.
4141
*/
4242
@ServiceMethod(returns = ReturnType.SINGLE)
4343
Response<HostPoolInner> getByResourceGroupWithResponse(
@@ -67,7 +67,7 @@ Response<HostPoolInner> getByResourceGroupWithResponse(
6767
* @throws IllegalArgumentException thrown if parameters fail the validation.
6868
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6969
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
70-
* @return represents a HostPool definition.
70+
* @return represents a HostPool definition along with {@link Response}.
7171
*/
7272
@ServiceMethod(returns = ReturnType.SINGLE)
7373
Response<HostPoolInner> createOrUpdateWithResponse(
@@ -95,7 +95,7 @@ Response<HostPoolInner> createOrUpdateWithResponse(
9595
* @throws IllegalArgumentException thrown if parameters fail the validation.
9696
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9797
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
98-
* @return the response.
98+
* @return the {@link Response}.
9999
*/
100100
@ServiceMethod(returns = ReturnType.SINGLE)
101101
Response<Void> deleteWithResponse(String resourceGroupName, String hostPoolName, Boolean force, Context context);
@@ -123,7 +123,7 @@ Response<HostPoolInner> createOrUpdateWithResponse(
123123
* @throws IllegalArgumentException thrown if parameters fail the validation.
124124
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
125125
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
126-
* @return represents a HostPool definition.
126+
* @return represents a HostPool definition along with {@link Response}.
127127
*/
128128
@ServiceMethod(returns = ReturnType.SINGLE)
129129
Response<HostPoolInner> updateWithResponse(
@@ -136,7 +136,7 @@ Response<HostPoolInner> updateWithResponse(
136136
* @throws IllegalArgumentException thrown if parameters fail the validation.
137137
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
138138
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
139-
* @return hostPoolList.
139+
* @return hostPoolList as paginated response with {@link PagedIterable}.
140140
*/
141141
@ServiceMethod(returns = ReturnType.COLLECTION)
142142
PagedIterable<HostPoolInner> listByResourceGroup(String resourceGroupName);
@@ -149,7 +149,7 @@ Response<HostPoolInner> updateWithResponse(
149149
* @throws IllegalArgumentException thrown if parameters fail the validation.
150150
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
151151
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
152-
* @return hostPoolList.
152+
* @return hostPoolList as paginated response with {@link PagedIterable}.
153153
*/
154154
@ServiceMethod(returns = ReturnType.COLLECTION)
155155
PagedIterable<HostPoolInner> listByResourceGroup(String resourceGroupName, Context context);
@@ -159,7 +159,7 @@ Response<HostPoolInner> updateWithResponse(
159159
*
160160
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
161161
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
162-
* @return hostPoolList.
162+
* @return hostPoolList as paginated response with {@link PagedIterable}.
163163
*/
164164
@ServiceMethod(returns = ReturnType.COLLECTION)
165165
PagedIterable<HostPoolInner> list();
@@ -171,7 +171,7 @@ Response<HostPoolInner> updateWithResponse(
171171
* @throws IllegalArgumentException thrown if parameters fail the validation.
172172
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
173173
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
174-
* @return hostPoolList.
174+
* @return hostPoolList as paginated response with {@link PagedIterable}.
175175
*/
176176
@ServiceMethod(returns = ReturnType.COLLECTION)
177177
PagedIterable<HostPoolInner> list(Context context);
@@ -198,7 +198,7 @@ Response<HostPoolInner> updateWithResponse(
198198
* @throws IllegalArgumentException thrown if parameters fail the validation.
199199
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
200200
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
201-
* @return represents a RegistrationInfo definition.
201+
* @return represents a RegistrationInfo definition along with {@link Response}.
202202
*/
203203
@ServiceMethod(returns = ReturnType.SINGLE)
204204
Response<RegistrationInfoInner> retrieveRegistrationTokenWithResponse(

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public interface MsixImagesClient {
2222
* @throws IllegalArgumentException thrown if parameters fail the validation.
2323
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
2424
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
25-
* @return expandMsixImageList.
25+
* @return expandMsixImageList as paginated response with {@link PagedIterable}.
2626
*/
2727
@ServiceMethod(returns = ReturnType.COLLECTION)
2828
PagedIterable<ExpandMsixImageInner> expand(
@@ -38,7 +38,7 @@ PagedIterable<ExpandMsixImageInner> expand(
3838
* @throws IllegalArgumentException thrown if parameters fail the validation.
3939
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4040
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
41-
* @return expandMsixImageList.
41+
* @return expandMsixImageList as paginated response with {@link PagedIterable}.
4242
*/
4343
@ServiceMethod(returns = ReturnType.COLLECTION)
4444
PagedIterable<ExpandMsixImageInner> expand(

0 commit comments

Comments
 (0)