Skip to content

[AutoPR azure-mgmt-compute-bulkaction]-generated-from-SDK Generation - Python-6594931#48173

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

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

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: '941453aea62f3a5b283a5470cc38e51fb4124bdd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6594931 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=35206 Submitted by:

Copilot AI review requested due to automatic review settings July 21, 2026 14:56
@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 21, 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.

This PR introduces a new azure-mgmt-compute-bulkaction management-plane Python SDK package under sdk/compute, and wires it into the repo’s CI/package metadata along with generated tests and samples.

Changes:

  • Register the new azure-mgmt-compute-bulkaction package in compute CI.
  • Add packaging metadata (pyproject.toml, MANIFEST.in, versioning, README/CHANGELOG, api metadata) for the new SDK.
  • Add generated client code plus generated tests and samples for the BulkActions surface area.

Reviewed changes

Copilot reviewed 116 out of 121 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/compute/ci.yml Registers the new compute bulkaction package for CI/build.
sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml Points codegen to the Bulkactions swagger/spec directory + commit.
sdk/compute/azure-mgmt-compute-bulkaction/pyproject.toml Defines packaging/build configuration and dependencies.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py Adds generated async tests for VM bulk operation APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py Adds generated sync tests for VM bulk operation APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations_async.py Adds generated async tests for scheduled actions APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_actions_operations.py Adds generated sync tests for scheduled actions APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_operation_status_operations_async.py Adds generated async tests for scheduled action operation status APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_operation_status_operations.py Adds generated sync tests for scheduled action operation status APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_extension_operations_async.py Adds generated async tests for scheduled action extensions.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_scheduled_action_extension_operations.py Adds generated sync tests for scheduled action extensions.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_operations_async.py Adds generated async tests for operations list.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_operations.py Adds generated sync tests for operations list.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrences_operations_async.py Adds generated async tests for occurrences APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrences_operations.py Adds generated sync tests for occurrences APIs.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrence_extension_operations_async.py Adds generated async tests for occurrence extensions.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_occurrence_extension_operations.py Adds generated sync tests for occurrence extensions.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_launch_bulk_instances_operation_operations_async.py Adds generated async tests for launch bulk instances operations.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_launch_bulk_instances_operation_operations.py Adds generated sync tests for launch bulk instances operations.
sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/conftest.py Adds sanitizers and dotenv loading for recorded tests.
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 (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py Adds generated sample for bulk start (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py Adds generated sample for bulk start (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py Adds generated sample for bulk reimage (max).
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 bulk op errors (min).
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 bulk op errors (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py Adds generated sample for bulk hibernate (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py Adds generated sample for bulk hibernate (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py Adds generated sample for bulk status (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py Adds generated sample for bulk status (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py Adds generated sample for bulk delete (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py Adds generated sample for bulk delete (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py Adds generated sample for bulk deallocate (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py Adds generated sample for bulk deallocate (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py Adds generated sample for bulk create (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py Adds generated sample for bulk cancel (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py Adds generated sample for bulk cancel (max).
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 op errors (min).
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 op errors (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py Adds generated sample for scheduled actions update (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py Adds generated sample for manual trigger (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py Adds generated sample for patching scheduled-action resources (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py Adds generated sample for listing scheduled-action resources (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py Adds generated sample for list-by-subscription (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py Adds generated sample for list-by-RG (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py Adds generated sample for get scheduled action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py Adds generated sample for enable scheduled action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py Adds generated sample for disable scheduled action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py Adds generated sample for detach resources (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py Adds generated sample for delete scheduled action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py Adds generated sample for create/update scheduled action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py Adds generated sample for cancel next occurrence (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py Adds generated sample for attach resources (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py Adds generated sample for operation status get (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py Adds generated sample for scheduled action extension list-by-VMs (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py Adds generated sample for operations list (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py Adds generated sample for operations list (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py Adds generated sample for occurrences list resources (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py Adds generated sample for occurrences list-by-scheduled-action (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py Adds generated sample for occurrences get (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py Adds generated sample for occurrences delay (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py Adds generated sample for occurrences cancel (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py Adds generated sample for occurrence extension list-by-VMs (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py Adds generated sample for list VMs in bulk launch op (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py Adds generated sample for bulk launch list-by-subscription (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py Adds generated sample for bulk launch list-by-subscription (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py Adds generated sample for bulk launch list-by-RG (min).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py Adds generated sample for bulk launch list-by-RG (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py Adds generated sample for bulk launch op status (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py Adds generated sample for bulk launch get (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py Adds generated sample for bulk launch delete (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py Adds generated sample for bulk launch cancel (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py Adds generated sample for bulk create custom list-by-subscription (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py Adds generated sample for bulk create custom list-by-RG (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py Adds generated sample for bulk create custom get (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py Adds generated sample for bulk create custom async status (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py Adds generated sample for bulk create custom delete (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py Adds generated sample for bulk create custom create/update (max).
sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py Adds generated sample for bulk create custom cancel (max).
sdk/compute/azure-mgmt-compute-bulkaction/dev_requirements.txt Adds package-local dev requirements for building/testing the SDK.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/py.typed Adds PEP 561 marker for typing.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_patch.py Adds customization hook for operations (sync).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/init.py Exposes operations + patch hook (sync).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_patch.py Adds customization hook for models (sync).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/init.py Exposes models/enums + patch hook (sync).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_patch.py Adds customization hook for operations (async).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/init.py Exposes operations + patch hook (async).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_patch.py Adds customization hook (async package).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py Adds async client configuration.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py Adds async management client implementation.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/init.py Exposes async client.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py Defines package version.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_validation.py Adds api-version validation decorator.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaaction/_utils/init.py Adds generated utils package init.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_patch.py Adds customization hook (sync package).
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py Adds sync client configuration.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py Adds sync management client implementation.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/init.py Exposes sync client + version.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/init.py Adds namespace package marker.
sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/init.py Adds namespace package marker.
sdk/compute/azure-mgmt-compute-bulkaction/azure/init.py Adds namespace package marker.
sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml Adds codegen metadata (parser + python version).
sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json Adds generation metadata incl. apiVersion/emitter versions.
sdk/compute/azure-mgmt-compute-bulkaction/README.md Adds package README.
sdk/compute/azure-mgmt-compute-bulkaction/MANIFEST.in Defines sdist inclusion rules.
sdk/compute/azure-mgmt-compute-bulkaction/LICENSE Adds MIT license file.
sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md Adds initial changelog entry.
Comments suppressed due to low confidence (5)

sdk/compute/azure-mgmt-compute-bulkaction/MANIFEST.in:1

  • The MANIFEST is currently including tests and samples, but this package appears to place generated assets under generated_tests and generated_samples. As written, your sdist likely won’t include the generated tests/samples at all. Update the manifest patterns to include the actual directories (or rename directories to match the manifest) so packaging contains the expected artifacts.
include *.md

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

  • The generated tests import and call python-dotenv, but the package’s dev_requirements.txt doesn’t include python-dotenv. This will cause test runs/imports to fail in clean environments. Either add python-dotenv to the relevant requirements (dev/test) or remove the dotenv dependency from generated tests if it isn’t intended.
    sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/conftest.py:1
  • The generated tests import and call python-dotenv, but the package’s dev_requirements.txt doesn’t include python-dotenv. This will cause test runs/imports to fail in clean environments. Either add python-dotenv to the relevant requirements (dev/test) or remove the dotenv dependency from generated tests if it isn’t intended.
    sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py:1
  • Using the bool type as a request value is invalid (it passes the bool class, not a boolean). Even though these tests are currently skipped, they will fail immediately if enabled. Replace placeholders like bool with concrete values (True/False) (and similarly for other occurrences such as forceDeletion: bool) so the generated tests are runnable after minimal updates.
    sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml:1
  • An empty additionalDirectories: value is ambiguous and can be interpreted differently by YAML parsers/tooling (null vs empty list). If there are no additional directories, prefer an explicit empty list (or omit the key entirely) to make intent/tool behavior deterministic.

Comment on lines +36 to +40
:keyword api_version: The API version to use for this operation. Known values are
"2026-07-06-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
cloud_setting: Optional["AzureClouds"] = None,
**kwargs: Any
) -> None:
api_version: str = kwargs.pop("api_version", "2026-07-06-preview")
@ChenxiJiang333

Copy link
Copy Markdown
Member

closed for duplicated to #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