Skip to content

[AutoPR azure-mgmt-batch]-generated-from-SDK Generation - Python-7096344 - #50087

Open
azure-sdk-automation[bot] wants to merge 3 commits into
mainfrom
sdkauto/azure-mgmt-batch-7096344
Open

azure-sdk-automation[bot] wants to merge 3 commits into
mainfrom
sdkauto/azure-mgmt-batch-7096344

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

SDK Generation Details

Note

This pull request was generated automatically.

Detail Value
TypeSpec source specification/batch/resource-manager/Microsoft.Batch/Batch/tspconfig.yaml at fe03f62
API versions 2026-10-01 (Namespace: Microsoft.Batch)
Pipeline run SDK Generation #7096344
Release plan Release plan #36651
Submitted by xingwu@microsoft.com

Important

Complete the SDK release prerequisites before release.

Copilot AI balanced review requested due to automatic review settings November 19, 2026 22:41
@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 Nov 19, 2026
@azure-sdk-automation

Copy link
Copy Markdown
Contributor Author

Add sdk-api-review-ready when this working PR is ready for API review of azure-mgmt-batch. The review will compare target version 20.0.0 from this working PR against baseline version 19.0.0 (tag azure-mgmt-batch_19.0.0). If you need a different comparison, use the Azure SDK CLI (azsdk apireview create).

@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.

🟡 Changes recommended

The changelog omits dropped Python 3.9 support and the removal of RetainedData, while the documented api_version=None raises ValueError on use.

3 open issues
What changed in this PR

Regenerates azure-mgmt-batch as version 20.0.0 for the Batch management API 2026-10-01, adding pool configuration capabilities and updating package requirements.

Changes:

  • Adds VM sizing, placement, resiliency, and pool patch APIs.
  • Updates generated clients, serialization helpers, API mappings, and generation metadata.
  • Raises the minimum Python version to 3.10 and refreshes release notes, generated tests, and sample-source comments.

All paths below are relative to sdk/batch/azure-mgmt-batch/.

