[AutoPR azure-resourcemanager-compute-bulkactions]-generated-from-SDK Generation - Java-6715175 - #50174
Conversation
…pute/Bulkactions/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '83ee12a23d0ab5a14b990f8b5700e787eb8a0b7c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6715175 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 35 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Updates the azure-resourcemanager-compute-bulkactions SDK to the 2026-08-06-preview API surface (new spec commit), regenerating models/tests/samples and adding new BulkCreateCustom & ScheduledActions capabilities.
Changes:
- Bumps API version references (client
apiVersion, README, pom description, sample metadata) to2026-08-06-preview. - Introduces capacity recommendation + partial fulfillment modeling and wiring (e.g.,
ExecutionParameters.capacityRecommendationParameters,ResourceOperationDetails.capacityRecommendation, partial fulfillment enums). - Refactors ScheduledActions types away from
RecurringScheduledActions*to newScheduledActions*types and addsBulkCreateCustomVM operation-status listing APIs.
Reviewed changes
Copilot reviewed 45 out of 221 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/compute/azure-resourcemanager-compute-bulkactions/tsp-location.yaml | Updates swagger/spec commit source pointer. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/pom.xml | Updates package description API version string. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/README.md | Updates API version text and dependency version. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/implementation/ComputeBulkActionsManagementClientImpl.java | Bumps default apiVersion to 2026-08-06-preview. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ExecutionParameters.java | Adds capacity recommendation request parameters into execution settings. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ResourceOperationDetails.java | Surfaces capacity recommendation results on operations. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java | Switches ScheduledActions schedule types to new ScheduledActions* models/enums. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsScheduleUpdate.java | Switches ScheduledActions schedule update types to new ScheduledActions* models/enums. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsDeadlineType.java | Adds new ScheduledActions deadline enum to replace recurring variant. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsProvisioningState.java | Adds new ScheduledActions provisioning-state enum to replace recurring variant. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsResourceOperationType.java | Adds new ScheduledActions operation-type enum to replace recurring variant. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsExtensionProperties.java | Updates provisioning state type to new ScheduledActions enum. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionProperties.java | Updates provisioning state type to new ScheduledActions enum. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ResourceProvisioningState.java | Removes legacy provisioning-state enum (replaced by more specific enums). |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/OccurrenceResourceProvisioningState.java | Adds provisioning-state enum scoped to occurrence resources. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/OccurrenceResource.java | Updates occurrence resource interface to use new occurrence-scoped provisioning state. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/OccurrenceExtensionProperties.java | Updates provisioning state type + JSON parsing to new enum. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/fluent/models/OccurrenceResourceInner.java | Updates inner-model provisioning state type + JSON parsing. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/implementation/OccurrenceResourceImpl.java | Updates implementation to return new occurrence provisioning state type. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/PartialFulfillmentMode.java | Adds enum for allowing/disallowing partial fulfillment. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/PartialFulfillmentReason.java | Adds enum describing partial-fulfillment reasons. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/CapacityRecommendationStatus.java | Adds enum for capacity recommendation lifecycle status. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/CapacityRecommendationSize.java | Adds model for desired-size entries in capacity recommendation results. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/BulkCreateCustomResource.java | Adds model for resolved VM resources in BulkCreateCustom operations. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/implementation/models/BulkCreateCustomOperationStatusListResult.java | Adds paged result model for BulkCreateCustom VM operation-status listing. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/BulkCreateCustoms.java | Adds virtualMachinesGetOperationStatus surface to management entrypoint. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/fluent/BulkCreateCustomsClient.java | Adds REST client methods for VM operation-status listing. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/implementation/BulkCreateCustomsImpl.java | Implements VM operation-status listing and maps inner to fluent model. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/LocationBasedBulkCreateCustom.java | Adds convenience methods on resource to list VM operation-status results. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/implementation/LocationBasedBulkCreateCustomImpl.java | Implements new VM operation-status convenience methods. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/test/java/com/azure/resourcemanager/compute/bulkactions/generated/*.java | Regenerates/updates serialized/deserialized model tests and adds tests for new models. |
| sdk/compute/azure-resourcemanager-compute-bulkactions/src/samples/java/com/azure/resourcemanager/compute/bulkactions/generated/*.java | Updates sample metadata to new API version and extends samples to include new request options. |
Suppressed comments (6)
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1
- This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1 - This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1 - This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1 - This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1 - This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
sdk/compute/azure-resourcemanager-compute-bulkactions/src/main/java/com/azure/resourcemanager/compute/bulkactions/models/ScheduledActionsSchedule.java:1 - This changes the public model surface from
RecurringScheduledActions*types toScheduledActions*types, which is a breaking change for SDK consumers who compiled against the previous preview. If backward compatibility is required across preview bumps, consider keeping the old accessors as deprecated overloads (delegating internally), or introducing type-alias wrapper types to preserve binary compatibility while still using the new wire types.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
| /* | ||
| * Capacity recommendation parameters for the request. When provided on an executeStart request, the service | ||
| * computes placement recommendations only if the VM fails to start due to an allocation failure; the | ||
| * recommendations for the desired sizes and locations are then surfaced in the operation's capacityRecommendation | ||
| * response. | ||
| */ | ||
| private CapacityRecommendationParameters capacityRecommendationParameters; |
| /* | ||
| * The virtual machine operation statuses on this page. | ||
| */ | ||
| private List<ResourceOperationInner> results; | ||
|
|
||
| /* | ||
| * The link to the next page of operation statuses. | ||
| */ | ||
| private String nextLink; |
| jsonWriter.writeArrayField("results", this.results, (writer, element) -> writer.writeJson(element)); | ||
| jsonWriter.writeStringField("nextLink", this.nextLink); |
| PagedIterable<ResourceOperation> virtualMachinesGetOperationStatus(String resourceGroupName, String location, | ||
| String name); |
| PagedIterable<ResourceOperation> virtualMachinesGetOperationStatus(String resourceGroupName, String location, | ||
| String name, Context context); |
Automated management AutoPR review
Informational
|
Weidong Xu (weidongxu-microsoft)
left a comment
There was a problem hiding this comment.
duplicate of #50129 ?
Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Bulkactions/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '83ee12a23d0ab5a14b990f8b5700e787eb8a0b7c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6715175 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=36132 Submitted by: asifmammadov@microsoft.com