Skip to content

[AutoPR azure-mgmt-compute-bulkaction]-generated-from-SDK Generation - Python-6600595#48200

Closed
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-mgmt-compute-bulkaction-6600595
Closed

[AutoPR azure-mgmt-compute-bulkaction]-generated-from-SDK Generation - Python-6600595#48200
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-mgmt-compute-bulkaction-6600595

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Bulkactions/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '73e39fb58efdac318be1f603997bb57ec9831408' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6600595 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=35410 Submitted by: yakhande@microsoft.com

Copilot AI review requested due to automatic review settings July 22, 2026 09:34
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Jul 22, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-mgmt-compute-bulkaction Python SDK to a newer swagger/spec commit and API version, regenerating the client surface area, tests, and samples for newly introduced operations.

Changes:

  • Bump default API version to 2026-07-06-preview and update tracked spec commit metadata
  • Add new operation groups (Scheduled Actions, Occurrences, LaunchBulkInstancesOperation, BulkCreateCustom) to sync + async clients
  • Regenerate tests/samples and bump package version to 1.0.0b2

Reviewed changes

Copilot reviewed 93 out of 98 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml Updates the pinned azure-rest-api-specs commit for code generation inputs
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py Updates async VM bulk operations tests for new request fields and adds additional operation tests
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py Updates sync VM bulk operations tests for new request fields and adds additional operation tests
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations_async.py Adds async generated tests for Scheduled Actions operation group
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations.py Adds sync generated tests for Scheduled Actions operation group
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_operation_status_operations_async.py Adds async generated tests for Scheduled Action Operation Status
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_operation_status_operations.py Adds sync generated tests for Scheduled Action Operation Status
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_extension_operations_async.py Adds async generated tests for Scheduled Action Extension listing
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_extension_operations.py Adds sync generated tests for Scheduled Action Extension listing
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrences_operations_async.py Adds async generated tests for Occurrences operations
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrences_operations.py Adds sync generated tests for Occurrences operations
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrence_extension_operations_async.py Adds async generated tests for Occurrence Extension listing
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrence_extension_operations.py Adds sync generated tests for Occurrence Extension listing
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_launch_bulk_instances_operation_operations_async.py Adds async generated tests for LaunchBulkInstancesOperation CRUD/list APIs
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_launch_bulk_instances_operation_operations.py Adds sync generated tests for LaunchBulkInstancesOperation CRUD/list APIs
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_minimum_set_gen.py Adds generated sample for bulk VDI flex create (minimum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py Updates generated minimum-set bulk start sample to new spec snapshot
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py Updates generated maximum-set bulk start sample payload and metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py Adds generated sample for VM bulk reimage (maximum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_minimum_set_gen.py Adds generated sample for listing operation errors (minimum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_maximum_set_gen.py Adds generated sample for listing operation errors (maximum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py Updates generated minimum-set bulk hibernate sample metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py Updates generated maximum-set bulk hibernate sample payload and metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py Updates generated minimum-set get-operations-status sample payload/metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py Updates generated maximum-set get-operations-status sample payload/metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py Updates generated minimum-set bulk delete sample metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py Updates generated maximum-set bulk delete sample payload and metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py Updates generated minimum-set bulk deallocate sample metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py Updates generated maximum-set bulk deallocate sample payload and metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py Adds generated sample for VM bulk create (minimum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_maximum_set_gen.py Adds generated sample for VM bulk create (maximum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py Updates generated minimum-set bulk cancel sample payload/metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py Updates generated maximum-set bulk cancel sample payload/metadata
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_minimum_set_gen.py Adds generated sample for acknowledging operation errors (minimum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_maximum_set_gen.py Adds generated sample for acknowledging operation errors (maximum set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py Adds generated sample for Scheduled Actions update
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py Adds generated sample for manually triggering a Scheduled Action occurrence
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py Adds generated sample for patching Scheduled Action resources
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py Adds generated sample for listing Scheduled Action attached resources
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py Adds generated sample for listing Scheduled Actions by subscription
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py Adds generated sample for listing Scheduled Actions by resource group
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py Adds generated sample for getting a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py Adds generated sample for enabling a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py Adds generated sample for disabling a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py Adds generated sample for detaching resources from a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py Adds generated sample for deleting a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py Adds generated sample for creating/updating a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py Adds generated sample for canceling next Scheduled Action occurrence
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py Adds generated sample for attaching resources to a Scheduled Action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py Adds generated sample for getting scheduled action operation status
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py Adds generated sample for listing scheduled action extensions by VM
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py Updates Operations list sample metadata to new API version
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py Updates Operations list sample metadata to new API version
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py Adds generated sample for listing occurrence resources
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py Adds generated sample for listing occurrences under a scheduled action
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py Adds generated sample for getting an occurrence
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py Adds generated sample for delaying an occurrence
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py Adds generated sample for canceling an occurrence
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py Adds generated sample for listing occurrences by VM via extension
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py Adds generated sample for listing launched VMs for an operation
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py Adds generated sample for listing launch operations by subscription (min set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py Adds generated sample for listing launch operations by subscription (max set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py Adds generated sample for listing launch operations by RG (min set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py Adds generated sample for listing launch operations by RG (max set)
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py Adds generated sample for getting LRO status for launch operation
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py Adds generated sample for getting a launch operation resource
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py Adds generated sample for deleting a launch operation
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_create_or_update_maximum_set_gen.py Adds generated sample for creating/updating a launch operation
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py Adds generated sample for canceling a launch operation
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py Adds generated sample for BulkCreateCustom list-by-subscription
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py Adds generated sample for BulkCreateCustom list-by-resource-group
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py Adds generated sample for BulkCreateCustom get
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py Adds generated sample for BulkCreateCustom async operation status
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py Adds generated sample for BulkCreateCustom delete
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py Adds generated sample for BulkCreateCustom create/update
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py Adds generated sample for BulkCreateCustom cancel
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/init.py Exposes newly generated operation groups in sync operations package
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/init.py Exposes newly generated models/enums for new operation groups
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/init.py Exposes newly generated operation groups in async operations package
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py Updates async client default API version to 2026-07-06-preview
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py Wires new operation groups into the async client and updates docstrings
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py Bumps package version to 1.0.0b2
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_validation.py Adds API-version-based gating helper for methods/parameters
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py Updates sync client default API version to 2026-07-06-preview
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py Wires new operation groups into the sync client and updates docstrings
sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml Updates codegen metadata (parser version + hash)
sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json Updates API version + spec commit metadata used for traceability
sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md Adds placeholder section for 1.0.0b2 release
Comments suppressed due to low confidence (4)

sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py:1

  • The request body uses the Python type bool as a value (not True/False). This will fail JSON serialization at runtime (types are not JSON-serializable). Replace these placeholders with concrete booleans (e.g., True) in generated tests. The same pattern appears multiple times across the generated tests (e.g., disabled: bool, forceDeletion: bool, etc.) and should be fixed consistently.
    sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations_async.py:1
  • Same issue as other generated tests: bool is used as a literal value inside request payloads. This will raise during request serialization. Use True/False placeholders instead of the bool type object throughout these generated Scheduled Actions tests.
    sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations_async.py:1
  • Same issue as other generated tests: bool is used as a literal value inside request payloads. This will raise during request serialization. Use True/False placeholders instead of the bool type object throughout these generated Scheduled Actions tests.
    sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py:1
  • The sample uses location=\"useast2euap\", which is not a standard Azure location name (the common formatting is like eastus2euap). If this value is invalid, running the sample will fail with a location/region error. Consider updating generated samples to use a valid location string (or revert to a common valid location such as eastus) to improve out-of-box usability.

Comment thread sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md
@github-actions

Copy link
Copy Markdown
Contributor
[Pilot] PR Pipeline Failure Analysis

A CI pipeline failed on this pull request. Here is an automated analysis of what went wrong and how to get the build green.

What failed

The changelog verification step failed for azure-mgmt-compute-bulkaction. The CHANGELOG.md entry for version 1.0.0b2 (dated 2026-07-22) contains only the placeholder text "tool can't generate changelog for this release, please update manually." and is missing at least one of the required sections.

Pipeline: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6600685

Recommended next steps

  • Update sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md for version 1.0.0b2 to include at least one of the required sections: Features Added, Breaking Changes, Bugs Fixed, or Other Changes. See https://aka.ms/azsdk/guideline/changelogs for the expected format.
  • After updating the changelog, push a new commit to re-trigger the pipeline.
  • See the CI troubleshooting guide: https://aka.ms/ci-fix
Raw pipeline analysis (azsdk ci analyze)
Analyzing pipeline https://github.com/Azure/azure-sdk-for-python/pull/48200...
Failed Tasks
### Errors:
Verifying changelog for azure-mgmt-compute-bulkaction
Found the following change log entry for version '1.0.0b2' in [sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md].
-----
## 1.0.0b2 (2026-07-22)

tool can't generate changelog for this release, please update manually.

-----
[debug]Verifying as a release build because the changelog entry has a valid date.
##[error]The changelog entry did not contain any of the recommended sections (Features Added, Breaking Changes, Bugs Fixed, Other Changes), please add at least one. See https://aka.ms/azsdk/guideline/changelogs for more info.
##[error]PowerShell exited with code '1'.

Pipeline: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6600685

Copilot detected the failing pipeline and generated the analysis above. To have it attempt a fix automatically, reply with @copilot please fix the failing pipeline on this PR.

Generated by Pipeline Analysis - Next Steps · 19.5 AIC · ⌖ 6.15 AIC · ⊞ 6.6K ·

@ChenxiJiang333

Copy link
Copy Markdown
Member

duplicated with #48179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants