Skip to content

Commit e4b9e57

Browse files
authored
mgmt, local generation for Azure Compute ComputeRP 2024-11-01 (Azure#44589)
* mgmt, local generation for Azure Compute ComputeRP 2024-11-01 * update CHANGELOG.md * update test session record
1 parent 42b8357 commit e4b9e57

File tree

252 files changed

+5857
-1659
lines changed

Some content is hidden

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

252 files changed

+5857
-1659
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"dir": "azure-resourcemanager-compute",
4141
"source": "specification/compute/resource-manager/readme.md",
4242
"package": "com.azure.resourcemanager.compute",
43-
"args": "--tag=package-2024-11-04 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
43+
"args": "--tag=package-2025-02-01 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
4444
},
4545
"compute-hybrid": {
4646
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
## 2.49.0-beta.1 (Unreleased)
44

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` of ComputeRP to `2024-11-01`.
1210

1311
## 2.48.0 (2025-02-28)
1412

sdk/resourcemanager/azure-resourcemanager-compute/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/resourcemanager/azure-resourcemanager-compute",
5-
"Tag": "java/resourcemanager/azure-resourcemanager-compute_ae776f2c6a"
5+
"Tag": "java/resourcemanager/azure-resourcemanager-compute_78176bbe81"
66
}

sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/AvailabilitySetsClient.java

Lines changed: 331 additions & 0 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineImagesClient.java

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66

77
import com.azure.core.annotation.ReturnType;
88
import com.azure.core.annotation.ServiceMethod;
9+
import com.azure.core.http.rest.PagedFlux;
10+
import com.azure.core.http.rest.PagedIterable;
911
import com.azure.core.http.rest.Response;
1012
import com.azure.core.util.Context;
1113
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineImageInner;
1214
import com.azure.resourcemanager.compute.fluent.models.VirtualMachineImageResourceInner;
1315
import com.azure.resourcemanager.compute.fluent.models.VmImagesInEdgeZoneListResultInner;
16+
import com.azure.resourcemanager.compute.models.Expand;
1417
import java.util.List;
1518
import reactor.core.publisher.Mono;
1619

@@ -385,4 +388,77 @@ Response<VmImagesInEdgeZoneListResultInner> listByEdgeZoneWithResponse(String lo
385388
*/
386389
@ServiceMethod(returns = ReturnType.SINGLE)
387390
VmImagesInEdgeZoneListResultInner listByEdgeZone(String location, String edgeZone);
391+
392+
/**
393+
* The listWithProperties operation.
394+
*
395+
* @param location The name of a supported Azure region.
396+
* @param publisherName A valid image publisher.
397+
* @param offer A valid image publisher offer.
398+
* @param skus A valid image SKU.
399+
* @param expand The expand expression to apply on the operation.
400+
* @param top The top parameter.
401+
* @param orderby The orderby parameter.
402+
* @throws IllegalArgumentException thrown if parameters fail the validation.
403+
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
404+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
405+
* @return the List Virtual Machine Images operation response as paginated response with {@link PagedFlux}.
406+
*/
407+
@ServiceMethod(returns = ReturnType.COLLECTION)
408+
PagedFlux<VirtualMachineImageInner> listWithPropertiesAsync(String location, String publisherName, String offer,
409+
String skus, Expand expand, Integer top, String orderby);
410+
411+
/**
412+
* The listWithProperties operation.
413+
*
414+
* @param location The name of a supported Azure region.
415+
* @param publisherName A valid image publisher.
416+
* @param offer A valid image publisher offer.
417+
* @param skus A valid image SKU.
418+
* @param expand The expand expression to apply on the operation.
419+
* @throws IllegalArgumentException thrown if parameters fail the validation.
420+
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
421+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
422+
* @return the List Virtual Machine Images operation response as paginated response with {@link PagedFlux}.
423+
*/
424+
@ServiceMethod(returns = ReturnType.COLLECTION)
425+
PagedFlux<VirtualMachineImageInner> listWithPropertiesAsync(String location, String publisherName, String offer,
426+
String skus, Expand expand);
427+
428+
/**
429+
* The listWithProperties operation.
430+
*
431+
* @param location The name of a supported Azure region.
432+
* @param publisherName A valid image publisher.
433+
* @param offer A valid image publisher offer.
434+
* @param skus A valid image SKU.
435+
* @param expand The expand expression to apply on the operation.
436+
* @throws IllegalArgumentException thrown if parameters fail the validation.
437+
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
438+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
439+
* @return the List Virtual Machine Images operation response as paginated response with {@link PagedIterable}.
440+
*/
441+
@ServiceMethod(returns = ReturnType.COLLECTION)
442+
PagedIterable<VirtualMachineImageInner> listWithProperties(String location, String publisherName, String offer,
443+
String skus, Expand expand);
444+
445+
/**
446+
* The listWithProperties operation.
447+
*
448+
* @param location The name of a supported Azure region.
449+
* @param publisherName A valid image publisher.
450+
* @param offer A valid image publisher offer.
451+
* @param skus A valid image SKU.
452+
* @param expand The expand expression to apply on the operation.
453+
* @param top The top parameter.
454+
* @param orderby The orderby parameter.
455+
* @param context The context to associate with this operation.
456+
* @throws IllegalArgumentException thrown if parameters fail the validation.
457+
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
458+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
459+
* @return the List Virtual Machine Images operation response as paginated response with {@link PagedIterable}.
460+
*/
461+
@ServiceMethod(returns = ReturnType.COLLECTION)
462+
PagedIterable<VirtualMachineImageInner> listWithProperties(String location, String publisherName, String offer,
463+
String skus, Expand expand, Integer top, String orderby, Context context);
388464
}

sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineScaleSetVMsClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ void delete(String resourceGroupName, String vmScaleSetName, String instanceId,
804804
* @param vmScaleSetName The name of the VM scale set.
805805
* @param instanceId The instance ID of the virtual machine.
806806
* @param expand The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of
807-
* the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.
807+
* the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. 'resiliencyView' will retrieve
808+
* the instance view of the Virtual machine (if applicable) and include 'resilientVMDeletionStatus' as part of it.
808809
* @throws IllegalArgumentException thrown if parameters fail the validation.
809810
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
810811
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -836,7 +837,8 @@ Mono<Response<VirtualMachineScaleSetVMInner>> getWithResponseAsync(String resour
836837
* @param vmScaleSetName The name of the VM scale set.
837838
* @param instanceId The instance ID of the virtual machine.
838839
* @param expand The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of
839-
* the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.
840+
* the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. 'resiliencyView' will retrieve
841+
* the instance view of the Virtual machine (if applicable) and include 'resilientVMDeletionStatus' as part of it.
840842
* @param context The context to associate with this operation.
841843
* @throws IllegalArgumentException thrown if parameters fail the validation.
842844
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.

0 commit comments

Comments
 (0)