File Description
tsp-location.yaml Updates the pinned TypeSpec source commit.
README.md Updates Python requirements and Entra terminology.
pyproject.toml Requires Python 3.10+ and refreshes classifiers.
generated_tests/​test_batch_management_pool_operations.py Refreshes synchronous pool payloads.
generated_tests/​test_batch_management_pool_operations_async.py Refreshes asynchronous pool payloads.
generated_samples/​private_link_resources_list.py Updates the example-source comment.
generated_samples/​private_link_resource_get.py Updates the example-source comment.
generated_samples/​private_endpoint_connections_list.py Updates the example-source comment.
generated_samples/​private_endpoint_connection_update.py Updates the example-source comment.
generated_samples/​private_endpoint_connection_get.py Updates the example-source comment.
generated_samples/​private_endpoint_connection_delete.py Updates the example-source comment.
generated_samples/​private_batch_account_get.py Updates the example-source comment.
generated_samples/​private_batch_account_create.py Updates the example-source comment.
generated_samples/​pool_update_resize_pool.py Updates the example-source comment.
generated_samples/​pool_update_remove_start_task.py Updates the example-source comment.
generated_samples/​pool_update_other_properties.py Updates the example-source comment.
generated_samples/​pool_update_enable_auto_scale.py Updates the example-source comment.
generated_samples/​pool_stop_resize.py Updates the example-source comment.
generated_samples/​pool_list.py Updates the example-source comment.
generated_samples/​pool_list_with_filter.py Updates the example-source comment.
generated_samples/​pool_get.py Updates the example-source comment.
generated_samples/​pool_get_virtual_machine_configuration_service_artifact_reference.py Updates the example-source comment.
generated_samples/​pool_get_virtual_machine_configuration_manged_os_disk.py Updates the example-source comment.
generated_samples/​pool_get_virtual_machine_configuration_extensions.py Updates the example-source comment.
generated_samples/​pool_get_upgrade_policy.py Updates the example-source comment.
generated_samples/​pool_get_security_profile.py Updates the example-source comment.
generated_samples/​pool_get_accelerated_networking.py Updates the example-source comment.
generated_samples/​pool_disable_auto_scale.py Updates the example-source comment.
generated_samples/​pool_delete.py Updates the example-source comment.
generated_samples/​pool_create_virtual_machine_configuration.py Updates the example-source comment.
generated_samples/​pool_create_virtual_machine_configuration_service_artifact_reference.py Updates the example-source comment.
generated_samples/​pool_create_virtual_machine_configuration_managed_os_disk.py Updates the example-source comment.
generated_samples/​pool_create_virtual_machine_configuration_extensions.py Updates the example-source comment.
generated_samples/​pool_create_user_assigned_identities.py Updates the example-source comment.
generated_samples/​pool_create_upgrade_policy.py Updates the example-source comment.
generated_samples/​pool_create_tags.py Updates the example-source comment.
generated_samples/​pool_create_shared_image_gallery.py Updates the example-source comment.
generated_samples/​pool_create_security_profile.py Omits an unset secure-boot value; updates source comment.
generated_samples/​pool_create_public_ips.py Updates the example-source comment.
generated_samples/​pool_create_no_public_ip_addresses.py Updates the example-source comment.
generated_samples/​pool_create_minimal_virtual_machine_configuration.py Updates the example-source comment.
generated_samples/​pool_create_dual_stack_networking.py Updates the example-source comment.
generated_samples/​pool_create_disk_encryption_set_for_user_subscription_accounts.py Updates the example-source comment.
generated_samples/​pool_create_customer_managed_key_for_batch_managed_accounts.py Updates the example-source comment.
generated_samples/​pool_create_confidential_disk_encryption_set_for_user_subscription_accounts.py Updates the example-source comment.
generated_samples/​pool_create_accelerated_networking.py Updates the example-source comment.
generated_samples/​operations_list.py Updates the example-source comment.
generated_samples/​nsp_configurations_list.py Updates the example-source comment.
generated_samples/​nsp_configuration_reconcile.py Updates the example-source comment.
generated_samples/​nsp_configuration_get.py Updates the example-source comment.
generated_samples/​location_list_virtual_machine_skus.py Updates the example-source comment.
generated_samples/​location_get_quotas.py Updates the example-source comment.
generated_samples/​location_check_name_availability_available.py Updates the example-source comment.
generated_samples/​location_check_name_availability_already_exists.py Updates the example-source comment.
generated_samples/​detector_list.py Updates the example-source comment.
generated_samples/​detector_get.py Updates the example-source comment.
generated_samples/​batch_account_update.py Updates the example-source comment.
generated_samples/​batch_account_synchronize_auto_storage_keys.py Updates the example-source comment.
generated_samples/​batch_account_regenerate_key.py Updates the example-source comment.
generated_samples/​batch_account_list.py Updates the example-source comment.
generated_samples/​batch_account_list_outbound_network_dependencies_endpoints.py Updates the example-source comment.
generated_samples/​batch_account_list_by_resource_group.py Updates the example-source comment.
generated_samples/​batch_account_get.py Updates the example-source comment.
generated_samples/​batch_account_get_keys.py Updates the example-source comment.
generated_samples/​batch_account_delete.py Updates the example-source comment.
generated_samples/​batch_account_create_user_assigned_identity.py Updates the example-source comment.
generated_samples/​batch_account_create_system_assigned_identity.py Updates the example-source comment.
generated_samples/​batch_account_create_default.py Updates the example-source comment.
generated_samples/​batch_account_create_byos.py Updates the example-source comment.
generated_samples/​application_update.py Updates the example-source comment.
generated_samples/​application_package_list.py Updates the example-source comment.
generated_samples/​application_package_get.py Updates the example-source comment.
generated_samples/​application_package_delete.py Updates the example-source comment.
generated_samples/​application_package_create.py Updates the example-source comment.
generated_samples/​application_package_activate.py Updates the example-source comment.
generated_samples/​application_list.py Updates the example-source comment.
generated_samples/​application_get.py Updates the example-source comment.
generated_samples/​application_delete.py Updates the example-source comment.
generated_samples/​application_create.py Updates the example-source comment.
CHANGELOG.md Adds version 20.0.0 features and breaking changes.
azure/​mgmt/​batch/​operations/​_patch.py Removes an extra blank line.
azure/​mgmt/​batch/​operations/​_operations.py Updates API defaults, request types, paging, and streaming.
azure/​mgmt/​batch/​models/​_patch.py Removes an extra blank line.
azure/​mgmt/​batch/​models/​_enums.py Adds pool enums and removes task-token authentication mode.
azure/​mgmt/​batch/​models/​__init__.py Refreshes public model and enum exports.
azure/​mgmt/​batch/​aio/​operations/​_patch.py Removes an extra blank line.
azure/​mgmt/​batch/​aio/​operations/​_operations.py Updates asynchronous request types, paging, and streaming.
azure/​mgmt/​batch/​aio/​_patch.py Removes an extra blank line.
azure/​mgmt/​batch/​aio/​_configuration.py Updates the asynchronous API default and documentation.
azure/​mgmt/​batch/​aio/​_client.py Refreshes asynchronous client documentation and typing imports.
azure/​mgmt/​batch/​_version.py Sets package version to 20.0.0.
azure/​mgmt/​batch/​_utils/​serialization.py Adds numeric-duration support and scalar deserialization shortcuts.
azure/​mgmt/​batch/​_utils/​model_base.py Refreshes model serialization, defaults, and XML handling.
azure/​mgmt/​batch/​_patch.py Removes an extra blank line.
azure/​mgmt/​batch/​_configuration.py Updates the synchronous API default and documentation.
azure/​mgmt/​batch/​_client.py Refreshes synchronous client documentation and typing imports.
apiview-properties.json Updates cross-language API mappings and version metadata.
api.metadata.yml Adds API snapshot metadata for 20.0.0.
_metadata.json Records the service API version and updated generation provenance.

Review effort: Balanced

