Skip to content

Commit

Permalink
mgmt, upgrade compute to 2021-08-01 (#26529)
Browse files Browse the repository at this point in the history
* compute 2021-08-01

* session

* changelog

* minor change to test code

* update SINGLE_SERVICE_PACKAGES.md

* recording
  • Loading branch information
weidongxu-microsoft authored Jan 17, 2022
1 parent e9a73a8 commit 3ed3a9c
Show file tree
Hide file tree
Showing 260 changed files with 90,853 additions and 88,354 deletions.
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"dir": "azure-resourcemanager-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.azure.resourcemanager.compute",
"args": "--tag=package-2021-07-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
"args": "--tag=package-2021-08-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
},
"compute-hybrid": {
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

- Supported Flexible orchestration mode for `VirtualMachineScaleSet` during create.

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `api-version` to `2021-08-01`.

## 2.10.0 (2021-11-22)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public interface AvailabilitySetsClient
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(
Expand All @@ -47,7 +48,8 @@ Mono<Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<AvailabilitySetInner> createOrUpdateAsync(
Expand Down Expand Up @@ -78,7 +80,8 @@ AvailabilitySetInner 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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AvailabilitySetInner> createOrUpdateWithResponse(
Expand All @@ -93,7 +96,8 @@ Response<AvailabilitySetInner> 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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<AvailabilitySetInner>> updateWithResponseAsync(
Expand All @@ -108,7 +112,8 @@ Mono<Response<AvailabilitySetInner>> updateWithResponseAsync(
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<AvailabilitySetInner> updateAsync(
Expand Down Expand Up @@ -138,7 +143,8 @@ Mono<AvailabilitySetInner> updateAsync(
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AvailabilitySetInner> updateWithResponse(
Expand All @@ -152,7 +158,7 @@ Response<AvailabilitySetInner> 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 the completion.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String availabilitySetName);
Expand All @@ -165,7 +171,7 @@ Response<AvailabilitySetInner> 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 the completion.
* @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> deleteAsync(String resourceGroupName, String availabilitySetName);
Expand All @@ -191,7 +197,7 @@ Response<AvailabilitySetInner> 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 the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String resourceGroupName, String availabilitySetName, Context context);
Expand All @@ -204,7 +210,8 @@ Response<AvailabilitySetInner> 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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(
Expand All @@ -218,7 +225,8 @@ Mono<Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<AvailabilitySetInner> getByResourceGroupAsync(String resourceGroupName, String availabilitySetName);
Expand All @@ -245,7 +253,8 @@ Mono<Response<AvailabilitySetInner>> getByResourceGroupWithResponseAsync(
* @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 specifies information about the availability set that the virtual machine should be assigned to.
* @return specifies information about the availability set that the virtual machine should be assigned to along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AvailabilitySetInner> getByResourceGroupWithResponse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface CapacityReservationGroupsClient
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<CapacityReservationGroupInner>> createOrUpdateWithResponseAsync(
Expand All @@ -52,7 +52,7 @@ Mono<Response<CapacityReservationGroupInner>> createOrUpdateWithResponseAsync(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<CapacityReservationGroupInner> createOrUpdateAsync(
Expand Down Expand Up @@ -87,7 +87,7 @@ CapacityReservationGroupInner createOrUpdate(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CapacityReservationGroupInner> createOrUpdateWithResponse(
Expand All @@ -107,7 +107,7 @@ Response<CapacityReservationGroupInner> createOrUpdateWithResponse(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<CapacityReservationGroupInner>> updateWithResponseAsync(
Expand All @@ -124,7 +124,7 @@ Mono<Response<CapacityReservationGroupInner>> updateWithResponseAsync(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<CapacityReservationGroupInner> updateAsync(
Expand Down Expand Up @@ -159,7 +159,7 @@ CapacityReservationGroupInner update(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CapacityReservationGroupInner> updateWithResponse(
Expand All @@ -178,7 +178,7 @@ Response<CapacityReservationGroupInner> updateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
* @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String capacityReservationGroupName);
Expand All @@ -193,7 +193,7 @@ Response<CapacityReservationGroupInner> updateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
* @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> deleteAsync(String resourceGroupName, String capacityReservationGroupName);
Expand Down Expand Up @@ -223,7 +223,7 @@ Response<CapacityReservationGroupInner> updateWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.compute.models.ApiErrorException 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 capacityReservationGroupName, Context context);
Expand All @@ -241,7 +241,7 @@ Response<CapacityReservationGroupInner> updateWithResponse(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<CapacityReservationGroupInner>> getByResourceGroupWithResponseAsync(
Expand All @@ -262,7 +262,7 @@ Mono<Response<CapacityReservationGroupInner>> getByResourceGroupWithResponseAsyn
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<CapacityReservationGroupInner> getByResourceGroupAsync(
Expand All @@ -279,7 +279,7 @@ Mono<CapacityReservationGroupInner> getByResourceGroupAsync(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<CapacityReservationGroupInner> getByResourceGroupAsync(
Expand Down Expand Up @@ -313,7 +313,7 @@ Mono<CapacityReservationGroupInner> getByResourceGroupAsync(
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return specifies information about the capacity reservation group that the capacity reservations should be
* assigned to.
* assigned to along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<CapacityReservationGroupInner> getByResourceGroupWithResponse(
Expand Down
Loading

0 comments on commit 3ed3a9c

Please sign in to comment.