Comment thread sdk/batch/azure-mgmt-batch/CHANGELOG.md Resolved
Comment thread sdk/batch/azure-mgmt-batch/CHANGELOG.md Resolved
@ChenxiJiang333 Chenxi Jiang (ChenxiJiang333) added the mgmt-review-needed PR for Mgmt SDK is ready to review label Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Management SDK PR review

Review completeness: partial - human review required. No package-wide approval is implied.

Findings: None.

Unverified checks

Unverified checks: None.

Breaking-change attribution

Package: sdk/batch/azure-mgmt-batch | Release: 20.0.0 (2026-11-19)

Changelog entry Cause Evidence and explanation Confidence
Deleted or renamed enum value `AuthenticationMode.TASK_AUTHENTICATION_TOKEN`
Change: added
TypeSpec/API The TypeSpec `AuthenticationMode` enum in models.tsp marks the `TaskAuthenticationToken` value with `@removed(Versions.v2026_10_01)`, directly matching the changelog's deletion of `AuthenticationMode.TASK_AUTHENTICATION_TOKEN` in this release.
models.tsp
High
Deleted or renamed model `AzureResource`
Change: added
Human review Needs human review: No TypeSpec definition, rename, or decorator named `AzureResource` was found in models.tsp at either the merge-base or latest specification revision; the only comparable model, `AzureProxyResource`, is unchanged across both revisions. Searched models.tsp (both revisions) and back-compatible.tsp without finding a renaming/removal annotation tied to this model, so the cause cannot be attributed to a verified specification change.
models.tsp
models.tsp
N/A
Method `PoolOperations.update` changed type of its parameter `parameters` from `Pool` to `PoolPatch`
Change: added
TypeSpec/API The merge-base `Pools.update` operation used `PatchModel = Pool`, while the latest Pool.tsp defines `PatchModel = PoolPatch`, and models.tsp's `PoolPatch.properties` carries `@typeChangedFrom(Versions.v2026_10_01, PoolProperties)`. This directly confirms the parameter type change from `Pool` to `PoolPatch` reported in the changelog.
Pool.tsp
Pool.tsp
models.tsp
High

Review summary

Package Completed checks
sdk/batch/azure-mgmt-batch Management package discovery; Version consistency _version.py
CHANGELOG.md; Preview version _version.py
_metadata.json; Changelog date CHANGELOG.md; Stability flags _version.py
pyproject.toml; Initial client name (not applicable: The trusted release baseline confirms a previously released package.) CHANGELOG.md; Client signature _client.py
_client.py; Client name consistency _client.py
README.md
pyproject.toml; README snippets README.md
_client.py; API-version drift

@ChenxiJiang333

Copy link
Copy Markdown
Member

Management SDK PR review

Review completeness: partial - human review required. No package-wide approval is implied.

Findings: None.

Unverified checks

Unverified checks: None.

Breaking-change attribution

Package: sdk/batch/azure-mgmt-batch | Release: 20.0.0 (2026-11-19)

Changelog entry Cause Evidence and explanation Confidence
Deleted or renamed enum value `AuthenticationMode.TASK_AUTHENTICATION_TOKEN`
Change: added TypeSpec/API The TypeSpec `AuthenticationMode` enum in models.tsp marks the `TaskAuthenticationToken` value with `@removed(Versions.v2026_10_01)`, directly matching the changelog's deletion of `AuthenticationMode.TASK_AUTHENTICATION_TOKEN` in this release.
models.tsp High
Deleted or renamed model `AzureResource`
Change: added Human review Needs human review: No TypeSpec definition, rename, or decorator named `AzureResource` was found in models.tsp at either the merge-base or latest specification revision; the only comparable model, `AzureProxyResource`, is unchanged across both revisions. Searched models.tsp (both revisions) and back-compatible.tsp without finding a renaming/removal annotation tied to this model, so the cause cannot be attributed to a verified specification change.
models.tsp
models.tsp N/A
Method `PoolOperations.update` changed type of its parameter `parameters` from `Pool` to `PoolPatch`
Change: added TypeSpec/API The merge-base `Pools.update` operation used `PatchModel = Pool`, while the latest Pool.tsp defines `PatchModel = PoolPatch`, and models.tsp's `PoolPatch.properties` carries `@typeChangedFrom(Versions.v2026_10_01, PoolProperties)`. This directly confirms the parameter type change from `Pool` to `PoolPatch` reported in the changelog.
Pool.tsp
Pool.tsp
models.tsp High

Review summary

Package Completed checks
sdk/batch/azure-mgmt-batch Management package discovery; Version consistency _version.py
CHANGELOG.md; Preview version _version.py
_metadata.json; Changelog date CHANGELOG.md; Stability flags _version.py
pyproject.toml; Initial client name (not applicable: The trusted release baseline confirms a previously released package.) CHANGELOG.md; Client signature _client.py
_client.py; Client name consistency _client.py
README.md
pyproject.toml; README snippets README.md
_client.py; API-version drift

AzureResource is now unreferenced.
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/batch/resource-manager/Microsoft.Batch/Batch/BatchAccount.tsp#L17

Document Python support and resize option breaking changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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. mgmt-review-needed PR for Mgmt SDK is ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants