From 8ce7fabf9e9b0bf0679a50143190228fc66f2c4d Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 14 Aug 2026 06:42:21 +0000 Subject: [PATCH] Configurations: 'specification/compute/resource-manager/Microsoft.Compute/Bulkactions/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'bd92126f09e7e3caa74f10fa1c944d1e451813ac' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6702655 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../CHANGELOG.md | 37 + .../_metadata.json | 10 +- .../azure-mgmt-compute-bulkaction/api.md | 1137 ++++++----- .../api.metadata.yml | 4 +- .../apiview-properties.json | 27 +- .../azure/mgmt/compute/bulkaction/_client.py | 5 +- .../mgmt/compute/bulkaction/_configuration.py | 7 +- .../azure/mgmt/compute/bulkaction/_patch.py | 1 - .../compute/bulkaction/_utils/model_base.py | 18 +- .../bulkaction/_utils/serialization.py | 6 +- .../azure/mgmt/compute/bulkaction/_version.py | 2 +- .../mgmt/compute/bulkaction/aio/_client.py | 5 +- .../compute/bulkaction/aio/_configuration.py | 7 +- .../mgmt/compute/bulkaction/aio/_patch.py | 1 - .../bulkaction/aio/operations/_operations.py | 227 ++- .../bulkaction/aio/operations/_patch.py | 1 - .../compute/bulkaction/models/__init__.py | 46 +- .../mgmt/compute/bulkaction/models/_enums.py | 148 +- .../mgmt/compute/bulkaction/models/_models.py | 988 +++++++--- .../mgmt/compute/bulkaction/models/_patch.py | 1 - .../bulkaction/operations/_operations.py | 353 ++-- .../compute/bulkaction/operations/_patch.py | 1 - .../azure/mgmt/compute/bulkaction/types.py | 1704 +++++++++-------- ...lk_create_custom_cancel_maximum_set_gen.py | 2 +- ...custom_create_or_update_maximum_set_gen.py | 6 +- ...lk_create_custom_delete_maximum_set_gen.py | 2 +- ..._async_operation_status_maximum_set_gen.py | 2 +- .../bulk_create_custom_get_maximum_set_gen.py | 2 +- ..._list_by_resource_group_maximum_set_gen.py | 2 +- ...om_list_by_subscription_maximum_set_gen.py | 2 +- ...es_get_operation_status_maximum_set_gen.py | 43 + ...tances_operation_cancel_maximum_set_gen.py | 2 +- ...ration_create_or_update_maximum_set_gen.py | 2 +- ...tances_operation_delete_maximum_set_gen.py | 2 +- ...instances_operation_get_maximum_set_gen.py | 2 +- ...on_get_operation_status_maximum_set_gen.py | 2 +- ..._list_by_resource_group_maximum_set_gen.py | 2 +- ..._list_by_resource_group_minimum_set_gen.py | 2 +- ...on_list_by_subscription_maximum_set_gen.py | 2 +- ...on_list_by_subscription_minimum_set_gen.py | 2 +- ...n_list_virtual_machines_maximum_set_gen.py | 2 +- ..._list_occurrence_by_vms_maximum_set_gen.py | 2 +- .../occurrences_cancel_maximum_set_gen.py | 2 +- .../occurrences_delay_maximum_set_gen.py | 2 +- .../occurrences_get_maximum_set_gen.py | 2 +- ...ist_by_scheduled_action_maximum_set_gen.py | 2 +- ...urrences_list_resources_maximum_set_gen.py | 2 +- .../operations_list_maximum_set_gen.py | 2 +- .../operations_list_minimum_set_gen.py | 2 +- ...n_extension_list_by_vms_maximum_set_gen.py | 2 +- ...on_operation_status_get_maximum_set_gen.py | 2 +- ...ctions_attach_resources_maximum_set_gen.py | 2 +- ..._cancel_next_occurrence_maximum_set_gen.py | 2 +- ...ctions_create_or_update_maximum_set_gen.py | 2 +- ...cheduled_actions_delete_maximum_set_gen.py | 2 +- ...ctions_detach_resources_maximum_set_gen.py | 2 +- ...heduled_actions_disable_maximum_set_gen.py | 2 +- ...cheduled_actions_enable_maximum_set_gen.py | 2 +- .../scheduled_actions_get_maximum_set_gen.py | 2 +- ..._list_by_resource_group_maximum_set_gen.py | 2 +- ...ns_list_by_subscription_maximum_set_gen.py | 2 +- ..._actions_list_resources_maximum_set_gen.py | 2 +- ...actions_patch_resources_maximum_set_gen.py | 2 +- ...igger_manual_occurrence_maximum_set_gen.py | 2 +- ...cheduled_actions_update_maximum_set_gen.py | 2 +- ...wledge_operation_errors_maximum_set_gen.py | 2 +- ...wledge_operation_errors_minimum_set_gen.py | 2 +- ..._operations_bulk_cancel_maximum_set_gen.py | 2 +- ..._operations_bulk_cancel_minimum_set_gen.py | 2 +- ..._operations_bulk_create_maximum_set_gen.py | 2 +- ..._operations_bulk_create_minimum_set_gen.py | 2 +- ...rations_bulk_deallocate_maximum_set_gen.py | 2 +- ...rations_bulk_deallocate_minimum_set_gen.py | 2 +- ..._operations_bulk_delete_maximum_set_gen.py | 2 +- ..._operations_bulk_delete_minimum_set_gen.py | 2 +- ...k_get_operations_status_maximum_set_gen.py | 2 +- ...k_get_operations_status_minimum_set_gen.py | 2 +- ...erations_bulk_hibernate_maximum_set_gen.py | 2 +- ...erations_bulk_hibernate_minimum_set_gen.py | 2 +- ...k_list_operation_errors_maximum_set_gen.py | 2 +- ...k_list_operation_errors_minimum_set_gen.py | 2 +- ...operations_bulk_reimage_maximum_set_gen.py | 2 +- ...k_operations_bulk_start_maximum_set_gen.py | 9 +- ...k_operations_bulk_start_minimum_set_gen.py | 2 +- ...ns_bulk_vdi_flex_create_maximum_set_gen.py | 2 +- ...ns_bulk_vdi_flex_create_minimum_set_gen.py | 2 +- ...ions_mgmt_bulk_create_custom_operations.py | 21 + ...gmt_bulk_create_custom_operations_async.py | 20 + ...tual_machine_bulk_operations_operations.py | 35 + ...achine_bulk_operations_operations_async.py | 35 + .../tsp-location.yaml | 2 +- 91 files changed, 3146 insertions(+), 1881 deletions(-) create mode 100644 sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_virtual_machines_get_operation_status_maximum_set_gen.py diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md b/sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md index 14cc845233d1..1be25c071662 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md +++ b/sdk/compute/azure-mgmt-compute-bulkaction/CHANGELOG.md @@ -1,5 +1,42 @@ # Release History +## 1.0.0b3 (2026-08-14) + +### Features Added + + - Model `BulkCreateCustomProperties` added property `min_capacity` + - Model `BulkCreateCustomProperties` added property `partial_fulfillment_policy` + - Model `BulkCreateCustomProperties` added property `resources` + - Model `ExecutionParameters` added property `capacity_recommendation_parameters` + - Model `ResourceOperationDetails` added property `capacity_recommendation` + - Added model `BulkCreateCustomResource` + - Added model `BulkCreateCustomVirtualMachineInfo` + - Added model `CapacityRecommendation` + - Added model `CapacityRecommendationDetails` + - Added model `CapacityRecommendationParameters` + - Added model `CapacityRecommendationPlacementScore` + - Added model `CapacityRecommendationSize` + - Added enum `CapacityRecommendationStatus` + - Added enum `OccurrenceResourceProvisioningState` + - Added enum `PartialFulfillmentMode` + - Added model `PartialFulfillmentPolicy` + - Added enum `PartialFulfillmentReason` + - Added enum `ScheduledActionsDeadlineType` + - Added model `ScheduledActionsExecutionParameters` + - Added enum `ScheduledActionsProvisioningState` + - Added enum `ScheduledActionsResourceOperationType` + - Added model `ScheduledActionsRetryPolicy` + - Model `BulkCreateCustomOperations` added method `virtual_machines_get_operation_status` + +### Breaking Changes + + - Deleted or renamed model `RecurringScheduledActionsDeadlineType` + - Deleted or renamed model `RecurringScheduledActionsExecutionParameters` + - Deleted or renamed model `RecurringScheduledActionsProvisioningState` + - Deleted or renamed model `RecurringScheduledActionsResourceOperationType` + - Deleted or renamed model `RecurringScheduledActionsRetryPolicy` + - Deleted or renamed model `ResourceProvisioningState` + ## 1.0.0b2 (2026-07-22) ### Features Added diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json b/sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json index d5838b65761b..9c3ad9762d6c 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json +++ b/sdk/compute/azure-mgmt-compute-bulkaction/_metadata.json @@ -1,11 +1,11 @@ { - "apiVersion": "2026-07-06-preview", + "apiVersion": "2026-08-06-preview", "apiVersions": { - "Microsoft.Compute": "2026-07-06-preview" + "Microsoft.Compute": "2026-08-06-preview" }, - "commit": "f4b4cd52ac5d40b9eef60d18ba9b3a8911e92edc", + "commit": "bd92126f09e7e3caa74f10fa1c944d1e451813ac", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/compute/resource-manager/Microsoft.Compute/Bulkactions", - "emitterVersion": "0.63.3", - "httpClientPythonVersion": "^0.34.2" + "emitterVersion": "0.63.5", + "httpClientPythonVersion": "^0.36.0" } \ No newline at end of file diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/api.md b/sdk/compute/azure-mgmt-compute-bulkaction/api.md index e0dfc40975da..1bb8d0e0f18f 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/api.md +++ b/sdk/compute/azure-mgmt-compute-bulkaction/api.md @@ -82,7 +82,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> None: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_cancel( self, resource_group_name: str, @@ -128,7 +128,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[LocationBasedBulkCreateCustom]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_delete( self, resource_group_name: str, @@ -140,7 +140,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[None]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get( self, resource_group_name: str, @@ -150,7 +150,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> LocationBasedBulkCreateCustom: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get_async_operation_status( self, location: str, @@ -159,7 +159,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> OperationStatusResult: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -168,13 +168,23 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncItemPaged[LocationBasedBulkCreateCustom]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription( self, location: str, **kwargs: Any ) -> AsyncItemPaged[LocationBasedBulkCreateCustom]: ... + @distributed_trace_async + @api_version_validation(method_added_on='2026-08-06-preview', params_added_on={'2026-08-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-08-06-preview']) + async def virtual_machines_get_operation_status( + self, + resource_group_name: str, + location: str, + name: str, + **kwargs: Any + ) -> GetOperationStatusResponse: ... + class azure.mgmt.compute.bulkaction.aio.operations.LaunchBulkInstancesOperationOperations: @@ -185,7 +195,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> None: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_cancel( self, resource_group_name: str, @@ -231,7 +241,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_delete( self, resource_group_name: str, @@ -243,7 +253,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[None]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get( self, resource_group_name: str, @@ -253,7 +263,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> LocationBasedLaunchBulkInstancesOperation: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get_operation_status( self, location: str, @@ -262,7 +272,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> OperationStatusResult: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -271,7 +281,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncItemPaged[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription( self, location: str, @@ -279,7 +289,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncItemPaged[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'filter', 'skiptoken', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'filter', 'skiptoken', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_virtual_machines( self, resource_group_name: str, @@ -301,7 +311,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_occurrence_by_vms( self, resource_uri: str, @@ -390,7 +400,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[ResourceOperationResponse]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get( self, resource_group_name: str, @@ -400,7 +410,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> Occurrence: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_scheduled_action( self, resource_group_name: str, @@ -409,7 +419,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncItemPaged[Occurrence]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_resources( self, resource_group_name: str, @@ -440,7 +450,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_vms( self, resource_uri: str, @@ -457,7 +467,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> None: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get( self, location: str, @@ -574,7 +584,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[ScheduledAction]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_delete( self, resource_group_name: str, @@ -616,7 +626,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[ResourceOperationResponse]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_disable( self, resource_group_name: str, @@ -625,7 +635,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[None]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_enable( self, resource_group_name: str, @@ -634,7 +644,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[None]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def begin_trigger_manual_occurrence( self, resource_group_name: str, @@ -676,7 +686,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncLROPoller[None]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) async def get( self, resource_group_name: str, @@ -685,7 +695,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> ScheduledAction: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -693,11 +703,11 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> AsyncItemPaged[ScheduledAction]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription(self, **kwargs: Any) -> AsyncItemPaged[ScheduledAction]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_resources( self, resource_group_name: str, @@ -979,7 +989,7 @@ namespace azure.mgmt.compute.bulkaction.aio.operations ) -> HibernateResourceOperationResponse: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'lookback_in_minutes', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'lookback_in_minutes', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def bulk_list_operation_errors( self, resource_group_name: str, @@ -1416,9 +1426,12 @@ namespace azure.mgmt.compute.bulkaction.models compute_profile: ComputeProfile created_time: Optional[datetime] execution_parameters: Optional[ExecutionParameters] + min_capacity: Optional[int] overrides_profile: Optional[BulkCreateCustomOverridesProfile] + partial_fulfillment_policy: Optional[PartialFulfillmentPolicy] priority_profile: BulkCreateCustomPriorityProfile provisioning_state: Optional[Union[str, ProvisioningState]] + resources: Optional[list[BulkCreateCustomResource]] vm_sizes_profile: Optional[list[BulkCreateCustomVmSizeProfile]] zone_allocation_policy: Optional[BulkCreateCustomZoneAllocationPolicy] @@ -1430,7 +1443,9 @@ namespace azure.mgmt.compute.bulkaction.models capacity_type: Optional[Union[str, CapacityType]] = ..., compute_profile: ComputeProfile, execution_parameters: Optional[ExecutionParameters] = ..., + min_capacity: Optional[int] = ..., overrides_profile: Optional[BulkCreateCustomOverridesProfile] = ..., + partial_fulfillment_policy: Optional[PartialFulfillmentPolicy] = ..., priority_profile: BulkCreateCustomPriorityProfile, vm_sizes_profile: Optional[list[BulkCreateCustomVmSizeProfile]] = ..., zone_allocation_policy: Optional[BulkCreateCustomZoneAllocationPolicy] = ... @@ -1440,6 +1455,38 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.compute.bulkaction.models.BulkCreateCustomResource(_Model): + virtual_machine_info: Optional[BulkCreateCustomVirtualMachineInfo] + + @overload + def __init__( + self, + *, + virtual_machine_info: Optional[BulkCreateCustomVirtualMachineInfo] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.BulkCreateCustomVirtualMachineInfo(_Model): + name: Optional[str] + vm_size: Optional[str] + zone: Optional[str] + + @overload + def __init__( + self, + *, + name: Optional[str] = ..., + vm_size: Optional[str] = ..., + zone: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + class azure.mgmt.compute.bulkaction.models.BulkCreateCustomVmSizeProfile(_Model): name: str override: Optional[BulkCreateCustomOverrideBase] @@ -1596,6 +1643,109 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.compute.bulkaction.models.CapacityRecommendation(_Model): + details: Optional[CapacityRecommendationDetails] + error: Optional[str] + error_details: Optional[str] + status: Union[str, CapacityRecommendationStatus] + + @overload + def __init__( + self, + *, + details: Optional[CapacityRecommendationDetails] = ..., + error: Optional[str] = ..., + error_details: Optional[str] = ..., + status: Union[str, CapacityRecommendationStatus] + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.CapacityRecommendationDetails(_Model): + availability_zones: Optional[bool] + desired_locations: Optional[list[str]] + desired_sizes: Optional[list[CapacityRecommendationSize]] + placement_scores: Optional[list[CapacityRecommendationPlacementScore]] + recommendation_requested_at_utc: Optional[datetime] + + @overload + def __init__( + self, + *, + availability_zones: Optional[bool] = ..., + desired_locations: Optional[list[str]] = ..., + desired_sizes: Optional[list[CapacityRecommendationSize]] = ..., + placement_scores: Optional[list[CapacityRecommendationPlacementScore]] = ..., + recommendation_requested_at_utc: Optional[datetime] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.CapacityRecommendationParameters(_Model): + availability_zones: Optional[bool] + desired_locations: Optional[list[str]] + desired_sizes: Optional[list[str]] + + @overload + def __init__( + self, + *, + availability_zones: Optional[bool] = ..., + desired_locations: Optional[list[str]] = ..., + desired_sizes: Optional[list[str]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.CapacityRecommendationPlacementScore(_Model): + availability_zone: Optional[str] + is_quota_available: Optional[bool] + region: Optional[str] + score: Optional[str] + sku: Optional[str] + + @overload + def __init__( + self, + *, + availability_zone: Optional[str] = ..., + is_quota_available: Optional[bool] = ..., + region: Optional[str] = ..., + score: Optional[str] = ..., + sku: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.CapacityRecommendationSize(_Model): + sku: Optional[str] + + @overload + def __init__( + self, + *, + sku: Optional[str] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.CapacityRecommendationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): + FAILED = "Failed" + NOT_INITIATED = "NotInitiated" + SKIPPED = "Skipped" + SUCCEEDED = "Succeeded" + + class azure.mgmt.compute.bulkaction.models.CapacityReservationProfile(_Model): capacity_reservation_group: Optional[SubResource] @@ -2069,6 +2219,7 @@ namespace azure.mgmt.compute.bulkaction.models class azure.mgmt.compute.bulkaction.models.ExecutionParameters(_Model): + capacity_recommendation_parameters: Optional[CapacityRecommendationParameters] optimization_preference: Optional[Union[str, OptimizationPreference]] retry_policy: Optional[RetryPolicy] verify_vm_agent_health: Optional[bool] @@ -2077,6 +2228,7 @@ namespace azure.mgmt.compute.bulkaction.models def __init__( self, *, + capacity_recommendation_parameters: Optional[CapacityRecommendationParameters] = ..., optimization_preference: Optional[Union[str, OptimizationPreference]] = ..., retry_policy: Optional[RetryPolicy] = ..., verify_vm_agent_health: Optional[bool] = ... @@ -2729,7 +2881,7 @@ namespace azure.mgmt.compute.bulkaction.models class azure.mgmt.compute.bulkaction.models.OccurrenceExtensionProperties(_Model): error_details: Optional[ODataV4Format] notification_settings: Optional[list[NotificationProperties]] - provisioning_state: Optional[Union[str, ResourceProvisioningState]] + provisioning_state: Optional[Union[str, OccurrenceResourceProvisioningState]] resource_id: str scheduled_action_id: str scheduled_time: datetime @@ -2776,7 +2928,7 @@ namespace azure.mgmt.compute.bulkaction.models id: str name: str notification_settings: Optional[list[NotificationProperties]] - provisioning_state: Optional[Union[str, ResourceProvisioningState]] + provisioning_state: Optional[Union[str, OccurrenceResourceProvisioningState]] resource_id: str scheduled_time: datetime type: Optional[str] @@ -2793,6 +2945,17 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.compute.bulkaction.models.OccurrenceResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CANCELED = "Canceled" + CANCELLING = "Cancelling" + CREATED = "Created" + FAILED = "Failed" + INVALID_STATE = "InvalidState" + RESCHEDULING = "Rescheduling" + SCHEDULED = "Scheduled" + SUCCEEDED = "Succeeded" + + class azure.mgmt.compute.bulkaction.models.OccurrenceResultSummary(_Model): statuses: list[ResourceResultSummary] total: int @@ -2907,6 +3070,33 @@ namespace azure.mgmt.compute.bulkaction.models WINDOWS = "Windows" + class azure.mgmt.compute.bulkaction.models.PartialFulfillmentMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + DISABLED = "Disabled" + ENABLED = "Enabled" + + + class azure.mgmt.compute.bulkaction.models.PartialFulfillmentPolicy(_Model): + fulfilled_capacity: Optional[int] + mode: Optional[Union[str, PartialFulfillmentMode]] + reason: Optional[Union[str, PartialFulfillmentReason]] + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, PartialFulfillmentMode]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + + class azure.mgmt.compute.bulkaction.models.PartialFulfillmentReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + INSUFFICIENT_CAPACITY = "InsufficientCapacity" + INSUFFICIENT_QUOTA = "InsufficientQuota" + NONE = "None" + + class azure.mgmt.compute.bulkaction.models.PatchSettings(_Model): assessment_mode: Optional[Union[str, WindowsPatchAssessmentMode]] automatic_by_platform_settings: Optional[WindowsVMGuestPatchAutomaticByPlatformSettings] @@ -3049,62 +3239,6 @@ namespace azure.mgmt.compute.bulkaction.models STATIC = "Static" - class azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsDeadlineType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - COMPLETE_BY = "CompleteBy" - INITIATE_AT = "InitiateAt" - UNKNOWN = "Unknown" - - - class azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsExecutionParameters(_Model): - optimization_preference: Optional[Union[str, OptimizationPreference]] - retry_policy: Optional[RecurringScheduledActionsRetryPolicy] - - @overload - def __init__( - self, - *, - optimization_preference: Optional[Union[str, OptimizationPreference]] = ..., - retry_policy: Optional[RecurringScheduledActionsRetryPolicy] = ... - ) -> None: ... - - @overload - def __init__(self, mapping: Mapping[str, Any]) -> None: ... - - - class azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - CANCELED = "Canceled" - DELETING = "Deleting" - FAILED = "Failed" - SUCCEEDED = "Succeeded" - - - class azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsResourceOperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - CREATE = "Create" - DEALLOCATE = "Deallocate" - DELETE = "Delete" - HIBERNATE = "Hibernate" - START = "Start" - UNKNOWN = "Unknown" - - - class azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsRetryPolicy(_Model): - on_failure_action: Optional[Union[str, RecurringScheduledActionsResourceOperationType]] - retry_count: Optional[int] - retry_window_in_minutes: Optional[int] - - @overload - def __init__( - self, - *, - on_failure_action: Optional[Union[str, RecurringScheduledActionsResourceOperationType]] = ..., - retry_count: Optional[int] = ..., - retry_window_in_minutes: Optional[int] = ... - ) -> None: ... - - @overload - def __init__(self, mapping: Mapping[str, Any]) -> None: ... - - class azure.mgmt.compute.bulkaction.models.ReimagePayload(_Model): base_profile: Optional[VirtualMachineReimageParameters] resource_overrides: Optional[list[ReimageResourceOverride]] @@ -3236,6 +3370,7 @@ namespace azure.mgmt.compute.bulkaction.models class azure.mgmt.compute.bulkaction.models.ResourceOperationDetails(_Model): + capacity_recommendation: Optional[CapacityRecommendation] completed_at: Optional[datetime] deadline: Optional[datetime] deadline_type: Optional[Union[str, DeadlineType]] @@ -3254,6 +3389,7 @@ namespace azure.mgmt.compute.bulkaction.models def __init__( self, *, + capacity_recommendation: Optional[CapacityRecommendation] = ..., completed_at: Optional[datetime] = ..., deadline: Optional[datetime] = ..., deadline_type: Optional[Union[str, DeadlineType]] = ..., @@ -3376,12 +3512,6 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... - class azure.mgmt.compute.bulkaction.models.ResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - CANCELED = "Canceled" - FAILED = "Failed" - SUCCEEDED = "Succeeded" - - class azure.mgmt.compute.bulkaction.models.ResourceResultSummary(_Model): code: str count: int @@ -3512,7 +3642,7 @@ namespace azure.mgmt.compute.bulkaction.models disabled: Optional[bool] end_time: Optional[datetime] notification_settings: list[NotificationProperties] - provisioning_state: Optional[Union[str, RecurringScheduledActionsProvisioningState]] + provisioning_state: Optional[Union[str, ScheduledActionsProvisioningState]] resource_type: Union[str, ResourceType] schedule: ScheduledActionsSchedule start_time: datetime @@ -3635,12 +3765,34 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.compute.bulkaction.models.ScheduledActionsDeadlineType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + COMPLETE_BY = "CompleteBy" + INITIATE_AT = "InitiateAt" + UNKNOWN = "Unknown" + + + class azure.mgmt.compute.bulkaction.models.ScheduledActionsExecutionParameters(_Model): + optimization_preference: Optional[Union[str, OptimizationPreference]] + retry_policy: Optional[ScheduledActionsRetryPolicy] + + @overload + def __init__( + self, + *, + optimization_preference: Optional[Union[str, OptimizationPreference]] = ..., + retry_policy: Optional[ScheduledActionsRetryPolicy] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + class azure.mgmt.compute.bulkaction.models.ScheduledActionsExtensionProperties(_Model): action_type: Union[str, ScheduledActionType] disabled: Optional[bool] end_time: Optional[datetime] notification_settings: list[NotificationProperties] - provisioning_state: Optional[Union[str, RecurringScheduledActionsProvisioningState]] + provisioning_state: Optional[Union[str, ScheduledActionsProvisioningState]] resource_notification_settings: Optional[list[NotificationProperties]] resource_type: Union[str, ResourceType] schedule: ScheduledActionsSchedule @@ -3663,9 +3815,43 @@ namespace azure.mgmt.compute.bulkaction.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.compute.bulkaction.models.ScheduledActionsProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CANCELED = "Canceled" + DELETING = "Deleting" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + + + class azure.mgmt.compute.bulkaction.models.ScheduledActionsResourceOperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + CREATE = "Create" + DEALLOCATE = "Deallocate" + DELETE = "Delete" + HIBERNATE = "Hibernate" + START = "Start" + UNKNOWN = "Unknown" + + + class azure.mgmt.compute.bulkaction.models.ScheduledActionsRetryPolicy(_Model): + on_failure_action: Optional[Union[str, ScheduledActionsResourceOperationType]] + retry_count: Optional[int] + retry_window_in_minutes: Optional[int] + + @overload + def __init__( + self, + *, + on_failure_action: Optional[Union[str, ScheduledActionsResourceOperationType]] = ..., + retry_count: Optional[int] = ..., + retry_window_in_minutes: Optional[int] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + class azure.mgmt.compute.bulkaction.models.ScheduledActionsSchedule(_Model): - deadline_type: Optional[Union[str, RecurringScheduledActionsDeadlineType]] - execution_parameters: Optional[RecurringScheduledActionsExecutionParameters] + deadline_type: Optional[Union[str, ScheduledActionsDeadlineType]] + execution_parameters: Optional[ScheduledActionsExecutionParameters] requested_days_of_the_month: Optional[list[int]] requested_months: Optional[list[Union[str, Month]]] requested_week_days: Optional[list[Union[str, WeekDay]]] @@ -3676,8 +3862,8 @@ namespace azure.mgmt.compute.bulkaction.models def __init__( self, *, - deadline_type: Optional[Union[str, RecurringScheduledActionsDeadlineType]] = ..., - execution_parameters: Optional[RecurringScheduledActionsExecutionParameters] = ..., + deadline_type: Optional[Union[str, ScheduledActionsDeadlineType]] = ..., + execution_parameters: Optional[ScheduledActionsExecutionParameters] = ..., requested_days_of_the_month: Optional[list[int]] = ..., requested_months: Optional[list[Union[str, Month]]] = ..., requested_week_days: Optional[list[Union[str, WeekDay]]] = ..., @@ -3690,8 +3876,8 @@ namespace azure.mgmt.compute.bulkaction.models class azure.mgmt.compute.bulkaction.models.ScheduledActionsScheduleUpdate(_Model): - deadline_type: Optional[Union[str, RecurringScheduledActionsDeadlineType]] - execution_parameters: Optional[RecurringScheduledActionsExecutionParameters] + deadline_type: Optional[Union[str, ScheduledActionsDeadlineType]] + execution_parameters: Optional[ScheduledActionsExecutionParameters] requested_days_of_the_month: Optional[list[int]] requested_months: Optional[list[Union[str, Month]]] requested_week_days: Optional[list[Union[str, WeekDay]]] @@ -3702,8 +3888,8 @@ namespace azure.mgmt.compute.bulkaction.models def __init__( self, *, - deadline_type: Optional[Union[str, RecurringScheduledActionsDeadlineType]] = ..., - execution_parameters: Optional[RecurringScheduledActionsExecutionParameters] = ..., + deadline_type: Optional[Union[str, ScheduledActionsDeadlineType]] = ..., + execution_parameters: Optional[ScheduledActionsExecutionParameters] = ..., requested_days_of_the_month: Optional[list[int]] = ..., requested_months: Optional[list[Union[str, Month]]] = ..., requested_week_days: Optional[list[Union[str, WeekDay]]] = ..., @@ -4633,7 +4819,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_cancel( self, resource_group_name: str, @@ -4679,7 +4865,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[LocationBasedBulkCreateCustom]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_delete( self, resource_group_name: str, @@ -4691,7 +4877,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[None]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get( self, resource_group_name: str, @@ -4701,7 +4887,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LocationBasedBulkCreateCustom: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get_async_operation_status( self, location: str, @@ -4710,7 +4896,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> OperationStatusResult: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -4719,13 +4905,23 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ItemPaged[LocationBasedBulkCreateCustom]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription( self, location: str, **kwargs: Any ) -> ItemPaged[LocationBasedBulkCreateCustom]: ... + @distributed_trace + @api_version_validation(method_added_on='2026-08-06-preview', params_added_on={'2026-08-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-08-06-preview']) + def virtual_machines_get_operation_status( + self, + resource_group_name: str, + location: str, + name: str, + **kwargs: Any + ) -> GetOperationStatusResponse: ... + class azure.mgmt.compute.bulkaction.operations.LaunchBulkInstancesOperationOperations: @@ -4736,7 +4932,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_cancel( self, resource_group_name: str, @@ -4782,7 +4978,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'delete_instances']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_delete( self, resource_group_name: str, @@ -4794,7 +4990,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[None]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get( self, resource_group_name: str, @@ -4804,7 +5000,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LocationBasedLaunchBulkInstancesOperation: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'async_operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get_operation_status( self, location: str, @@ -4813,7 +5009,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> OperationStatusResult: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -4822,7 +5018,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ItemPaged[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription( self, location: str, @@ -4830,7 +5026,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ItemPaged[LocationBasedLaunchBulkInstancesOperation]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'filter', 'skiptoken', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'name', 'filter', 'skiptoken', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_virtual_machines( self, resource_group_name: str, @@ -4852,7 +5048,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_occurrence_by_vms( self, resource_uri: str, @@ -4941,7 +5137,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[ResourceOperationResponse]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get( self, resource_group_name: str, @@ -4951,7 +5147,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> Occurrence: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_scheduled_action( self, resource_group_name: str, @@ -4960,7 +5156,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ItemPaged[Occurrence]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'occurrence_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_resources( self, resource_group_name: str, @@ -4991,7 +5187,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'resource_uri', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_vms( self, resource_uri: str, @@ -5008,7 +5204,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> None: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'operation_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'location', 'operation_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get( self, location: str, @@ -5125,7 +5321,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[ScheduledAction]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_delete( self, resource_group_name: str, @@ -5167,7 +5363,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[ResourceOperationResponse]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_disable( self, resource_group_name: str, @@ -5176,7 +5372,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[None]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_enable( self, resource_group_name: str, @@ -5185,7 +5381,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[None]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def begin_trigger_manual_occurrence( self, resource_group_name: str, @@ -5227,7 +5423,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> LROPoller[None]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def get( self, resource_group_name: str, @@ -5236,7 +5432,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ScheduledAction: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_resource_group( self, resource_group_name: str, @@ -5244,11 +5440,11 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> ItemPaged[ScheduledAction]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_by_subscription(self, **kwargs: Any) -> ItemPaged[ScheduledAction]: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'scheduled_action_name', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def list_resources( self, resource_group_name: str, @@ -5530,7 +5726,7 @@ namespace azure.mgmt.compute.bulkaction.operations ) -> HibernateResourceOperationResponse: ... @distributed_trace - @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'lookback_in_minutes', 'accept']}, api_versions_list=['2026-07-06-preview']) + @api_version_validation(method_added_on='2026-07-06-preview', params_added_on={'2026-07-06-preview': ['api_version', 'subscription_id', 'resource_group_name', 'location', 'lookback_in_minutes', 'accept']}, api_versions_list=['2026-07-06-preview', '2026-08-06-preview']) def bulk_list_operation_errors( self, resource_group_name: str, @@ -5644,14 +5840,14 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.AcknowledgeBulkOperationErrorsRequest(TypedDict, total=False): key "operationIds": Required[list[str]] - operation_ids: list[str] + operationIds: list[str] class azure.mgmt.compute.bulkaction.types.AdditionalCapabilities(TypedDict, total=False): key "hibernationEnabled": bool key "ultraSSDEnabled": bool - hibernation_enabled: bool - ultra_ssd_enabled: bool + hibernationEnabled: bool + ultraSSDEnabled: bool class azure.mgmt.compute.bulkaction.types.AdditionalUnattendContent(TypedDict, total=False): @@ -5659,15 +5855,15 @@ namespace azure.mgmt.compute.bulkaction.types key "content": str key "passName": Literal["OobeSystem"] key "settingName": Union[str, SettingNames] - component_name: Literal[Microsoft-Windows-Shell-Setup] + componentName: Literal[Microsoft-Windows-Shell-Setup] content: str - pass_name: Literal[OobeSystem] - setting_name: Union[str, SettingNames] + passName: Literal[OobeSystem] + settingName: Union[str, SettingNames] class azure.mgmt.compute.bulkaction.types.AllInstancesDown(TypedDict, total=False): key "automaticallyApprove": bool - all_instances_down_automatically_approve: bool + automaticallyApprove: bool class azure.mgmt.compute.bulkaction.types.ApiEntityReference(TypedDict, total=False): @@ -5677,14 +5873,13 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.ApplicationProfile(TypedDict, total=False): galleryApplications: list[VMGalleryApplication] - gallery_applications: list[VMGalleryApplication] class azure.mgmt.compute.bulkaction.types.BootDiagnostics(TypedDict, total=False): key "enabled": bool key "storageUri": str enabled: bool - storage_uri: str + storageUri: str class azure.mgmt.compute.bulkaction.types.BulkActionVmExtensionProperties(TypedDict, total=False): @@ -5696,19 +5891,17 @@ namespace azure.mgmt.compute.bulkaction.types key "suppressFailures": bool key "type": str key "typeHandlerVersion": str - auto_upgrade_minor_version: bool - enable_automatic_upgrade: bool - force_update_tag: str + autoUpgradeMinorVersion: bool + enableAutomaticUpgrade: bool + forceUpdateTag: str protectedSettings: dict[str, Any] - protected_settings: dict[str, Any] - protected_settings_from_key_vault: KeyVaultSecretReference + protectedSettingsFromKeyVault: KeyVaultSecretReference provisionAfterExtensions: list[str] - provision_after_extensions: list[str] publisher: str settings: dict[str, Any] - suppress_failures: bool + suppressFailures: bool type: str - type_handler_version: str + typeHandlerVersion: str class azure.mgmt.compute.bulkaction.types.BulkCreateCustomOverride(TypedDict, total=False): @@ -5720,8 +5913,8 @@ namespace azure.mgmt.compute.bulkaction.types identity: VirtualMachineIdentity plan: Plan tags: dict[str, str] - virtual_machine_name: str - virtual_machine_profile: BulkactionVMProperties + virtualMachineName: str + virtualMachineProfile: BulkactionVMProperties class azure.mgmt.compute.bulkaction.types.BulkCreateCustomOverrideBase(TypedDict, total=False): @@ -5732,13 +5925,13 @@ namespace azure.mgmt.compute.bulkaction.types identity: VirtualMachineIdentity plan: Plan tags: dict[str, str] - virtual_machine_profile: BulkactionVMProperties + virtualMachineProfile: BulkactionVMProperties class azure.mgmt.compute.bulkaction.types.BulkCreateCustomOverridesProfile(TypedDict, total=False): key "virtualMachineNamePrefix": str overrides: list[BulkCreateCustomOverride] - virtual_machine_name_prefix: str + virtualMachineNamePrefix: str class azure.mgmt.compute.bulkaction.types.BulkCreateCustomPriorityProfile(TypedDict, total=False): @@ -5746,9 +5939,9 @@ namespace azure.mgmt.compute.bulkaction.types key "evictionPolicy": Union[str, EvictionPolicy] key "maxPricePerVM": float key "type": Union[str, PriorityType] - allocation_strategy: Union[str, BulkCreateCustomAllocationStrategy] - eviction_policy: Union[str, EvictionPolicy] - max_price_per_vm: float + allocationStrategy: Union[str, BulkCreateCustomAllocationStrategy] + evictionPolicy: Union[str, EvictionPolicy] + maxPricePerVM: float type: Union[str, PriorityType] @@ -5758,21 +5951,39 @@ namespace azure.mgmt.compute.bulkaction.types key "computeProfile": Required[ComputeProfile] key "createdTime": str key "executionParameters": ForwardRef('ExecutionParameters', module='types') + key "minCapacity": int key "overridesProfile": ForwardRef('BulkCreateCustomOverridesProfile', module='types') + key "partialFulfillmentPolicy": ForwardRef('PartialFulfillmentPolicy', module='types') key "priorityProfile": Required[BulkCreateCustomPriorityProfile] key "provisioningState": Union[str, ProvisioningState] key "zoneAllocationPolicy": ForwardRef('BulkCreateCustomZoneAllocationPolicy', module='types') capacity: int - capacity_type: Union[str, CapacityType] - compute_profile: ComputeProfile - created_time: str - execution_parameters: ExecutionParameters - overrides_profile: BulkCreateCustomOverridesProfile - priority_profile: BulkCreateCustomPriorityProfile - provisioning_state: Union[str, ProvisioningState] + capacityType: Union[str, CapacityType] + computeProfile: ComputeProfile + createdTime: str + executionParameters: ExecutionParameters + minCapacity: int + overridesProfile: BulkCreateCustomOverridesProfile + partialFulfillmentPolicy: PartialFulfillmentPolicy + priorityProfile: BulkCreateCustomPriorityProfile + provisioningState: Union[str, ProvisioningState] + resources: list[BulkCreateCustomResource] vmSizesProfile: list[BulkCreateCustomVmSizeProfile] - vm_sizes_profile: list[BulkCreateCustomVmSizeProfile] - zone_allocation_policy: BulkCreateCustomZoneAllocationPolicy + zoneAllocationPolicy: BulkCreateCustomZoneAllocationPolicy + + + class azure.mgmt.compute.bulkaction.types.BulkCreateCustomResource(TypedDict, total=False): + key "virtualMachineInfo": ForwardRef('BulkCreateCustomVirtualMachineInfo', module='types') + virtualMachineInfo: BulkCreateCustomVirtualMachineInfo + + + class azure.mgmt.compute.bulkaction.types.BulkCreateCustomVirtualMachineInfo(TypedDict, total=False): + key "name": str + key "vmSize": str + key "zone": str + name: str + vmSize: str + zone: str class azure.mgmt.compute.bulkaction.types.BulkCreateCustomVmSizeProfile(TypedDict, total=False): @@ -5786,9 +5997,8 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.BulkCreateCustomZoneAllocationPolicy(TypedDict, total=False): key "distributionStrategy": Union[str, BulkCreateCustomDistributionStrategy] - distribution_strategy: Union[str, BulkCreateCustomDistributionStrategy] + distributionStrategy: Union[str, BulkCreateCustomDistributionStrategy] zonePreferences: list[ZonePreference] - zone_preferences: list[ZonePreference] class azure.mgmt.compute.bulkaction.types.BulkactionVMExtension(TypedDict, total=False): @@ -5813,45 +6023,51 @@ namespace azure.mgmt.compute.bulkaction.types key "securityProfile": ForwardRef('SecurityProfile', module='types') key "storageProfile": ForwardRef('StorageProfile', module='types') key "userData": str - additional_capabilities: AdditionalCapabilities - application_profile: ApplicationProfile - capacity_reservation: CapacityReservationProfile - diagnostics_profile: DiagnosticsProfile - extensions_time_budget: str - hardware_profile: HardwareProfile - license_type: str - network_profile: NetworkProfile - os_profile: OSProfile - scheduled_events_policy: ScheduledEventsPolicy - scheduled_events_profile: ScheduledEventsProfile - security_profile: SecurityProfile - storage_profile: StorageProfile - user_data: str + additionalCapabilities: AdditionalCapabilities + applicationProfile: ApplicationProfile + capacityReservation: CapacityReservationProfile + diagnosticsProfile: DiagnosticsProfile + extensionsTimeBudget: str + hardwareProfile: HardwareProfile + licenseType: str + networkProfile: NetworkProfile + osProfile: OSProfile + scheduledEventsPolicy: ScheduledEventsPolicy + scheduledEventsProfile: ScheduledEventsProfile + securityProfile: SecurityProfile + storageProfile: StorageProfile + userData: str vmExtensions: list[BulkactionVMExtension] - vm_extensions: list[BulkactionVMExtension] class azure.mgmt.compute.bulkaction.types.CancelOccurrenceRequest(TypedDict, total=False): key "resourceIds": Required[list[str]] - resource_ids: list[str] + resourceIds: list[str] class azure.mgmt.compute.bulkaction.types.CancelOperationsContent(TypedDict, total=False): key "operationIds": Required[list[str]] - operation_ids: list[str] + operationIds: list[str] + + + class azure.mgmt.compute.bulkaction.types.CapacityRecommendationParameters(TypedDict, total=False): + key "availabilityZones": bool + availabilityZones: bool + desiredLocations: list[str] + desiredSizes: list[str] class azure.mgmt.compute.bulkaction.types.CapacityReservationProfile(TypedDict, total=False): key "capacityReservationGroup": ForwardRef('SubResource', module='types') - capacity_reservation_group: SubResource + capacityReservationGroup: SubResource class azure.mgmt.compute.bulkaction.types.ComputeProfile(TypedDict, total=False): key "computeApiVersion": str key "virtualMachineProfile": Required[BulkactionVMProperties] - compute_api_version: str + computeApiVersion: str extensions: list[BulkactionVMExtension] - virtual_machine_profile: BulkactionVMProperties + virtualMachineProfile: BulkactionVMProperties class azure.mgmt.compute.bulkaction.types.DataDisk(TypedDict, total=False): @@ -5869,30 +6085,30 @@ namespace azure.mgmt.compute.bulkaction.types key "vhd": ForwardRef('VirtualHardDisk', module='types') key "writeAcceleratorEnabled": bool caching: Union[str, CachingTypes] - create_option: Union[str, DiskCreateOptionTypes] - delete_option: Union[str, DiskDeleteOptionTypes] - detach_option: Union[str, DiskDetachOptionTypes] - disk_size_gb: int + createOption: Union[str, DiskCreateOptionTypes] + deleteOption: Union[str, DiskDeleteOptionTypes] + detachOption: Union[str, DiskDetachOptionTypes] + diskSizeGB: int image: VirtualHardDisk lun: int - managed_disk: ManagedDiskParametersContent + managedDisk: ManagedDiskParametersContent name: str - source_resource: ApiEntityReference - to_be_detached: bool + sourceResource: ApiEntityReference + toBeDetached: bool vhd: VirtualHardDisk - write_accelerator_enabled: bool + writeAcceleratorEnabled: bool class azure.mgmt.compute.bulkaction.types.DelayRequest(TypedDict, total=False): key "delay": Required[str] key "resourceIds": Required[list[str]] delay: str - resource_ids: list[str] + resourceIds: list[str] class azure.mgmt.compute.bulkaction.types.DiagnosticsProfile(TypedDict, total=False): key "bootDiagnostics": ForwardRef('BootDiagnostics', module='types') - boot_diagnostics: BootDiagnostics + bootDiagnostics: BootDiagnostics class azure.mgmt.compute.bulkaction.types.DiffDiskSettings(TypedDict, total=False): @@ -5911,37 +6127,37 @@ namespace azure.mgmt.compute.bulkaction.types key "diskEncryptionKey": ForwardRef('KeyVaultSecretReference', module='types') key "enabled": bool key "keyEncryptionKey": ForwardRef('KeyVaultKeyReference', module='types') - disk_encryption_key: KeyVaultSecretReference + diskEncryptionKey: KeyVaultSecretReference enabled: bool - key_encryption_key: KeyVaultKeyReference + keyEncryptionKey: KeyVaultKeyReference class azure.mgmt.compute.bulkaction.types.EncryptionIdentity(TypedDict, total=False): key "userAssignedIdentityResourceId": str - user_assigned_identity_resource_id: str + userAssignedIdentityResourceId: str class azure.mgmt.compute.bulkaction.types.EventGridAndResourceGraph(TypedDict, total=False): key "enable": bool key "scheduledEventsApiVersion": str enable: bool - scheduled_events_api_version: str + scheduledEventsApiVersion: str class azure.mgmt.compute.bulkaction.types.ExecuteCreateContent(TypedDict, total=False): key "executionParameters": Required[ExecutionParameters] key "resourceConfigParameters": Required[ResourceProvisionPayload] - execution_parameters: ExecutionParameters - resource_config_parameters: ResourceProvisionPayload + executionParameters: ExecutionParameters + resourceConfigParameters: ResourceProvisionPayload class azure.mgmt.compute.bulkaction.types.ExecuteDeallocateContent(TypedDict, total=False): key "executionParameters": Required[ExecutionParameters] key "resources": ForwardRef('Resources', module='types') key "resourcesWithContext": ForwardRef('ResourcesWithContext', module='types') - execution_parameters: ExecutionParameters + executionParameters: ExecutionParameters resources: Resources - resources_with_context: ResourcesWithContext + resourcesWithContext: ResourcesWithContext class azure.mgmt.compute.bulkaction.types.ExecuteDeleteContent(TypedDict, total=False): @@ -5949,19 +6165,19 @@ namespace azure.mgmt.compute.bulkaction.types key "forceDeletion": bool key "resources": ForwardRef('Resources', module='types') key "resourcesWithContext": ForwardRef('ResourcesWithContext', module='types') - execution_parameters: ExecutionParameters - force_deletion: bool + executionParameters: ExecutionParameters + forceDeletion: bool resources: Resources - resources_with_context: ResourcesWithContext + resourcesWithContext: ResourcesWithContext class azure.mgmt.compute.bulkaction.types.ExecuteHibernateContent(TypedDict, total=False): key "executionParameters": Required[ExecutionParameters] key "resources": ForwardRef('Resources', module='types') key "resourcesWithContext": ForwardRef('ResourcesWithContext', module='types') - execution_parameters: ExecutionParameters + executionParameters: ExecutionParameters resources: Resources - resources_with_context: ResourcesWithContext + resourcesWithContext: ResourcesWithContext class azure.mgmt.compute.bulkaction.types.ExecuteReimageRequest(TypedDict, total=False): @@ -5969,35 +6185,37 @@ namespace azure.mgmt.compute.bulkaction.types key "reimageParameters": ForwardRef('ReimagePayload', module='types') key "resources": ForwardRef('Resources', module='types') key "resourcesWithContext": ForwardRef('ResourcesWithContext', module='types') - execution_parameters: ExecutionParameters - reimage_parameters: ReimagePayload + executionParameters: ExecutionParameters + reimageParameters: ReimagePayload resources: Resources - resources_with_context: ResourcesWithContext + resourcesWithContext: ResourcesWithContext class azure.mgmt.compute.bulkaction.types.ExecuteStartContent(TypedDict, total=False): key "executionParameters": Required[ExecutionParameters] key "resources": ForwardRef('Resources', module='types') key "resourcesWithContext": ForwardRef('ResourcesWithContext', module='types') - execution_parameters: ExecutionParameters + executionParameters: ExecutionParameters resources: Resources - resources_with_context: ResourcesWithContext + resourcesWithContext: ResourcesWithContext class azure.mgmt.compute.bulkaction.types.ExecuteVdiCreateRequest(TypedDict, total=False): key "executionParameters": Required[ExecutionParameters] key "resourceConfigParameters": Required[ResourceProvisionVdiPayload] - execution_parameters: ExecutionParameters - resource_config_parameters: ResourceProvisionVdiPayload + executionParameters: ExecutionParameters + resourceConfigParameters: ResourceProvisionVdiPayload class azure.mgmt.compute.bulkaction.types.ExecutionParameters(TypedDict, total=False): + key "capacityRecommendationParameters": ForwardRef('CapacityRecommendationParameters', module='types') key "optimizationPreference": Union[str, OptimizationPreference] key "retryPolicy": ForwardRef('RetryPolicy', module='types') key "verifyVmAgentHealth": bool - optimization_preference: Union[str, OptimizationPreference] - retry_policy: RetryPolicy - verify_vm_agent_health: bool + capacityRecommendationParameters: CapacityRecommendationParameters + optimizationPreference: Union[str, OptimizationPreference] + retryPolicy: RetryPolicy + verifyVmAgentHealth: bool class azure.mgmt.compute.bulkaction.types.FlexProperties(TypedDict, total=False): @@ -6006,29 +6224,29 @@ namespace azure.mgmt.compute.bulkaction.types key "priorityProfile": Required[PriorityProfile] key "vmSizeProfiles": Required[list[VmSizeProfile]] key "zoneAllocationPolicy": ForwardRef('ZoneAllocationPolicy', module='types') - min_capacity: int - os_type: Union[str, OsType] - priority_profile: PriorityProfile - vm_size_profiles: list[VmSizeProfile] - zone_allocation_policy: ZoneAllocationPolicy + minCapacity: int + osType: Union[str, OsType] + priorityProfile: PriorityProfile + vmSizeProfiles: list[VmSizeProfile] + zoneAllocationPolicy: ZoneAllocationPolicy class azure.mgmt.compute.bulkaction.types.GetOperationStatusContent(TypedDict, total=False): key "operationIds": Required[list[str]] - operation_ids: list[str] + operationIds: list[str] class azure.mgmt.compute.bulkaction.types.HardwareProfile(TypedDict, total=False): key "vmSize": str key "vmSizeProperties": ForwardRef('VmSizeProperties', module='types') - vm_size: str - vm_size_properties: VmSizeProperties + vmSize: str + vmSizeProperties: VmSizeProperties class azure.mgmt.compute.bulkaction.types.HostEndpointSettings(TypedDict, total=False): key "inVMAccessControlProfileReferenceId": str key "mode": Union[str, Modes] - in_vm_access_control_profile_reference_id: str + inVMAccessControlProfileReferenceId: str mode: Union[str, Modes] @@ -6040,11 +6258,11 @@ namespace azure.mgmt.compute.bulkaction.types key "sharedGalleryImageId": str key "sku": str key "version": str - community_gallery_image_id: str + communityGalleryImageId: str id: str offer: str publisher: str - shared_gallery_image_id: str + sharedGalleryImageId: str sku: str version: str @@ -6052,15 +6270,15 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.KeyVaultKeyReference(TypedDict, total=False): key "keyUrl": Required[str] key "sourceVault": Required[SubResource] - key_url: str - source_vault: SubResource + keyUrl: str + sourceVault: SubResource class azure.mgmt.compute.bulkaction.types.KeyVaultSecretReference(TypedDict, total=False): key "secretUrl": Required[str] key "sourceVault": Required[SubResource] - secret_url: str - source_vault: SubResource + secretUrl: str + sourceVault: SubResource class azure.mgmt.compute.bulkaction.types.LaunchBulkInstancesOperationProperties(TypedDict, total=False): @@ -6074,16 +6292,15 @@ namespace azure.mgmt.compute.bulkaction.types key "vmAttributes": ForwardRef('VMAttributes', module='types') key "zoneAllocationPolicy": ForwardRef('ZoneAllocationPolicy', module='types') capacity: int - capacity_type: Union[str, CapacityType] - compute_profile: ComputeProfile - created_time: str - priority_profile: PriorityProfile - provisioning_state: Union[str, ProvisioningState] - retry_policy: RetryPolicy + capacityType: Union[str, CapacityType] + computeProfile: ComputeProfile + createdTime: str + priorityProfile: PriorityProfile + provisioningState: Union[str, ProvisioningState] + retryPolicy: RetryPolicy + vmAttributes: VMAttributes vmSizesProfile: list[VmSizeProfile] - vm_attributes: VMAttributes - vm_sizes_profile: list[VmSizeProfile] - zone_allocation_policy: ZoneAllocationPolicy + zoneAllocationPolicy: ZoneAllocationPolicy class azure.mgmt.compute.bulkaction.types.LinuxConfiguration(TypedDict, total=False): @@ -6092,10 +6309,10 @@ namespace azure.mgmt.compute.bulkaction.types key "patchSettings": ForwardRef('LinuxPatchSettings', module='types') key "provisionVMAgent": bool key "ssh": ForwardRef('SshConfiguration', module='types') - disable_password_authentication: bool - enable_vm_agent_platform_updates: bool - patch_settings: LinuxPatchSettings - provision_vm_agent: bool + disablePasswordAuthentication: bool + enableVMAgentPlatformUpdates: bool + patchSettings: LinuxPatchSettings + provisionVMAgent: bool ssh: SshConfiguration @@ -6103,16 +6320,16 @@ namespace azure.mgmt.compute.bulkaction.types key "assessmentMode": Union[str, LinuxPatchAssessmentMode] key "automaticByPlatformSettings": ForwardRef('LinuxVMGuestPatchAutomaticByPlatformSettings', module='types') key "patchMode": Union[str, LinuxVMGuestPatchMode] - assessment_mode: Union[str, LinuxPatchAssessmentMode] - automatic_by_platform_settings: LinuxVMGuestPatchAutomaticByPlatformSettings - patch_mode: Union[str, LinuxVMGuestPatchMode] + assessmentMode: Union[str, LinuxPatchAssessmentMode] + automaticByPlatformSettings: LinuxVMGuestPatchAutomaticByPlatformSettings + patchMode: Union[str, LinuxVMGuestPatchMode] class azure.mgmt.compute.bulkaction.types.LinuxVMGuestPatchAutomaticByPlatformSettings(TypedDict, total=False): key "bypassPlatformSafetyChecksOnUserSchedule": bool key "rebootSetting": Union[str, LinuxVMGuestPatchAutomaticByPlatformRebootSetting] - bypass_platform_safety_checks_on_user_schedule: bool - reboot_setting: Union[str, LinuxVMGuestPatchAutomaticByPlatformRebootSetting] + bypassPlatformSafetyChecksOnUserSchedule: bool + rebootSetting: Union[str, LinuxVMGuestPatchAutomaticByPlatformRebootSetting] class azure.mgmt.compute.bulkaction.types.LocationBasedBulkCreateCustom(ProxyResource): @@ -6128,7 +6345,7 @@ namespace azure.mgmt.compute.bulkaction.types name: str plan: Plan properties: BulkCreateCustomProperties - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str zones: list[str] @@ -6147,7 +6364,7 @@ namespace azure.mgmt.compute.bulkaction.types name: str plan: Plan properties: LaunchBulkInstancesOperationProperties - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str zones: list[str] @@ -6158,21 +6375,20 @@ namespace azure.mgmt.compute.bulkaction.types key "id": str key "securityProfile": ForwardRef('VMDiskSecurityProfile', module='types') key "storageAccountType": Union[str, StorageAccountTypes] - disk_encryption_set: DiskEncryptionSetParametersContent + diskEncryptionSet: DiskEncryptionSetParametersContent id: str - security_profile: VMDiskSecurityProfile - storage_account_type: Union[str, StorageAccountTypes] + securityProfile: VMDiskSecurityProfile + storageAccountType: Union[str, StorageAccountTypes] class azure.mgmt.compute.bulkaction.types.ManagedServiceIdentity(TypedDict, total=False): key "principalId": str key "tenantId": str key "type": Required[Union[str, ManagedServiceIdentityType]] - principal_id: str - tenant_id: str + principalId: str + tenantId: str type: Union[str, ManagedServiceIdentityType] userAssignedIdentities: dict[str, UserAssignedIdentity] - user_assigned_identities: dict[str, UserAssignedIdentity] class azure.mgmt.compute.bulkaction.types.NetworkInterfaceReference(SubResource): @@ -6185,17 +6401,15 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.NetworkInterfaceReferenceProperties(TypedDict, total=False): key "deleteOption": Union[str, DeleteOptions] key "primary": bool - delete_option: Union[str, DeleteOptions] + deleteOption: Union[str, DeleteOptions] primary: bool class azure.mgmt.compute.bulkaction.types.NetworkProfile(TypedDict, total=False): key "networkApiVersion": Union[str, NetworkApiVersion] + networkApiVersion: Union[str, NetworkApiVersion] networkInterfaceConfigurations: list[VirtualMachineNetworkInterfaceConfiguration] networkInterfaces: list[NetworkInterfaceReference] - network_api_version: Union[str, NetworkApiVersion] - network_interface_configurations: list[VirtualMachineNetworkInterfaceConfiguration] - network_interfaces: list[NetworkInterfaceReference] class azure.mgmt.compute.bulkaction.types.NotificationProperties(TypedDict, total=False): @@ -6223,24 +6437,24 @@ namespace azure.mgmt.compute.bulkaction.types key "vhd": ForwardRef('VirtualHardDisk', module='types') key "writeAcceleratorEnabled": bool caching: Union[str, CachingTypes] - create_option: Union[str, DiskCreateOptionTypes] - delete_option: Union[str, DiskDeleteOptionTypes] - diff_disk_settings: DiffDiskSettings - disk_size_gb: int - encryption_settings: DiskEncryptionSettings + createOption: Union[str, DiskCreateOptionTypes] + deleteOption: Union[str, DiskDeleteOptionTypes] + diffDiskSettings: DiffDiskSettings + diskSizeGB: int + encryptionSettings: DiskEncryptionSettings image: VirtualHardDisk - managed_disk: ManagedDiskParametersContent + managedDisk: ManagedDiskParametersContent name: str - os_type: Union[str, OperatingSystemTypes] + osType: Union[str, OperatingSystemTypes] vhd: VirtualHardDisk - write_accelerator_enabled: bool + writeAcceleratorEnabled: bool class azure.mgmt.compute.bulkaction.types.OSImageNotificationProfile(TypedDict, total=False): key "enable": bool key "notBeforeTimeout": str enable: bool - not_before_timeout: str + notBeforeTimeout: str class azure.mgmt.compute.bulkaction.types.OSProfile(TypedDict, total=False): @@ -6252,22 +6466,31 @@ namespace azure.mgmt.compute.bulkaction.types key "linuxConfiguration": ForwardRef('LinuxConfiguration', module='types') key "requireGuestProvisionSignal": bool key "windowsConfiguration": ForwardRef('WindowsConfiguration', module='types') - admin_password: str - admin_username: str - allow_extension_operations: bool - computer_name: str - custom_data: str - linux_configuration: LinuxConfiguration - require_guest_provision_signal: bool + adminPassword: str + adminUsername: str + allowExtensionOperations: bool + computerName: str + customData: str + linuxConfiguration: LinuxConfiguration + requireGuestProvisionSignal: bool secrets: list[VaultSecretGroup] - windows_configuration: WindowsConfiguration + windowsConfiguration: WindowsConfiguration class azure.mgmt.compute.bulkaction.types.OSProfileProvisioningData(TypedDict, total=False): key "adminPassword": str key "customData": str - admin_password: str - custom_data: str + adminPassword: str + customData: str + + + class azure.mgmt.compute.bulkaction.types.PartialFulfillmentPolicy(TypedDict, total=False): + key "fulfilledCapacity": int + key "mode": Union[str, PartialFulfillmentMode] + key "reason": Union[str, PartialFulfillmentReason] + fulfilledCapacity: int + mode: Union[str, PartialFulfillmentMode] + reason: Union[str, PartialFulfillmentReason] class azure.mgmt.compute.bulkaction.types.PatchSettings(TypedDict, total=False): @@ -6275,10 +6498,10 @@ namespace azure.mgmt.compute.bulkaction.types key "automaticByPlatformSettings": ForwardRef('WindowsVMGuestPatchAutomaticByPlatformSettings', module='types') key "enableHotpatching": bool key "patchMode": Union[str, WindowsVMGuestPatchMode] - assessment_mode: Union[str, WindowsPatchAssessmentMode] - automatic_by_platform_settings: WindowsVMGuestPatchAutomaticByPlatformSettings - enable_hotpatching: bool - patch_mode: Union[str, WindowsVMGuestPatchMode] + assessmentMode: Union[str, WindowsPatchAssessmentMode] + automaticByPlatformSettings: WindowsVMGuestPatchAutomaticByPlatformSettings + enableHotpatching: bool + patchMode: Union[str, WindowsVMGuestPatchMode] class azure.mgmt.compute.bulkaction.types.Plan(TypedDict, total=False): @@ -6289,7 +6512,7 @@ namespace azure.mgmt.compute.bulkaction.types key "version": str name: str product: str - promotion_code: str + promotionCode: str publisher: str version: str @@ -6299,9 +6522,9 @@ namespace azure.mgmt.compute.bulkaction.types key "evictionPolicy": Union[str, EvictionPolicy] key "maxPricePerVM": float key "type": Union[str, PriorityType] - allocation_strategy: Union[str, AllocationStrategy] - eviction_policy: Union[str, EvictionPolicy] - max_price_per_vm: float + allocationStrategy: Union[str, AllocationStrategy] + evictionPolicy: Union[str, EvictionPolicy] + maxPricePerVM: float type: Union[str, PriorityType] @@ -6312,12 +6535,12 @@ namespace azure.mgmt.compute.bulkaction.types key "keyIncarnationId": int key "mode": Union[str, Mode] key "wireServer": ForwardRef('HostEndpointSettings', module='types') - add_proxy_agent_extension: bool + addProxyAgentExtension: bool enabled: bool imds: HostEndpointSettings - key_incarnation_id: int + keyIncarnationId: int mode: Union[str, Mode] - wire_server: HostEndpointSettings + wireServer: HostEndpointSettings class azure.mgmt.compute.bulkaction.types.ProxyResource(Resource): @@ -6327,7 +6550,7 @@ namespace azure.mgmt.compute.bulkaction.types key "type": str id: str name: str - system_data: SystemData + systemData: SystemData type: str @@ -6338,34 +6561,17 @@ namespace azure.mgmt.compute.bulkaction.types tier: Union[str, PublicIPAddressSkuTier] - class azure.mgmt.compute.bulkaction.types.RecurringScheduledActionsExecutionParameters(TypedDict, total=False): - key "optimizationPreference": Union[str, OptimizationPreference] - key "retryPolicy": ForwardRef('RecurringScheduledActionsRetryPolicy', module='types') - optimization_preference: Union[str, OptimizationPreference] - retry_policy: RecurringScheduledActionsRetryPolicy - - - class azure.mgmt.compute.bulkaction.types.RecurringScheduledActionsRetryPolicy(TypedDict, total=False): - key "onFailureAction": Union[str, RecurringScheduledActionsResourceOperationType] - key "retryCount": int - key "retryWindowInMinutes": int - on_failure_action: Union[str, RecurringScheduledActionsResourceOperationType] - retry_count: int - retry_window_in_minutes: int - - class azure.mgmt.compute.bulkaction.types.ReimagePayload(TypedDict, total=False): key "baseProfile": ForwardRef('VirtualMachineReimageParameters', module='types') - base_profile: VirtualMachineReimageParameters + baseProfile: VirtualMachineReimageParameters resourceOverrides: list[ReimageResourceOverride] - resource_overrides: list[ReimageResourceOverride] class azure.mgmt.compute.bulkaction.types.ReimageResourceOverride(TypedDict, total=False): key "profile": Required[VirtualMachineReimageParameters] key "resourceId": Required[str] profile: VirtualMachineReimageParameters - resource_id: str + resourceId: str class azure.mgmt.compute.bulkaction.types.Resource(TypedDict, total=False): @@ -6375,7 +6581,7 @@ namespace azure.mgmt.compute.bulkaction.types key "type": str id: str name: str - system_data: SystemData + systemData: SystemData type: str @@ -6398,11 +6604,9 @@ namespace azure.mgmt.compute.bulkaction.types key "resourceCount": Required[int] key "resourcePrefix": str baseProfile: dict[str, Any] - base_profile: dict[str, Any] + resourceCount: int resourceOverrides: list[dict[str, Any]] - resource_count: int - resource_overrides: list[dict[str, Any]] - resource_prefix: str + resourcePrefix: str class azure.mgmt.compute.bulkaction.types.ResourceProvisionVdiPayload(TypedDict, total=False): @@ -6410,19 +6614,17 @@ namespace azure.mgmt.compute.bulkaction.types key "resourceCount": Required[int] key "resourcePrefix": str baseProfile: dict[str, Any] - base_profile: dict[str, Any] - flex_properties: FlexProperties + flexProperties: FlexProperties + resourceCount: int resourceOverrides: list[dict[str, Any]] - resource_count: int - resource_overrides: list[dict[str, Any]] - resource_prefix: str + resourcePrefix: str class azure.mgmt.compute.bulkaction.types.ResourceWithContext(TypedDict, total=False): key "resourceContext": Required[str] key "resourceId": Required[str] - resource_context: str - resource_id: str + resourceContext: str + resourceId: str class azure.mgmt.compute.bulkaction.types.Resources(TypedDict, total=False): @@ -6439,9 +6641,9 @@ namespace azure.mgmt.compute.bulkaction.types key "onFailureAction": Union[str, ResourceOperationType] key "retryCount": int key "retryWindowInMinutes": int - on_failure_action: Union[str, ResourceOperationType] - retry_count: int - retry_window_in_minutes: int + onFailureAction: Union[str, ResourceOperationType] + retryCount: int + retryWindowInMinutes: int class azure.mgmt.compute.bulkaction.types.ScheduledAction(TrackedResource): @@ -6455,7 +6657,7 @@ namespace azure.mgmt.compute.bulkaction.types location: str name: str properties: ScheduledActionProperties - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str @@ -6465,25 +6667,24 @@ namespace azure.mgmt.compute.bulkaction.types key "disabled": bool key "endTime": str key "notificationSettings": Required[list[NotificationProperties]] - key "provisioningState": Union[str, RecurringScheduledActionsProvisioningState] + key "provisioningState": Union[str, ScheduledActionsProvisioningState] key "resourceType": Required[Union[str, ResourceType]] key "schedule": Required[ScheduledActionsSchedule] key "startTime": Required[str] - action_type: Union[str, ScheduledActionType] + actionType: Union[str, ScheduledActionType] disabled: bool - end_time: str - notification_settings: list[NotificationProperties] - provisioning_state: Union[str, RecurringScheduledActionsProvisioningState] - resource_type: Union[str, ResourceType] + endTime: str + notificationSettings: list[NotificationProperties] + provisioningState: Union[str, ScheduledActionsProvisioningState] + resourceType: Union[str, ResourceType] schedule: ScheduledActionsSchedule - start_time: str + startTime: str class azure.mgmt.compute.bulkaction.types.ScheduledActionResourceInput(TypedDict, total=False): key "resourceId": Required[str] notificationSettings: list[NotificationProperties] - notification_settings: list[NotificationProperties] - resource_id: str + resourceId: str class azure.mgmt.compute.bulkaction.types.ScheduledActionUpdate(TypedDict, total=False): @@ -6499,53 +6700,62 @@ namespace azure.mgmt.compute.bulkaction.types key "resourceType": Union[str, ResourceType] key "schedule": ForwardRef('ScheduledActionsScheduleUpdate', module='types') key "startTime": str - action_type: Union[str, ScheduledActionType] + actionType: Union[str, ScheduledActionType] disabled: bool - end_time: str + endTime: str notificationSettings: list[NotificationProperties] - notification_settings: list[NotificationProperties] - resource_type: Union[str, ResourceType] + resourceType: Union[str, ResourceType] schedule: ScheduledActionsScheduleUpdate - start_time: str + startTime: str + + + class azure.mgmt.compute.bulkaction.types.ScheduledActionsExecutionParameters(TypedDict, total=False): + key "optimizationPreference": Union[str, OptimizationPreference] + key "retryPolicy": ForwardRef('ScheduledActionsRetryPolicy', module='types') + optimizationPreference: Union[str, OptimizationPreference] + retryPolicy: ScheduledActionsRetryPolicy + + + class azure.mgmt.compute.bulkaction.types.ScheduledActionsRetryPolicy(TypedDict, total=False): + key "onFailureAction": Union[str, ScheduledActionsResourceOperationType] + key "retryCount": int + key "retryWindowInMinutes": int + onFailureAction: Union[str, ScheduledActionsResourceOperationType] + retryCount: int + retryWindowInMinutes: int class azure.mgmt.compute.bulkaction.types.ScheduledActionsSchedule(TypedDict, total=False): - key "deadlineType": Union[str, RecurringScheduledActionsDeadlineType] - key "executionParameters": ForwardRef('RecurringScheduledActionsExecutionParameters', module='types') + key "deadlineType": Union[str, ScheduledActionsDeadlineType] + key "executionParameters": ForwardRef('ScheduledActionsExecutionParameters', module='types') key "scheduledTime": Required[str] key "timeZone": Required[str] - deadline_type: Union[str, RecurringScheduledActionsDeadlineType] - execution_parameters: RecurringScheduledActionsExecutionParameters + deadlineType: Union[str, ScheduledActionsDeadlineType] + executionParameters: ScheduledActionsExecutionParameters requestedDaysOfTheMonth: list[int] requestedMonths: list[Union[str, Month]] requestedWeekDays: list[Union[str, WeekDay]] - requested_days_of_the_month: list[int] - requested_months: list[Union[str, Month]] - requested_week_days: list[Union[str, WeekDay]] - scheduled_time: str - time_zone: str + scheduledTime: str + timeZone: str class azure.mgmt.compute.bulkaction.types.ScheduledActionsScheduleUpdate(TypedDict, total=False): - key "deadlineType": Union[str, RecurringScheduledActionsDeadlineType] - key "executionParameters": ForwardRef('RecurringScheduledActionsExecutionParameters', module='types') + key "deadlineType": Union[str, ScheduledActionsDeadlineType] + key "executionParameters": ForwardRef('ScheduledActionsExecutionParameters', module='types') key "scheduledTime": str key "timeZone": str - deadline_type: Union[str, RecurringScheduledActionsDeadlineType] - execution_parameters: RecurringScheduledActionsExecutionParameters + deadlineType: Union[str, ScheduledActionsDeadlineType] + executionParameters: ScheduledActionsExecutionParameters requestedDaysOfTheMonth: list[int] requestedMonths: list[Union[str, Month]] requestedWeekDays: list[Union[str, WeekDay]] - requested_days_of_the_month: list[int] - requested_months: list[Union[str, Month]] - requested_week_days: list[Union[str, WeekDay]] - scheduled_time: str - time_zone: str + scheduledTime: str + timeZone: str class azure.mgmt.compute.bulkaction.types.ScheduledEventsAdditionalPublishingTargets(TypedDict, total=False): key "eventGridAndResourceGraph": ForwardRef('EventGridAndResourceGraph', module='types') - event_grid_and_resource_graph: EventGridAndResourceGraph + eventGridAndResourceGraph: EventGridAndResourceGraph class azure.mgmt.compute.bulkaction.types.ScheduledEventsPolicy(TypedDict, total=False): @@ -6553,17 +6763,17 @@ namespace azure.mgmt.compute.bulkaction.types key "scheduledEventsAdditionalPublishingTargets": ForwardRef('ScheduledEventsAdditionalPublishingTargets', module='types') key "userInitiatedReboot": ForwardRef('UserInitiatedReboot', module='types') key "userInitiatedRedeploy": ForwardRef('UserInitiatedRedeploy', module='types') - all_instances_down: AllInstancesDown - scheduled_events_additional_publishing_targets: ScheduledEventsAdditionalPublishingTargets - user_initiated_reboot: UserInitiatedReboot - user_initiated_redeploy: UserInitiatedRedeploy + allInstancesDown: AllInstancesDown + scheduledEventsAdditionalPublishingTargets: ScheduledEventsAdditionalPublishingTargets + userInitiatedReboot: UserInitiatedReboot + userInitiatedRedeploy: UserInitiatedRedeploy class azure.mgmt.compute.bulkaction.types.ScheduledEventsProfile(TypedDict, total=False): key "osImageNotificationProfile": ForwardRef('OSImageNotificationProfile', module='types') key "terminateNotificationProfile": ForwardRef('TerminateNotificationProfile', module='types') - os_image_notification_profile: OSImageNotificationProfile - terminate_notification_profile: TerminateNotificationProfile + osImageNotificationProfile: OSImageNotificationProfile + terminateNotificationProfile: TerminateNotificationProfile class azure.mgmt.compute.bulkaction.types.SecurityProfile(TypedDict, total=False): @@ -6572,22 +6782,21 @@ namespace azure.mgmt.compute.bulkaction.types key "proxyAgentSettings": ForwardRef('ProxyAgentSettings', module='types') key "securityType": Union[str, SecurityTypes] key "uefiSettings": ForwardRef('UefiSettings', module='types') - encryption_at_host: bool - encryption_identity: EncryptionIdentity - proxy_agent_settings: ProxyAgentSettings - security_type: Union[str, SecurityTypes] - uefi_settings: UefiSettings + encryptionAtHost: bool + encryptionIdentity: EncryptionIdentity + proxyAgentSettings: ProxyAgentSettings + securityType: Union[str, SecurityTypes] + uefiSettings: UefiSettings class azure.mgmt.compute.bulkaction.types.SshConfiguration(TypedDict, total=False): publicKeys: list[SshPublicKey] - public_keys: list[SshPublicKey] class azure.mgmt.compute.bulkaction.types.SshPublicKey(TypedDict, total=False): key "keyData": str key "path": str - key_data: str + keyData: str path: str @@ -6596,10 +6805,9 @@ namespace azure.mgmt.compute.bulkaction.types key "imageReference": ForwardRef('ImageReference', module='types') key "osDisk": ForwardRef('OSDisk', module='types') dataDisks: list[DataDisk] - data_disks: list[DataDisk] - disk_controller_type: Union[str, DiskControllerTypes] - image_reference: ImageReference - os_disk: OSDisk + diskControllerType: Union[str, DiskControllerTypes] + imageReference: ImageReference + osDisk: OSDisk class azure.mgmt.compute.bulkaction.types.SubResource(TypedDict, total=False): @@ -6614,19 +6822,19 @@ namespace azure.mgmt.compute.bulkaction.types key "lastModifiedAt": str key "lastModifiedBy": str key "lastModifiedByType": Union[str, CreatedByType] - created_at: str - created_by: str - created_by_type: Union[str, CreatedByType] - last_modified_at: str - last_modified_by: str - last_modified_by_type: Union[str, CreatedByType] + createdAt: str + createdBy: str + createdByType: Union[str, CreatedByType] + lastModifiedAt: str + lastModifiedBy: str + lastModifiedByType: Union[str, CreatedByType] class azure.mgmt.compute.bulkaction.types.TerminateNotificationProfile(TypedDict, total=False): key "enable": bool key "notBeforeTimeout": str enable: bool - not_before_timeout: str + notBeforeTimeout: str class azure.mgmt.compute.bulkaction.types.TrackedResource(Resource): @@ -6638,7 +6846,7 @@ namespace azure.mgmt.compute.bulkaction.types id: str location: str name: str - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str @@ -6646,32 +6854,32 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.UefiSettings(TypedDict, total=False): key "secureBootEnabled": bool key "vTpmEnabled": bool - secure_boot_enabled: bool - v_tpm_enabled: bool + secureBootEnabled: bool + vTpmEnabled: bool class azure.mgmt.compute.bulkaction.types.UserAssignedIdentitiesValue(TypedDict, total=False): key "clientId": str key "principalId": str - client_id: str - principal_id: str + clientId: str + principalId: str class azure.mgmt.compute.bulkaction.types.UserAssignedIdentity(TypedDict, total=False): key "clientId": str key "principalId": str - client_id: str - principal_id: str + clientId: str + principalId: str class azure.mgmt.compute.bulkaction.types.UserInitiatedReboot(TypedDict, total=False): key "automaticallyApprove": bool - user_initiated_reboot_automatically_approve: bool + automaticallyApprove: bool class azure.mgmt.compute.bulkaction.types.UserInitiatedRedeploy(TypedDict, total=False): key "automaticallyApprove": bool - user_initiated_redeploy_automatically_approve: bool + automaticallyApprove: bool class azure.mgmt.compute.bulkaction.types.VMAttributeMinMaxDouble(TypedDict, total=False): @@ -6703,43 +6911,35 @@ namespace azure.mgmt.compute.bulkaction.types key "rdmaNetworkInterfaceCount": ForwardRef('VMAttributeMinMaxInteger', module='types') key "rdmaSupport": Union[str, VMAttributeSupport] key "vCpuCount": Required[VMAttributeMinMaxInteger] + acceleratorCount: VMAttributeMinMaxInteger acceleratorManufacturers: list[Union[str, AcceleratorManufacturer]] + acceleratorSupport: Union[str, VMAttributeSupport] acceleratorTypes: list[Union[str, AcceleratorType]] - accelerator_count: VMAttributeMinMaxInteger - accelerator_manufacturers: list[Union[str, AcceleratorManufacturer]] - accelerator_support: Union[str, VMAttributeSupport] - accelerator_types: list[Union[str, AcceleratorType]] allowedVMSizes: list[str] - allowed_vm_sizes: list[str] - architecture_types: list[Union[str, ArchitectureType]] - burstable_support: Union[str, VMAttributeSupport] + architectureTypes: list[Union[str, ArchitectureType]] + burstableSupport: Union[str, VMAttributeSupport] cpuManufacturers: list[Union[str, CpuManufacturer]] - cpu_manufacturers: list[Union[str, CpuManufacturer]] - data_disk_count: VMAttributeMinMaxInteger + dataDiskCount: VMAttributeMinMaxInteger excludedVMSizes: list[str] - excluded_vm_sizes: list[str] hyperVGenerations: list[Union[str, HyperVGeneration]] - hyper_v_generations: list[Union[str, HyperVGeneration]] localStorageDiskTypes: list[Union[str, LocalStorageDiskType]] - local_storage_disk_types: list[Union[str, LocalStorageDiskType]] - local_storage_in_gi_b: VMAttributeMinMaxDouble - local_storage_support: Union[str, VMAttributeSupport] - memory_in_gi_b: VMAttributeMinMaxDouble - memory_in_gi_b_per_v_cpu: VMAttributeMinMaxDouble - network_bandwidth_in_mbps: VMAttributeMinMaxDouble - network_interface_count: VMAttributeMinMaxInteger - rdma_network_interface_count: VMAttributeMinMaxInteger - rdma_support: Union[str, VMAttributeSupport] - v_cpu_count: VMAttributeMinMaxInteger + localStorageInGiB: VMAttributeMinMaxDouble + localStorageSupport: Union[str, VMAttributeSupport] + memoryInGiB: VMAttributeMinMaxDouble + memoryInGiBPerVCpu: VMAttributeMinMaxDouble + networkBandwidthInMbps: VMAttributeMinMaxDouble + networkInterfaceCount: VMAttributeMinMaxInteger + rdmaNetworkInterfaceCount: VMAttributeMinMaxInteger + rdmaSupport: Union[str, VMAttributeSupport] + vCpuCount: VMAttributeMinMaxInteger vmCategories: list[Union[str, VMCategory]] - vm_categories: list[Union[str, VMCategory]] class azure.mgmt.compute.bulkaction.types.VMDiskSecurityProfile(TypedDict, total=False): key "diskEncryptionSet": ForwardRef('DiskEncryptionSetParametersContent', module='types') key "securityEncryptionType": Union[str, SecurityEncryptionTypes] - disk_encryption_set: DiskEncryptionSetParametersContent - security_encryption_type: Union[str, SecurityEncryptionTypes] + diskEncryptionSet: DiskEncryptionSetParametersContent + securityEncryptionType: Union[str, SecurityEncryptionTypes] class azure.mgmt.compute.bulkaction.types.VMGalleryApplication(TypedDict, total=False): @@ -6749,26 +6949,25 @@ namespace azure.mgmt.compute.bulkaction.types key "packageReferenceId": Required[str] key "tags": str key "treatFailureAsDeploymentFailure": bool - configuration_reference: str - enable_automatic_upgrade: bool + configurationReference: str + enableAutomaticUpgrade: bool order: int - package_reference_id: str + packageReferenceId: str tags: str - treat_failure_as_deployment_failure: bool + treatFailureAsDeploymentFailure: bool class azure.mgmt.compute.bulkaction.types.VaultCertificate(TypedDict, total=False): key "certificateStore": str key "certificateUrl": str - certificate_store: str - certificate_url: str + certificateStore: str + certificateUrl: str class azure.mgmt.compute.bulkaction.types.VaultSecretGroup(TypedDict, total=False): key "sourceVault": ForwardRef('SubResource', module='types') - source_vault: SubResource + sourceVault: SubResource vaultCertificates: list[VaultCertificate] - vault_certificates: list[VaultCertificate] class azure.mgmt.compute.bulkaction.types.VirtualHardDisk(TypedDict, total=False): @@ -6780,17 +6979,16 @@ namespace azure.mgmt.compute.bulkaction.types key "principalId": str key "tenantId": str key "type": Union[str, ResourceIdentityType] - principal_id: str - tenant_id: str + principalId: str + tenantId: str type: Union[str, ResourceIdentityType] userAssignedIdentities: dict[str, UserAssignedIdentitiesValue] - user_assigned_identities: dict[str, UserAssignedIdentitiesValue] class azure.mgmt.compute.bulkaction.types.VirtualMachineIpTag(TypedDict, total=False): key "ipTagType": str key "tag": str - ip_tag_type: str + ipTagType: str tag: str @@ -6815,23 +7013,22 @@ namespace azure.mgmt.compute.bulkaction.types key "ipConfigurations": Required[list[VirtualMachineNetworkInterfaceIPConfiguration]] key "networkSecurityGroup": ForwardRef('SubResource', module='types') key "primary": bool - auxiliary_mode: Union[str, NetworkInterfaceAuxiliaryMode] - auxiliary_sku: Union[str, NetworkInterfaceAuxiliarySku] - delete_option: Union[str, DeleteOptions] - disable_tcp_state_tracking: bool - dns_settings: VirtualMachineNetworkInterfaceDnsSettingsConfiguration - dscp_configuration: SubResource - enable_accelerated_networking: bool - enable_fpga: bool - enable_ip_forwarding: bool - ip_configurations: list[VirtualMachineNetworkInterfaceIPConfiguration] - network_security_group: SubResource + auxiliaryMode: Union[str, NetworkInterfaceAuxiliaryMode] + auxiliarySku: Union[str, NetworkInterfaceAuxiliarySku] + deleteOption: Union[str, DeleteOptions] + disableTcpStateTracking: bool + dnsSettings: VirtualMachineNetworkInterfaceDnsSettingsConfiguration + dscpConfiguration: SubResource + enableAcceleratedNetworking: bool + enableFpga: bool + enableIPForwarding: bool + ipConfigurations: list[VirtualMachineNetworkInterfaceIPConfiguration] + networkSecurityGroup: SubResource primary: bool class azure.mgmt.compute.bulkaction.types.VirtualMachineNetworkInterfaceDnsSettingsConfiguration(TypedDict, total=False): dnsServers: list[str] - dns_servers: list[str] class azure.mgmt.compute.bulkaction.types.VirtualMachineNetworkInterfaceIPConfiguration(TypedDict, total=False): @@ -6848,13 +7045,10 @@ namespace azure.mgmt.compute.bulkaction.types key "subnet": ForwardRef('SubResource', module='types') applicationGatewayBackendAddressPools: list[SubResource] applicationSecurityGroups: list[SubResource] - application_gateway_backend_address_pools: list[SubResource] - application_security_groups: list[SubResource] loadBalancerBackendAddressPools: list[SubResource] - load_balancer_backend_address_pools: list[SubResource] primary: bool - private_ip_address_version: Union[str, IPVersions] - public_ip_address_configuration: VirtualMachinePublicIPAddressConfiguration + privateIPAddressVersion: Union[str, IPVersions] + publicIPAddressConfiguration: VirtualMachinePublicIPAddressConfiguration subnet: SubResource @@ -6875,30 +7069,29 @@ namespace azure.mgmt.compute.bulkaction.types key "publicIPAddressVersion": Union[str, IPVersions] key "publicIPAllocationMethod": Union[str, PublicIPAllocationMethod] key "publicIPPrefix": ForwardRef('SubResource', module='types') - delete_option: Union[str, DeleteOptions] - dns_settings: VirtualMachinePublicIPAddressDnsSettingsConfiguration - idle_timeout_in_minutes: int + deleteOption: Union[str, DeleteOptions] + dnsSettings: VirtualMachinePublicIPAddressDnsSettingsConfiguration + idleTimeoutInMinutes: int ipTags: list[VirtualMachineIpTag] - ip_tags: list[VirtualMachineIpTag] - public_ip_address_version: Union[str, IPVersions] - public_ip_allocation_method: Union[str, PublicIPAllocationMethod] - public_ip_prefix: SubResource + publicIPAddressVersion: Union[str, IPVersions] + publicIPAllocationMethod: Union[str, PublicIPAllocationMethod] + publicIPPrefix: SubResource class azure.mgmt.compute.bulkaction.types.VirtualMachinePublicIPAddressDnsSettingsConfiguration(TypedDict, total=False): key "domainNameLabel": Required[str] key "domainNameLabelScope": Union[str, DomainNameLabelScopeTypes] - domain_name_label: str - domain_name_label_scope: Union[str, DomainNameLabelScopeTypes] + domainNameLabel: str + domainNameLabelScope: Union[str, DomainNameLabelScopeTypes] class azure.mgmt.compute.bulkaction.types.VirtualMachineReimageParameters(TypedDict, total=False): key "exactVersion": str key "osProfile": ForwardRef('OSProfileProvisioningData', module='types') key "tempDisk": bool - exact_version: str - os_profile: OSProfileProvisioningData - temp_disk: bool + exactVersion: str + osProfile: OSProfileProvisioningData + tempDisk: bool class azure.mgmt.compute.bulkaction.types.VmSizeProfile(TypedDict, total=False): @@ -6911,8 +7104,8 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.VmSizeProperties(TypedDict, total=False): key "vCpusAvailable": int key "vCpusPerCore": int - v_cpus_available: int - v_cpus_per_core: int + vCpusAvailable: int + vCpusPerCore: int class azure.mgmt.compute.bulkaction.types.WinRMConfiguration(TypedDict, total=False): @@ -6922,7 +7115,7 @@ namespace azure.mgmt.compute.bulkaction.types class azure.mgmt.compute.bulkaction.types.WinRMListener(TypedDict, total=False): key "certificateUrl": str key "protocol": Union[str, ProtocolTypes] - certificate_url: str + certificateUrl: str protocol: Union[str, ProtocolTypes] @@ -6933,26 +7126,24 @@ namespace azure.mgmt.compute.bulkaction.types key "timeZone": str key "winRM": ForwardRef('WinRMConfiguration', module='types') additionalUnattendContent: list[AdditionalUnattendContent] - additional_unattend_content: list[AdditionalUnattendContent] - enable_automatic_updates: bool - patch_settings: PatchSettings - provision_vm_agent: bool - time_zone: str - win_rm: WinRMConfiguration + enableAutomaticUpdates: bool + patchSettings: PatchSettings + provisionVMAgent: bool + timeZone: str + winRM: WinRMConfiguration class azure.mgmt.compute.bulkaction.types.WindowsVMGuestPatchAutomaticByPlatformSettings(TypedDict, total=False): key "bypassPlatformSafetyChecksOnUserSchedule": bool key "rebootSetting": Union[str, WindowsVMGuestPatchAutomaticByPlatformRebootSetting] - bypass_platform_safety_checks_on_user_schedule: bool - reboot_setting: Union[str, WindowsVMGuestPatchAutomaticByPlatformRebootSetting] + bypassPlatformSafetyChecksOnUserSchedule: bool + rebootSetting: Union[str, WindowsVMGuestPatchAutomaticByPlatformRebootSetting] class azure.mgmt.compute.bulkaction.types.ZoneAllocationPolicy(TypedDict, total=False): key "distributionStrategy": Union[str, DistributionStrategy] - distribution_strategy: Union[str, DistributionStrategy] + distributionStrategy: Union[str, DistributionStrategy] zonePreferences: list[ZonePreference] - zone_preferences: list[ZonePreference] class azure.mgmt.compute.bulkaction.types.ZonePreference(TypedDict, total=False): diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml b/sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml index 1fc24161471f..d6e6513d0307 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml +++ b/sdk/compute/azure-mgmt-compute-bulkaction/api.metadata.yml @@ -1,3 +1,3 @@ -apiMdSha256: a441d273b218be0de2ef3610ab10874435138f37941fee3739b188b864fb282f -parserVersion: 0.3.30 +apiMdSha256: 42c8834db805a9027c94155efd3fe8f76e766e67c6568e01ef75d9e6398380a3 +parserVersion: 0.3.31 pythonVersion: 3.13.14 diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/apiview-properties.json b/sdk/compute/azure-mgmt-compute-bulkaction/apiview-properties.json index dddccc356b69..72e82d793518 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/apiview-properties.json +++ b/sdk/compute/azure-mgmt-compute-bulkaction/apiview-properties.json @@ -19,12 +19,19 @@ "azure.mgmt.compute.bulkaction.models.BulkCreateCustomOverridesProfile": "Microsoft.Compute.BulkCreateCustomOverridesProfile", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomPriorityProfile": "Microsoft.Compute.BulkCreateCustomPriorityProfile", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomProperties": "Microsoft.Compute.BulkCreateCustomProperties", + "azure.mgmt.compute.bulkaction.models.BulkCreateCustomResource": "Microsoft.Compute.BulkCreateCustomResource", + "azure.mgmt.compute.bulkaction.models.BulkCreateCustomVirtualMachineInfo": "Microsoft.Compute.BulkCreateCustomVirtualMachineInfo", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomVmSizeProfile": "Microsoft.Compute.BulkCreateCustomVmSizeProfile", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomZoneAllocationPolicy": "Microsoft.Compute.BulkCreateCustomZoneAllocationPolicy", "azure.mgmt.compute.bulkaction.models.BulkInstancesInnerError": "Microsoft.Compute.InnerError", "azure.mgmt.compute.bulkaction.models.CancelOccurrenceRequest": "Microsoft.Compute.CancelOccurrenceRequest", "azure.mgmt.compute.bulkaction.models.CancelOperationsContent": "Microsoft.Compute.CancelOperationsRequest", "azure.mgmt.compute.bulkaction.models.CancelOperationsResponse": "Microsoft.Compute.CancelOperationsResponse", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendation": "Microsoft.Compute.CapacityRecommendation", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendationDetails": "Microsoft.Compute.CapacityRecommendationDetails", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendationParameters": "Microsoft.Compute.CapacityRecommendationParameters", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendationPlacementScore": "Microsoft.Compute.CapacityRecommendationPlacementScore", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendationSize": "Microsoft.Compute.CapacityRecommendationSize", "azure.mgmt.compute.bulkaction.models.CapacityReservationProfile": "Microsoft.Compute.CapacityReservationProfile", "azure.mgmt.compute.bulkaction.models.ComputeProfile": "Microsoft.Compute.ComputeProfile", "azure.mgmt.compute.bulkaction.models.CreateResourceOperationResponse": "Microsoft.Compute.CreateResourceOperationResponse", @@ -88,13 +95,12 @@ "azure.mgmt.compute.bulkaction.models.OSImageNotificationProfile": "Microsoft.Compute.OSImageNotificationProfile", "azure.mgmt.compute.bulkaction.models.OSProfile": "Microsoft.Compute.OSProfile", "azure.mgmt.compute.bulkaction.models.OSProfileProvisioningData": "Microsoft.Compute.OSProfileProvisioningData", + "azure.mgmt.compute.bulkaction.models.PartialFulfillmentPolicy": "Microsoft.Compute.PartialFulfillmentPolicy", "azure.mgmt.compute.bulkaction.models.PatchSettings": "Microsoft.Compute.PatchSettings", "azure.mgmt.compute.bulkaction.models.Plan": "Azure.ResourceManager.CommonTypes.Plan", "azure.mgmt.compute.bulkaction.models.PriorityProfile": "Microsoft.Compute.PriorityProfile", "azure.mgmt.compute.bulkaction.models.ProxyAgentSettings": "Microsoft.Compute.ProxyAgentSettings", "azure.mgmt.compute.bulkaction.models.PublicIPAddressSku": "Microsoft.Compute.PublicIPAddressSku", - "azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsExecutionParameters": "Microsoft.Compute.RecurringScheduledActionsExecutionParameters", - "azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsRetryPolicy": "Microsoft.Compute.RecurringScheduledActionsRetryPolicy", "azure.mgmt.compute.bulkaction.models.ReimagePayload": "Microsoft.Compute.ReimagePayload", "azure.mgmt.compute.bulkaction.models.ReimageResourceOperationResponse": "Microsoft.Compute.ReimageResourceOperationResponse", "azure.mgmt.compute.bulkaction.models.ReimageResourceOverride": "Microsoft.Compute.ReimageResourceOverride", @@ -120,7 +126,9 @@ "azure.mgmt.compute.bulkaction.models.ScheduledActionResource": "Microsoft.Compute.ScheduledActionResource", "azure.mgmt.compute.bulkaction.models.ScheduledActionResourceInput": "Microsoft.Compute.ScheduledActionResourceInput", "azure.mgmt.compute.bulkaction.models.ScheduledActionResources": "Microsoft.Compute.ScheduledActionResources", + "azure.mgmt.compute.bulkaction.models.ScheduledActionsExecutionParameters": "Microsoft.Compute.ScheduledActionsExecutionParameters", "azure.mgmt.compute.bulkaction.models.ScheduledActionsExtensionProperties": "Microsoft.Compute.ScheduledActionsExtensionProperties", + "azure.mgmt.compute.bulkaction.models.ScheduledActionsRetryPolicy": "Microsoft.Compute.ScheduledActionsRetryPolicy", "azure.mgmt.compute.bulkaction.models.ScheduledActionsSchedule": "Microsoft.Compute.ScheduledActionsSchedule", "azure.mgmt.compute.bulkaction.models.ScheduledActionsScheduleUpdate": "Microsoft.Compute.ScheduledActionsScheduleUpdate", "azure.mgmt.compute.bulkaction.models.ScheduledActionUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel", @@ -174,6 +182,7 @@ "azure.mgmt.compute.bulkaction.models.ResourceOperationType": "Microsoft.Compute.ResourceOperationType", "azure.mgmt.compute.bulkaction.models.DeadlineType": "Microsoft.Compute.DeadlineType", "azure.mgmt.compute.bulkaction.models.OperationState": "Microsoft.Compute.OperationState", + "azure.mgmt.compute.bulkaction.models.CapacityRecommendationStatus": "Microsoft.Compute.CapacityRecommendationStatus", "azure.mgmt.compute.bulkaction.models.OptimizationPreference": "Microsoft.Compute.OptimizationPreference", "azure.mgmt.compute.bulkaction.models.OsType": "Microsoft.Compute.OsType", "azure.mgmt.compute.bulkaction.models.PriorityType": "Microsoft.Compute.PriorityType", @@ -223,6 +232,8 @@ "azure.mgmt.compute.bulkaction.models.Modes": "Microsoft.Compute.Modes", "azure.mgmt.compute.bulkaction.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", "azure.mgmt.compute.bulkaction.models.VMOperationStatus": "Microsoft.Compute.VMOperationStatus", + "azure.mgmt.compute.bulkaction.models.PartialFulfillmentMode": "Microsoft.Compute.PartialFulfillmentMode", + "azure.mgmt.compute.bulkaction.models.PartialFulfillmentReason": "Microsoft.Compute.PartialFulfillmentReason", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomAllocationStrategy": "Microsoft.Compute.BulkCreateCustomAllocationStrategy", "azure.mgmt.compute.bulkaction.models.ResourceIdentityType": "Microsoft.Compute.ResourceIdentityType", "azure.mgmt.compute.bulkaction.models.BulkCreateCustomDistributionStrategy": "Microsoft.Compute.BulkCreateCustomDistributionStrategy", @@ -230,14 +241,14 @@ "azure.mgmt.compute.bulkaction.models.ScheduledActionType": "Microsoft.Compute.ScheduledActionType", "azure.mgmt.compute.bulkaction.models.WeekDay": "Microsoft.Compute.WeekDay", "azure.mgmt.compute.bulkaction.models.Month": "Microsoft.Compute.Month", - "azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsResourceOperationType": "Microsoft.Compute.RecurringScheduledActionsResourceOperationType", - "azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsDeadlineType": "Microsoft.Compute.RecurringScheduledActionsDeadlineType", + "azure.mgmt.compute.bulkaction.models.ScheduledActionsResourceOperationType": "Microsoft.Compute.ScheduledActionsResourceOperationType", + "azure.mgmt.compute.bulkaction.models.ScheduledActionsDeadlineType": "Microsoft.Compute.ScheduledActionsDeadlineType", "azure.mgmt.compute.bulkaction.models.NotificationType": "Microsoft.Compute.NotificationType", "azure.mgmt.compute.bulkaction.models.Language": "Microsoft.Compute.Language", - "azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsProvisioningState": "Microsoft.Compute.RecurringScheduledActionsProvisioningState", + "azure.mgmt.compute.bulkaction.models.ScheduledActionsProvisioningState": "Microsoft.Compute.ScheduledActionsProvisioningState", "azure.mgmt.compute.bulkaction.models.ResourceOperationStatus": "Microsoft.Compute.ResourceOperationStatus", "azure.mgmt.compute.bulkaction.models.OccurrenceState": "Microsoft.Compute.OccurrenceState", - "azure.mgmt.compute.bulkaction.models.ResourceProvisioningState": "Azure.ResourceManager.ResourceProvisioningState", + "azure.mgmt.compute.bulkaction.models.OccurrenceResourceProvisioningState": "Microsoft.Compute.OccurrenceResourceProvisioningState", "azure.mgmt.compute.bulkaction.operations.Operations.list": "Azure.ResourceManager.Operations.list", "azure.mgmt.compute.bulkaction.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list", "azure.mgmt.compute.bulkaction.operations.VirtualMachineBulkOperationsOperations.bulk_deallocate_operation": "Microsoft.Compute.VirtualMachineBulkOperations.bulkDeallocate", @@ -288,6 +299,8 @@ "azure.mgmt.compute.bulkaction.aio.operations.BulkCreateCustomOperations.begin_delete": "Microsoft.Compute.BulkCreateCustom.delete", "azure.mgmt.compute.bulkaction.operations.BulkCreateCustomOperations.begin_cancel": "Microsoft.Compute.BulkCreateCustom.cancel", "azure.mgmt.compute.bulkaction.aio.operations.BulkCreateCustomOperations.begin_cancel": "Microsoft.Compute.BulkCreateCustom.cancel", + "azure.mgmt.compute.bulkaction.operations.BulkCreateCustomOperations.virtual_machines_get_operation_status": "Microsoft.Compute.BulkCreateCustom.virtualMachinesGetOperationStatus", + "azure.mgmt.compute.bulkaction.aio.operations.BulkCreateCustomOperations.virtual_machines_get_operation_status": "Microsoft.Compute.BulkCreateCustom.virtualMachinesGetOperationStatus", "azure.mgmt.compute.bulkaction.operations.BulkCreateCustomOperations.list_by_resource_group": "Microsoft.Compute.BulkCreateCustom.listByResourceGroup", "azure.mgmt.compute.bulkaction.aio.operations.BulkCreateCustomOperations.list_by_resource_group": "Microsoft.Compute.BulkCreateCustom.listByResourceGroup", "azure.mgmt.compute.bulkaction.operations.BulkCreateCustomOperations.list_by_subscription": "Microsoft.Compute.BulkCreateCustom.listBySubscription", @@ -337,5 +350,5 @@ "azure.mgmt.compute.bulkaction.operations.OccurrenceExtensionOperations.list_occurrence_by_vms": "Microsoft.Compute.OccurrenceExtension.listOccurrenceByVms", "azure.mgmt.compute.bulkaction.aio.operations.OccurrenceExtensionOperations.list_occurrence_by_vms": "Microsoft.Compute.OccurrenceExtension.listOccurrenceByVms" }, - "CrossLanguageVersion": "bc10e6cd5455" + "CrossLanguageVersion": "90e3e737f46e" } \ No newline at end of file diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py index db2229bad33c..11bc669a9152 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_client.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -41,7 +42,7 @@ from azure.core.credentials import TokenCredential -class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attributes +class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """ComputeBulkActionsMgmtClient. :ivar operations: Operations operations @@ -78,7 +79,7 @@ class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attribu None. :paramtype cloud_setting: ~azure.core.AzureClouds :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 + "2026-08-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 diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py index fc4384e65877..4f3a0b9ad173 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ComputeBulkActionsMgmtClient. Note that all parameters used to create this instance are saved as instance @@ -34,7 +35,7 @@ class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-ins None. :type cloud_setting: ~azure.core.AzureClouds :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 + "2026-08-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 @@ -48,7 +49,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-07-06-preview") + api_version: str = kwargs.pop("api_version", "2026-08-06-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_patch.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_patch.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/model_base.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/model_base.py index 0f2c5bdfe70f..35d5fc024978 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/model_base.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) @@ -342,6 +350,12 @@ def _deserialize_int_as_str(attr): return int(attr) +def _deserialize_bool_as_str(attr): + if isinstance(attr, bool): + return attr + return attr.lower() == "true" + + _DESERIALIZE_MAPPING = { datetime: _deserialize_datetime, date: _deserialize_date, @@ -369,6 +383,8 @@ def _deserialize_int_as_str(attr): def get_deserializer(annotation: typing.Any, rf: typing.Optional["_RestField"] = None): if annotation is int and rf and rf._format == "str": return _deserialize_int_as_str + if annotation is bool and rf and rf._format == "str": + return _deserialize_bool_as_str if annotation is str and rf and rf._format in _ARRAY_ENCODE_MAPPING: return functools.partial(_deserialize_array_encoded, _ARRAY_ENCODE_MAPPING[rf._format]) if rf and rf._format: diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/serialization.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/serialization.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py index bbcd28b4aa67..c43fdbc2e239 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b2" +VERSION = "1.0.0b3" diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py index 48d7008ea34e..6836a6aa2fa2 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_client.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -41,7 +42,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attributes +class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """ComputeBulkActionsMgmtClient. :ivar operations: Operations operations @@ -79,7 +80,7 @@ class ComputeBulkActionsMgmtClient: # pylint: disable=too-many-instance-attribu None. :paramtype cloud_setting: ~azure.core.AzureClouds :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 + "2026-08-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 diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py index 441f24e8a182..e04244d06bc3 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long +class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long,docstring-keyword-should-match-keyword-only """Configuration for ComputeBulkActionsMgmtClient. Note that all parameters used to create this instance are saved as instance @@ -34,7 +35,7 @@ class ComputeBulkActionsMgmtClientConfiguration: # pylint: disable=too-many-ins None. :type cloud_setting: ~azure.core.AzureClouds :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 + "2026-08-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 @@ -48,7 +49,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-07-06-preview") + api_version: str = kwargs.pop("api_version", "2026-08-06-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_patch.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_patch.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_operations.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_operations.py index 71c5b6943810..1ce00d95ef26 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_operations.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_operations.py @@ -45,6 +45,7 @@ build_bulk_create_custom_get_request, build_bulk_create_custom_list_by_resource_group_request, build_bulk_create_custom_list_by_subscription_request, + build_bulk_create_custom_virtual_machines_get_operation_status_request, build_launch_bulk_instances_operation_cancel_request, build_launch_bulk_instances_operation_create_or_update_request, build_launch_bulk_instances_operation_delete_request, @@ -95,7 +96,7 @@ List = list -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -208,7 +209,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class VirtualMachineBulkOperationsOperations: +class VirtualMachineBulkOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -864,7 +865,7 @@ async def bulk_create_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def bulk_create_operation( self, @@ -1057,7 +1058,7 @@ async def bulk_vdi_flex_create_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def bulk_vdi_flex_create_operation( self, @@ -1783,7 +1784,7 @@ async def bulk_reimage_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def bulk_reimage_operation( self, @@ -1889,7 +1890,7 @@ async def bulk_reimage_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_list_operation_errors( self, resource_group_name: str, location: str, *, lookback_in_minutes: Optional[int] = None, **kwargs: Any @@ -2094,7 +2095,7 @@ async def bulk_acknowledge_operation_errors( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def bulk_acknowledge_operation_errors( self, @@ -2189,7 +2190,7 @@ async def bulk_acknowledge_operation_errors( return deserialized # type: ignore -class LaunchBulkInstancesOperationOperations: +class LaunchBulkInstancesOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2221,7 +2222,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -2304,7 +2305,7 @@ async def get( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "async_operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get_operation_status( self, location: str, async_operation_id: str, **kwargs: Any @@ -2389,7 +2390,7 @@ async def get_operation_status( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _create_or_update_initial( self, @@ -2584,7 +2585,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_create_or_update( self, @@ -2682,7 +2683,7 @@ def get_long_running_output(pipeline_response): "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _delete_initial( self, @@ -2766,7 +2767,7 @@ async def _delete_initial( "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_delete( self, @@ -2844,7 +2845,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _cancel_initial( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -2913,7 +2914,7 @@ async def _cancel_initial( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_cancel( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -2982,7 +2983,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group( self, resource_group_name: str, location: str, **kwargs: Any @@ -3090,7 +3091,7 @@ async def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "location", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription( self, location: str, **kwargs: Any @@ -3205,7 +3206,7 @@ async def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_virtual_machines( self, @@ -3327,7 +3328,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class BulkCreateCustomOperations: +class BulkCreateCustomOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3359,7 +3360,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -3442,7 +3443,7 @@ async def get( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "async_operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get_async_operation_status( self, location: str, async_operation_id: str, **kwargs: Any @@ -3527,7 +3528,7 @@ async def get_async_operation_status( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _create_or_update_initial( self, @@ -3718,7 +3719,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_create_or_update( self, @@ -3812,7 +3813,7 @@ def get_long_running_output(pipeline_response): "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _delete_initial( self, @@ -3896,7 +3897,7 @@ async def _delete_initial( "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_delete( self, @@ -3974,7 +3975,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _cancel_initial( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -4043,7 +4044,7 @@ async def _cancel_initial( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_cancel( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -4106,13 +4107,103 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- ) return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore + @distributed_trace_async + @api_version_validation( + method_added_on="2026-08-06-preview", + params_added_on={ + "2026-08-06-preview": [ + "api_version", + "subscription_id", + "resource_group_name", + "location", + "name", + "accept", + ] + }, + api_versions_list=["2026-08-06-preview"], + ) + async def virtual_machines_get_operation_status( + self, resource_group_name: str, location: str, name: str, **kwargs: Any + ) -> _models.GetOperationStatusResponse: + """Gets the operation status for virtual machines in a BulkCreateCustom operation. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param location: The location name. Required. + :type location: str + :param name: The name of the BulkCreateCustom. The value must be an UUID. Required. + :type name: str + :return: GetOperationStatusResponse. The GetOperationStatusResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.compute.bulkaction.models.GetOperationStatusResponse + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[_models.GetOperationStatusResponse] = kwargs.pop("cls", None) + + _request = build_bulk_create_custom_virtual_machines_get_operation_status_request( + resource_group_name=resource_group_name, + location=location, + name=name, + subscription_id=self._config.subscription_id, + api_version=self._config.api_version, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + _decompress = kwargs.pop("decompress", True) + _stream = kwargs.pop("stream", False) + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + if _stream: + try: + await response.read() # Load the body in memory and close the socket + except (StreamConsumedError, StreamClosedError): + pass + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = _failsafe_deserialize( + _models.ErrorResponse, + response, + ) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if _stream: + deserialized = response.iter_bytes() if _decompress else response.iter_raw() + else: + deserialized = _deserialize(_models.GetOperationStatusResponse, response.json()) + + if cls: + return cls(pipeline_response, deserialized, {}) # type: ignore + + return deserialized # type: ignore + @distributed_trace @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group( self, resource_group_name: str, location: str, **kwargs: Any @@ -4220,7 +4311,7 @@ async def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "location", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription( self, location: str, **kwargs: Any @@ -4321,7 +4412,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class ScheduledActionsOperations: # pylint: disable=too-many-public-methods +class ScheduledActionsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -4352,7 +4443,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> _models.ScheduledAction: """Get a ScheduledAction. @@ -4435,7 +4526,7 @@ async def get(self, resource_group_name: str, scheduled_action_name: str, **kwar "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _create_or_update_initial( self, @@ -4614,7 +4705,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_create_or_update( self, @@ -4704,7 +4795,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _update_initial( self, @@ -4878,7 +4969,7 @@ async def begin_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_update( self, @@ -4954,7 +5045,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _delete_initial( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -5026,7 +5117,7 @@ async def _delete_initial( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_delete( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -5090,7 +5181,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group( self, resource_group_name: str, **kwargs: Any @@ -5195,7 +5286,7 @@ async def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription(self, **kwargs: Any) -> AsyncItemPaged["_models.ScheduledAction"]: """List ScheduledAction resources by subscription ID. @@ -5302,7 +5393,7 @@ async def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_resources( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -5418,7 +5509,7 @@ async def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _attach_resources_initial( self, @@ -5598,7 +5689,7 @@ async def begin_attach_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_attach_resources( self, @@ -5688,7 +5779,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _detach_resources_initial( self, @@ -5868,7 +5959,7 @@ async def begin_detach_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_detach_resources( self, @@ -6043,7 +6134,7 @@ async def patch_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def patch_resources( self, @@ -6140,7 +6231,7 @@ async def patch_resources( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _disable_initial( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6211,7 +6302,7 @@ async def _disable_initial( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_disable( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6276,7 +6367,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _enable_initial( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6347,7 +6438,7 @@ async def _enable_initial( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_enable( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6419,7 +6510,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _cancel_next_occurrence_initial( self, @@ -6599,7 +6690,7 @@ async def begin_cancel_next_occurrence( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_cancel_next_occurrence( self, @@ -6688,7 +6779,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _trigger_manual_occurrence_initial( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6766,7 +6857,7 @@ async def _trigger_manual_occurrence_initial( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_trigger_manual_occurrence( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6833,7 +6924,7 @@ def get_long_running_output(pipeline_response): ) -class ScheduledActionExtensionOperations: +class ScheduledActionExtensionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -6856,7 +6947,7 @@ def __init__(self, *args, **kwargs) -> None: @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "resource_uri", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_vms(self, resource_uri: str, **kwargs: Any) -> AsyncItemPaged["_models.ScheduledActionResources"]: """List ScheduledActionResources resources by parent. @@ -6955,7 +7046,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class ScheduledActionOperationStatusOperations: +class ScheduledActionOperationStatusOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -6980,7 +7071,7 @@ def __init__(self, *args, **kwargs) -> None: params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get(self, location: str, operation_id: str, **kwargs: Any) -> _models.OperationStatusResult: """Get the status of a ScheduledActions asynchronous operation. Both the ``Azure-AsyncOperation`` @@ -7052,7 +7143,7 @@ async def get(self, location: str, operation_id: str, **kwargs: Any) -> _models. return deserialized # type: ignore -class OccurrencesOperations: +class OccurrencesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -7084,7 +7175,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def get( self, resource_group_name: str, scheduled_action_name: str, occurrence_id: str, **kwargs: Any @@ -7172,7 +7263,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_scheduled_action( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -7289,7 +7380,7 @@ async def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_resources( self, resource_group_name: str, scheduled_action_name: str, occurrence_id: str, **kwargs: Any @@ -7409,7 +7500,7 @@ async def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _cancel_initial( self, @@ -7601,7 +7692,7 @@ async def begin_cancel( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_cancel( self, @@ -7696,7 +7787,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def _delay_initial( self, @@ -7888,7 +7979,7 @@ async def begin_delay( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) async def begin_delay( self, @@ -7971,7 +8062,7 @@ def get_long_running_output(pipeline_response): ) -class OccurrenceExtensionOperations: +class OccurrenceExtensionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -7994,7 +8085,7 @@ def __init__(self, *args, **kwargs) -> None: @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "resource_uri", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_occurrence_by_vms( self, resource_uri: str, **kwargs: Any diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_patch.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_patch.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/aio/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/__init__.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/__init__.py index cf795e1be573..12994de69d6b 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/__init__.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/__init__.py @@ -30,6 +30,8 @@ BulkCreateCustomOverridesProfile, BulkCreateCustomPriorityProfile, BulkCreateCustomProperties, + BulkCreateCustomResource, + BulkCreateCustomVirtualMachineInfo, BulkCreateCustomVmSizeProfile, BulkCreateCustomZoneAllocationPolicy, BulkInstancesInnerError, @@ -38,6 +40,11 @@ CancelOccurrenceRequest, CancelOperationsContent, CancelOperationsResponse, + CapacityRecommendation, + CapacityRecommendationDetails, + CapacityRecommendationParameters, + CapacityRecommendationPlacementScore, + CapacityRecommendationSize, CapacityReservationProfile, ComputeProfile, CreateResourceOperationResponse, @@ -98,14 +105,13 @@ Operation, OperationDisplay, OperationStatusResult, + PartialFulfillmentPolicy, PatchSettings, Plan, PriorityProfile, ProxyAgentSettings, ProxyResource, PublicIPAddressSku, - RecurringScheduledActionsExecutionParameters, - RecurringScheduledActionsRetryPolicy, ReimagePayload, ReimageResourceOperationResponse, ReimageResourceOverride, @@ -133,7 +139,9 @@ ScheduledActionResources, ScheduledActionUpdate, ScheduledActionUpdateProperties, + ScheduledActionsExecutionParameters, ScheduledActionsExtensionProperties, + ScheduledActionsRetryPolicy, ScheduledActionsSchedule, ScheduledActionsScheduleUpdate, ScheduledEventsAdditionalPublishingTargets, @@ -193,6 +201,7 @@ BulkCreateCustomAllocationStrategy, BulkCreateCustomDistributionStrategy, CachingTypes, + CapacityRecommendationStatus, CapacityType, CpuManufacturer, CreatedByType, @@ -222,27 +231,29 @@ NetworkInterfaceAuxiliaryMode, NetworkInterfaceAuxiliarySku, NotificationType, + OccurrenceResourceProvisioningState, OccurrenceState, OperatingSystemTypes, OperationState, OptimizationPreference, Origin, OsType, + PartialFulfillmentMode, + PartialFulfillmentReason, PriorityType, ProtocolTypes, ProvisioningState, PublicIPAddressSkuName, PublicIPAddressSkuTier, PublicIPAllocationMethod, - RecurringScheduledActionsDeadlineType, - RecurringScheduledActionsProvisioningState, - RecurringScheduledActionsResourceOperationType, ResourceIdentityType, ResourceOperationStatus, ResourceOperationType, - ResourceProvisioningState, ResourceType, ScheduledActionType, + ScheduledActionsDeadlineType, + ScheduledActionsProvisioningState, + ScheduledActionsResourceOperationType, SecurityEncryptionTypes, SecurityTypes, SettingNames, @@ -276,6 +287,8 @@ "BulkCreateCustomOverridesProfile", "BulkCreateCustomPriorityProfile", "BulkCreateCustomProperties", + "BulkCreateCustomResource", + "BulkCreateCustomVirtualMachineInfo", "BulkCreateCustomVmSizeProfile", "BulkCreateCustomZoneAllocationPolicy", "BulkInstancesInnerError", @@ -284,6 +297,11 @@ "CancelOccurrenceRequest", "CancelOperationsContent", "CancelOperationsResponse", + "CapacityRecommendation", + "CapacityRecommendationDetails", + "CapacityRecommendationParameters", + "CapacityRecommendationPlacementScore", + "CapacityRecommendationSize", "CapacityReservationProfile", "ComputeProfile", "CreateResourceOperationResponse", @@ -344,14 +362,13 @@ "Operation", "OperationDisplay", "OperationStatusResult", + "PartialFulfillmentPolicy", "PatchSettings", "Plan", "PriorityProfile", "ProxyAgentSettings", "ProxyResource", "PublicIPAddressSku", - "RecurringScheduledActionsExecutionParameters", - "RecurringScheduledActionsRetryPolicy", "ReimagePayload", "ReimageResourceOperationResponse", "ReimageResourceOverride", @@ -379,7 +396,9 @@ "ScheduledActionResources", "ScheduledActionUpdate", "ScheduledActionUpdateProperties", + "ScheduledActionsExecutionParameters", "ScheduledActionsExtensionProperties", + "ScheduledActionsRetryPolicy", "ScheduledActionsSchedule", "ScheduledActionsScheduleUpdate", "ScheduledEventsAdditionalPublishingTargets", @@ -436,6 +455,7 @@ "BulkCreateCustomAllocationStrategy", "BulkCreateCustomDistributionStrategy", "CachingTypes", + "CapacityRecommendationStatus", "CapacityType", "CpuManufacturer", "CreatedByType", @@ -465,27 +485,29 @@ "NetworkInterfaceAuxiliaryMode", "NetworkInterfaceAuxiliarySku", "NotificationType", + "OccurrenceResourceProvisioningState", "OccurrenceState", "OperatingSystemTypes", "OperationState", "OptimizationPreference", "Origin", "OsType", + "PartialFulfillmentMode", + "PartialFulfillmentReason", "PriorityType", "ProtocolTypes", "ProvisioningState", "PublicIPAddressSkuName", "PublicIPAddressSkuTier", "PublicIPAllocationMethod", - "RecurringScheduledActionsDeadlineType", - "RecurringScheduledActionsProvisioningState", - "RecurringScheduledActionsResourceOperationType", "ResourceIdentityType", "ResourceOperationStatus", "ResourceOperationType", - "ResourceProvisioningState", "ResourceType", "ScheduledActionType", + "ScheduledActionsDeadlineType", + "ScheduledActionsProvisioningState", + "ScheduledActionsResourceOperationType", "SecurityEncryptionTypes", "SecurityTypes", "SettingNames", diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_enums.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_enums.py index 6092b8b9ce9e..94182f7e6b5d 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_enums.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_enums.py @@ -93,6 +93,19 @@ class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Caching type:ReadWrite.""" +class CapacityRecommendationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The lifecycle status of the capacity recommendation for an operation.""" + + NOT_INITIATED = "NotInitiated" + """The capacity recommendation has not been initiated.""" + SUCCEEDED = "Succeeded" + """The capacity recommendation completed successfully.""" + FAILED = "Failed" + """The capacity recommendation failed.""" + SKIPPED = "Skipped" + """The capacity recommendation was skipped.""" + + class CapacityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Capacity types for LaunchBulkInstancesOperation.""" @@ -487,6 +500,27 @@ class NotificationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Notify through e-mail.""" +class OccurrenceResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The provisioning state of a scheduled-action resource within an occurrence.""" + + SUCCEEDED = "Succeeded" + """Resource has been created.""" + FAILED = "Failed" + """Resource creation failed.""" + CANCELED = "Canceled" + """Resource creation was canceled.""" + CREATED = "Created" + """The resource has been created.""" + SCHEDULED = "Scheduled" + """The resource has been scheduled.""" + CANCELLING = "Cancelling" + """The resource is going through cancellation.""" + RESCHEDULING = "Rescheduling" + """The resource is being rescheduled.""" + INVALID_STATE = "InvalidState" + """The resource is in an invalid state.""" + + class OccurrenceState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The state the occurrence is at a given time.""" @@ -573,6 +607,29 @@ class OsType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Linux operating system.""" +class PartialFulfillmentMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Whether the service may launch fewer instances than requested when the full capacity cannot be + satisfied. + """ + + ENABLED = "Enabled" + """Partial fulfillment is allowed.""" + DISABLED = "Disabled" + """Partial fulfillment is not allowed.""" + + +class PartialFulfillmentReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The reason the requested capacity could only be partially fulfilled.""" + + INSUFFICIENT_CAPACITY = "InsufficientCapacity" + """The requested capacity could not be fully satisfied due to insufficient capacity in the region.""" + INSUFFICIENT_QUOTA = "InsufficientQuota" + """The requested capacity could not be fully satisfied due to insufficient quota in the + subscription.""" + NONE = "None" + """The requested capacity was successfully satisfied without any partial fulfillment.""" + + class PriorityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The priority type for VM allocation.""" @@ -633,51 +690,6 @@ class PublicIPAllocationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Static IP allocation.""" -class RecurringScheduledActionsDeadlineType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of deadline the scheduled action follows for its schedule.""" - - UNKNOWN = "Unknown" - """Default value of Unknown.""" - INITIATE_AT = "InitiateAt" - """Initiate the operation at the given deadline.""" - COMPLETE_BY = "CompleteBy" - """Complete the operation by the given deadline.""" - - -class RecurringScheduledActionsProvisioningState( # pylint: disable=name-too-long - str, Enum, metaclass=CaseInsensitiveEnumMeta -): - """Provisioning state of the scheduled action resource.""" - - SUCCEEDED = "Succeeded" - """Resource has been created.""" - FAILED = "Failed" - """Resource creation failed.""" - CANCELED = "Canceled" - """Resource creation was canceled.""" - DELETING = "Deleting" - """Resource is being deleted.""" - - -class RecurringScheduledActionsResourceOperationType( # pylint: disable=name-too-long - str, Enum, metaclass=CaseInsensitiveEnumMeta -): - """The resource operation to take on a scheduled-action failure.""" - - UNKNOWN = "Unknown" - """The default value for this enum type.""" - START = "Start" - """Start operations on the resources.""" - DEALLOCATE = "Deallocate" - """Deallocate operations on the resources.""" - HIBERNATE = "Hibernate" - """Hibernate operations on the resources.""" - CREATE = "Create" - """Create operations on the resources.""" - DELETE = "Delete" - """Delete operations on the resources.""" - - class ResourceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned @@ -723,8 +735,28 @@ class ResourceOperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): verifyVmAgentHealth on a Start request.""" -class ResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The provisioning state of a resource type.""" +class ResourceType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The type of resource being targeted.""" + + VIRTUAL_MACHINE = "VirtualMachine" + """Resources defined are Virtual Machines.""" + VIRTUAL_MACHINE_SCALE_SET = "VirtualMachineScaleSet" + """Resources defined are Virtual Machines Scale Sets.""" + + +class ScheduledActionsDeadlineType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The type of deadline the scheduled action follows for its schedule.""" + + UNKNOWN = "Unknown" + """Default value of Unknown.""" + INITIATE_AT = "InitiateAt" + """Initiate the operation at the given deadline.""" + COMPLETE_BY = "CompleteBy" + """Complete the operation by the given deadline.""" + + +class ScheduledActionsProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Provisioning state of the scheduled action resource.""" SUCCEEDED = "Succeeded" """Resource has been created.""" @@ -732,15 +764,25 @@ class ResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Resource creation failed.""" CANCELED = "Canceled" """Resource creation was canceled.""" + DELETING = "Deleting" + """Resource is being deleted.""" -class ResourceType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of resource being targeted.""" +class ScheduledActionsResourceOperationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The resource operation to take on a scheduled-action failure.""" - VIRTUAL_MACHINE = "VirtualMachine" - """Resources defined are Virtual Machines.""" - VIRTUAL_MACHINE_SCALE_SET = "VirtualMachineScaleSet" - """Resources defined are Virtual Machines Scale Sets.""" + UNKNOWN = "Unknown" + """The default value for this enum type.""" + START = "Start" + """Start operations on the resources.""" + DEALLOCATE = "Deallocate" + """Deallocate operations on the resources.""" + HIBERNATE = "Hibernate" + """Hibernate operations on the resources.""" + CREATE = "Create" + """Create operations on the resources.""" + DELETE = "Delete" + """Delete operations on the resources.""" class ScheduledActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_models.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_models.py index 8f13fcd42129..8271d32f3810 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_models.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_models.py @@ -19,7 +19,7 @@ from .. import models as _models -class AcknowledgeBulkOperationErrorsRequest(_Model): +class AcknowledgeBulkOperationErrorsRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The request to acknowledge bulk operation errors. :ivar operation_ids: The set of operation ids to acknowledge. Required. @@ -49,7 +49,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AcknowledgeBulkOperationErrorsResponse(_Model): +class AcknowledgeBulkOperationErrorsResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from acknowledging bulk operation errors. :ivar acknowledged: The set of operation ids that were newly acknowledged. Required. @@ -90,7 +90,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AdditionalCapabilities(_Model): +class AdditionalCapabilities(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Enables or disables a capability on the virtual machine or virtual machine scale set. :ivar ultra_ssd_enabled: The flag that enables or disables a capability to have one or more @@ -133,7 +133,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AdditionalUnattendContent(_Model): +class AdditionalUnattendContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. @@ -195,7 +195,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AllInstancesDown(_Model): +class AllInstancesDown(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies if Scheduled Events should be auto-approved when all instances are down. :ivar all_instances_down_automatically_approve: Specifies if Scheduled Events should be @@ -227,7 +227,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ApiEntityReference(_Model): +class ApiEntityReference(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The API entity reference. :ivar id: The ARM resource id in the form of @@ -257,7 +257,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ApiError(_Model): +class ApiError(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """ApiError for Fleet. :ivar code: The error code. @@ -309,7 +309,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ApiErrorBase(_Model): +class ApiErrorBase(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """API error base. :ivar code: The error code. @@ -347,7 +347,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ApplicationProfile(_Model): +class ApplicationProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Contains the list of gallery applications that should be made available to the VM. :ivar gallery_applications: Specifies the gallery applications that should be made available to @@ -378,7 +378,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BootDiagnostics(_Model): +class BootDiagnostics(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. @@ -418,7 +418,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkactionVMExtension(_Model): +class BulkactionVMExtension(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Defines a virtual machine extension. :ivar name: The name of the virtual machine extension. Required. @@ -453,7 +453,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkActionVmExtensionProperties(_Model): +class BulkActionVmExtensionProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the properties of a Virtual Machine Extension. :ivar force_update_tag: How the extension handler should be forced to update even if the @@ -564,7 +564,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkactionVMProperties(_Model): +class BulkactionVMProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the properties of a Virtual Machine for bulk create. :ivar scheduled_events_policy: Specifies Redeploy, Reboot and @@ -724,7 +724,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomOverride(_Model): +class BulkCreateCustomOverride(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A single per-VM override. Extends the shared override fields with a per-VM name. :ivar virtual_machine_name: ARM VM name for this VM. Optional; when omitted the name is @@ -791,7 +791,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomOverrideBase(_Model): +class BulkCreateCustomOverrideBase(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Override fields shared by per-VM and per-VM-size overrides. Each set field takes precedence over the operation-level value. VM size, zone, priority, eviction policy, and billing are owned by the service and cannot be set here. @@ -851,7 +851,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomOverridesProfile(_Model): +class BulkCreateCustomOverridesProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Groups the per-VM overrides with the name prefix that names any override that does not supply its own VM name. @@ -895,7 +895,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomPriorityProfile(_Model): +class BulkCreateCustomPriorityProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Configuration options for Regular or Spot instances in BulkCreateCustom. :ivar type: The priority type for VM allocation. Known values are: "Regular" and "Spot". @@ -951,7 +951,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomProperties(_Model): +class BulkCreateCustomProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Details of the BulkCreateCustom. :ivar created_time: The UTC time the BulkCreateCustom resource was created. @@ -964,6 +964,21 @@ class BulkCreateCustomProperties(_Model): :ivar capacity_type: Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs. Known values are: "VM" and "VCpu". :vartype capacity_type: str or ~azure.mgmt.compute.bulkaction.models.CapacityType + :ivar min_capacity: The minimum capacity, expressed in units specified by capacityType, that + Azure must be able to allocate for the request to proceed. If Azure cannot allocate at least + this capacity with high confidence, the request is rejected with 409 Conflict + (InsufficientCapacity) and no VMs are created. Otherwise, Azure allocates as much capacity as + possible, up to the requested capacity. Must be greater than 0, less than capacity, and + requires partialFulfillmentPolicy.mode to be Enabled. + :vartype min_capacity: int + :ivar partial_fulfillment_policy: Controls how partial fulfillment is handled for a + BulkCreateCustom request. When enabled, Azure creates only the VMs or vCPUs it has high + confidence can be successfully allocated, instead of attempting the entire request and + potentially returning allocation failures. + :vartype partial_fulfillment_policy: + ~azure.mgmt.compute.bulkaction.models.PartialFulfillmentPolicy + :ivar resources: The virtual machine resources resolved for the operation. + :vartype resources: list[~azure.mgmt.compute.bulkaction.models.BulkCreateCustomResource] :ivar priority_profile: Configuration Options for Regular or Spot instances in BulkCreateCustom. Required. :vartype priority_profile: @@ -999,6 +1014,23 @@ class BulkCreateCustomProperties(_Model): ) """Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs. Known values are: \"VM\" and \"VCpu\".""" + min_capacity: Optional[int] = rest_field( + name="minCapacity", visibility=["read", "create", "update", "delete", "query"] + ) + """The minimum capacity, expressed in units specified by capacityType, that Azure must be able to + allocate for the request to proceed. If Azure cannot allocate at least this capacity with high + confidence, the request is rejected with 409 Conflict (InsufficientCapacity) and no VMs are + created. Otherwise, Azure allocates as much capacity as possible, up to the requested capacity. + Must be greater than 0, less than capacity, and requires partialFulfillmentPolicy.mode to be + Enabled.""" + partial_fulfillment_policy: Optional["_models.PartialFulfillmentPolicy"] = rest_field( + name="partialFulfillmentPolicy", visibility=["read", "create", "update", "delete", "query"] + ) + """Controls how partial fulfillment is handled for a BulkCreateCustom request. When enabled, Azure + creates only the VMs or vCPUs it has high confidence can be successfully allocated, instead of + attempting the entire request and potentially returning allocation failures.""" + resources: Optional[list["_models.BulkCreateCustomResource"]] = rest_field(visibility=["read"]) + """The virtual machine resources resolved for the operation.""" priority_profile: "_models.BulkCreateCustomPriorityProfile" = rest_field( name="priorityProfile", visibility=["read", "create", "update", "delete", "query"] ) @@ -1032,6 +1064,8 @@ def __init__( priority_profile: "_models.BulkCreateCustomPriorityProfile", compute_profile: "_models.ComputeProfile", capacity_type: Optional[Union[str, "_models.CapacityType"]] = None, + min_capacity: Optional[int] = None, + partial_fulfillment_policy: Optional["_models.PartialFulfillmentPolicy"] = None, vm_sizes_profile: Optional[list["_models.BulkCreateCustomVmSizeProfile"]] = None, zone_allocation_policy: Optional["_models.BulkCreateCustomZoneAllocationPolicy"] = None, overrides_profile: Optional["_models.BulkCreateCustomOverridesProfile"] = None, @@ -1049,7 +1083,77 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomVmSizeProfile(_Model): +class BulkCreateCustomResource(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """A virtual machine resource resolved for a BulkCreateCustom operation. + + :ivar virtual_machine_info: Information about the resolved virtual machine. + :vartype virtual_machine_info: + ~azure.mgmt.compute.bulkaction.models.BulkCreateCustomVirtualMachineInfo + """ + + virtual_machine_info: Optional["_models.BulkCreateCustomVirtualMachineInfo"] = rest_field( + name="virtualMachineInfo", visibility=["read", "create", "update", "delete", "query"] + ) + """Information about the resolved virtual machine.""" + + @overload + def __init__( + self, + *, + virtual_machine_info: Optional["_models.BulkCreateCustomVirtualMachineInfo"] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class BulkCreateCustomVirtualMachineInfo(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """Information about a virtual machine resolved for a BulkCreateCustom operation. + + :ivar name: The resolved Azure virtual machine name. + :vartype name: str + :ivar vm_size: The virtual machine size selected for the virtual machine. + :vartype vm_size: str + :ivar zone: The subscription-relative logical availability zone selected for the virtual + machine. + :vartype zone: str + """ + + name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The resolved Azure virtual machine name.""" + vm_size: Optional[str] = rest_field(name="vmSize", visibility=["read", "create", "update", "delete", "query"]) + """The virtual machine size selected for the virtual machine.""" + zone: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The subscription-relative logical availability zone selected for the virtual machine.""" + + @overload + def __init__( + self, + *, + name: Optional[str] = None, + vm_size: Optional[str] = None, + zone: Optional[str] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class BulkCreateCustomVmSizeProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A VM size profile entry that may additionally carry an optional per-VM-size profile override. Every VM that the service assigns to this size inherits the override, layered on top of the operation-level base profile and beneath any per-VM override. Present only on the @@ -1098,7 +1202,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkCreateCustomZoneAllocationPolicy(_Model): +class BulkCreateCustomZoneAllocationPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The zone allocation policy for distributing VMs across availability zones in BulkCreateCustom. :ivar distribution_strategy: The distribution strategy for zone allocation. Defaults to @@ -1139,7 +1243,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class BulkInstancesInnerError(_Model): +class BulkInstancesInnerError(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Inner error details. :ivar exception_type: The exception type. @@ -1176,7 +1280,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class CancelOccurrenceRequest(_Model): +class CancelOccurrenceRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The request to cancel an occurrence. :ivar resource_ids: The resources the cancellation should act on. If no resource is passed in @@ -1206,7 +1310,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class CancelOperationsContent(_Model): +class CancelOperationsContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """This is the request to cancel running operations in scheduled actions using the operation ids. :ivar operation_ids: The list of operation ids to cancel operations on. Required. @@ -1236,7 +1340,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class CancelOperationsResponse(_Model): +class CancelOperationsResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """This is the response from a cancel operations request. :ivar results: An array of resource operations that were successfully cancelled. Required. @@ -1264,7 +1368,250 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class CapacityReservationProfile(_Model): +class CapacityRecommendation(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """The capacity/placement recommendation computed for a resource operation. + + :ivar status: The lifecycle status of the capacity recommendation. Required. Known values are: + "NotInitiated", "Succeeded", "Failed", and "Skipped". + :vartype status: str or ~azure.mgmt.compute.bulkaction.models.CapacityRecommendationStatus + :ivar error: The error message if the capacity recommendation failed. + :vartype error: str + :ivar error_details: The detailed error information if the capacity recommendation failed. + :vartype error_details: str + :ivar details: The details of the capacity recommendation. + :vartype details: ~azure.mgmt.compute.bulkaction.models.CapacityRecommendationDetails + """ + + status: Union[str, "_models.CapacityRecommendationStatus"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) + """The lifecycle status of the capacity recommendation. Required. Known values are: + \"NotInitiated\", \"Succeeded\", \"Failed\", and \"Skipped\".""" + error: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The error message if the capacity recommendation failed.""" + error_details: Optional[str] = rest_field( + name="errorDetails", visibility=["read", "create", "update", "delete", "query"] + ) + """The detailed error information if the capacity recommendation failed.""" + details: Optional["_models.CapacityRecommendationDetails"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) + """The details of the capacity recommendation.""" + + @overload + def __init__( + self, + *, + status: Union[str, "_models.CapacityRecommendationStatus"], + error: Optional[str] = None, + error_details: Optional[str] = None, + details: Optional["_models.CapacityRecommendationDetails"] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class CapacityRecommendationDetails(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """The details of a capacity recommendation. + + :ivar desired_locations: The list of desired Azure regions from the request. + :vartype desired_locations: list[str] + :ivar recommendation_requested_at_utc: The UTC timestamp of when the recommendation was + requested. + :vartype recommendation_requested_at_utc: ~datetime.datetime + :ivar desired_sizes: The list of desired VM sizes from the request. + :vartype desired_sizes: list[~azure.mgmt.compute.bulkaction.models.CapacityRecommendationSize] + :ivar availability_zones: Whether the response is split by availability zone. + :vartype availability_zones: bool + :ivar placement_scores: The array of placement scores per SKU, region and zone. + :vartype placement_scores: + list[~azure.mgmt.compute.bulkaction.models.CapacityRecommendationPlacementScore] + """ + + desired_locations: Optional[list[str]] = rest_field( + name="desiredLocations", visibility=["read", "create", "update", "delete", "query"] + ) + """The list of desired Azure regions from the request.""" + recommendation_requested_at_utc: Optional[datetime.datetime] = rest_field( + name="recommendationRequestedAtUtc", + visibility=["read", "create", "update", "delete", "query"], + format="rfc3339", + ) + """The UTC timestamp of when the recommendation was requested.""" + desired_sizes: Optional[list["_models.CapacityRecommendationSize"]] = rest_field( + name="desiredSizes", visibility=["read", "create", "update", "delete", "query"] + ) + """The list of desired VM sizes from the request.""" + availability_zones: Optional[bool] = rest_field( + name="availabilityZones", visibility=["read", "create", "update", "delete", "query"] + ) + """Whether the response is split by availability zone.""" + placement_scores: Optional[list["_models.CapacityRecommendationPlacementScore"]] = rest_field( + name="placementScores", visibility=["read", "create", "update", "delete", "query"] + ) + """The array of placement scores per SKU, region and zone.""" + + @overload + def __init__( + self, + *, + desired_locations: Optional[list[str]] = None, + recommendation_requested_at_utc: Optional[datetime.datetime] = None, + desired_sizes: Optional[list["_models.CapacityRecommendationSize"]] = None, + availability_zones: Optional[bool] = None, + placement_scores: Optional[list["_models.CapacityRecommendationPlacementScore"]] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class CapacityRecommendationParameters(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """The parameters used to request capacity/placement recommendations for a start operation. + Placement recommendations are only computed if the VM fails to start due to an allocation + failure. + + :ivar desired_locations: The list of desired Azure regions to be considered for the capacity + recommendation. + :vartype desired_locations: list[str] + :ivar desired_sizes: The list of desired VM sizes (SKUs) to be considered for the capacity + recommendation. + :vartype desired_sizes: list[str] + :ivar availability_zones: Whether the capacity recommendation should be computed per + availability zone. + :vartype availability_zones: bool + """ + + desired_locations: Optional[list[str]] = rest_field( + name="desiredLocations", visibility=["read", "create", "update", "delete", "query"] + ) + """The list of desired Azure regions to be considered for the capacity recommendation.""" + desired_sizes: Optional[list[str]] = rest_field( + name="desiredSizes", visibility=["read", "create", "update", "delete", "query"] + ) + """The list of desired VM sizes (SKUs) to be considered for the capacity recommendation.""" + availability_zones: Optional[bool] = rest_field( + name="availabilityZones", visibility=["read", "create", "update", "delete", "query"] + ) + """Whether the capacity recommendation should be computed per availability zone.""" + + @overload + def __init__( + self, + *, + desired_locations: Optional[list[str]] = None, + desired_sizes: Optional[list[str]] = None, + availability_zones: Optional[bool] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class CapacityRecommendationPlacementScore(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """The placement score for a given SKU, region and optionally availability zone. + + :ivar sku: The VM size (SKU) name. + :vartype sku: str + :ivar region: The Azure region. + :vartype region: str + :ivar availability_zone: The availability zone identifier, present only when availabilityZones + was requested. + :vartype availability_zone: str + :ivar score: The placement score, eg High, Medium or Low. + :vartype score: str + :ivar is_quota_available: Whether quota is available for the SKU, region and zone combination. + :vartype is_quota_available: bool + """ + + sku: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The VM size (SKU) name.""" + region: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The Azure region.""" + availability_zone: Optional[str] = rest_field( + name="availabilityZone", visibility=["read", "create", "update", "delete", "query"] + ) + """The availability zone identifier, present only when availabilityZones was requested.""" + score: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The placement score, eg High, Medium or Low.""" + is_quota_available: Optional[bool] = rest_field( + name="isQuotaAvailable", visibility=["read", "create", "update", "delete", "query"] + ) + """Whether quota is available for the SKU, region and zone combination.""" + + @overload + def __init__( + self, + *, + sku: Optional[str] = None, + region: Optional[str] = None, + availability_zone: Optional[str] = None, + score: Optional[str] = None, + is_quota_available: Optional[bool] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class CapacityRecommendationSize(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """A desired VM size (SKU) considered for the capacity recommendation. + + :ivar sku: The VM size (SKU) name. + :vartype sku: str + """ + + sku: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """The VM size (SKU) name.""" + + @overload + def __init__( + self, + *, + sku: Optional[str] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class CapacityReservationProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The parameters of a capacity reservation Profile. :ivar capacity_reservation_group: Specifies the capacity reservation group resource id that @@ -1299,7 +1646,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ComputeProfile(_Model): +class ComputeProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Compute Profile to configure the Virtual Machines. :ivar virtual_machine_profile: Base Virtual Machine Profile Properties to be specified @@ -1354,7 +1701,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class CreateResourceOperationResponse(_Model): +class CreateResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a create request. :ivar description: The description of the operation response. Required. @@ -1399,7 +1746,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DataDisk(_Model): +class DataDisk(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a data disk. :ivar lun: Specifies the logical unit number of the data disk. This value is used to identify @@ -1539,7 +1886,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DeallocateResourceOperationResponse(_Model): +class DeallocateResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a deallocate request. :ivar description: The description of the operation response. Required. @@ -1584,7 +1931,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DelayRequest(_Model): +class DelayRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request to ask for a delay in an occurrence, delay should be set to client local time eg (PST) 2025-05-30T06:35:00-07:00. @@ -1620,7 +1967,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DeleteResourceOperationResponse(_Model): +class DeleteResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a delete request. :ivar description: The description of the operation response. Required. @@ -1665,7 +2012,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiagnosticsProfile(_Model): +class DiagnosticsProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. :ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view @@ -1702,7 +2049,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiffDiskSettings(_Model): +class DiffDiskSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk. @@ -1746,7 +2093,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SubResource(_Model): +class SubResource(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a reference to a sub-resource. :ivar id: The ID of the sub-resource. @@ -1774,7 +2121,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiskEncryptionSetParametersContent(SubResource): +class DiskEncryptionSetParametersContent(SubResource): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer `https://aka.ms/mdssewithcmkoverview @@ -1802,7 +2149,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiskEncryptionSettings(_Model): +class DiskEncryptionSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a Encryption Settings for a Disk. :ivar disk_encryption_key: Specifies the location of the disk encryption key, which is a Key @@ -1845,7 +2192,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EncryptionIdentity(_Model): +class EncryptionIdentity(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the Managed Identity used by ADE to get access token for keyvault operations. :ivar user_assigned_identity_resource_id: Specifies ARM Resource ID of one of the user @@ -1920,7 +2267,7 @@ class ErrorDetail(_Model): """The error additional info.""" -class ErrorResponse(_Model): +class ErrorResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Error response. :ivar error: The error object. @@ -1948,7 +2295,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EventGridAndResourceGraph(_Model): +class EventGridAndResourceGraph(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies eventGridAndResourceGraph related Scheduled Event related configurations. :ivar enable: Specifies if event grid and resource graph is enabled for Scheduled event related @@ -1987,7 +2334,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteCreateContent(_Model): +class ExecuteCreateContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteCreateRequest request for create operations. :ivar resource_config_parameters: resource creation payload. Required. @@ -2025,7 +2372,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteDeallocateContent(_Model): +class ExecuteDeallocateContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteDeallocateRequest request for executeDeallocate operations. :ivar execution_parameters: The execution parameters for the request. Required. @@ -2069,7 +2416,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteDeleteContent(_Model): +class ExecuteDeleteContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteDeleteRequest for delete VM operation. :ivar execution_parameters: The execution parameters for the request. Required. @@ -2120,7 +2467,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteHibernateContent(_Model): +class ExecuteHibernateContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteHibernateRequest request for executeHibernate operations. :ivar execution_parameters: The execution parameters for the request. Required. @@ -2164,7 +2511,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteReimageRequest(_Model): +class ExecuteReimageRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteReimageRequest request for reimage operations. :ivar execution_parameters: The execution parameters for the request. Required. @@ -2215,7 +2562,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteStartContent(_Model): +class ExecuteStartContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The ExecuteStartRequest request for executeStart operations. :ivar execution_parameters: The execution parameters for the request. Required. @@ -2259,7 +2606,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecuteVdiCreateRequest(_Model): +class ExecuteVdiCreateRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The VdiCreateRequest request for create operations. :ivar resource_config_parameters: resource creation payload. Required. @@ -2297,7 +2644,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExecutionParameters(_Model): +class ExecutionParameters(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Extra details needed to run the user's request. :ivar optimization_preference: Details that could optimize the user's request. Known values @@ -2310,6 +2657,12 @@ class ExecutionParameters(_Model): health check and engage the fallback chain if the guest agent does not report Ready. Ignored for non-Start operations. :vartype verify_vm_agent_health: bool + :ivar capacity_recommendation_parameters: 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. + :vartype capacity_recommendation_parameters: + ~azure.mgmt.compute.bulkaction.models.CapacityRecommendationParameters """ optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = rest_field( @@ -2326,6 +2679,13 @@ class ExecutionParameters(_Model): ) """When true on an executeStart request, run a post-Start VM agent health check and engage the fallback chain if the guest agent does not report Ready. Ignored for non-Start operations.""" + capacity_recommendation_parameters: Optional["_models.CapacityRecommendationParameters"] = rest_field( + name="capacityRecommendationParameters", visibility=["read", "create", "update", "delete", "query"] + ) + """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.""" @overload def __init__( @@ -2334,6 +2694,7 @@ def __init__( optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = None, retry_policy: Optional["_models.RetryPolicy"] = None, verify_vm_agent_health: Optional[bool] = None, + capacity_recommendation_parameters: Optional["_models.CapacityRecommendationParameters"] = None, ) -> None: ... @overload @@ -2392,7 +2753,7 @@ class ExtensionResource(Resource): """ -class FallbackOperationInfo(_Model): +class FallbackOperationInfo(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the fallback operation that was performed. :ivar last_op_type: The last operation type that was performed as a fallback. Required. Known @@ -2438,7 +2799,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class FlexProperties(_Model): +class FlexProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The flex properties for flexible VM creation. :ivar vm_size_profiles: The list of VM size profiles to use for flex creation. Required. @@ -2501,7 +2862,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class GetOperationStatusContent(_Model): +class GetOperationStatusContent(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """This is the request to get operation status using operationids. :ivar operation_ids: The list of operation ids to get the status of. Required. @@ -2531,7 +2892,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class GetOperationStatusResponse(_Model): +class GetOperationStatusResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """This is the response from a get operations status request. :ivar results: An array of resource operations based on their operation ids. Required. @@ -2559,7 +2920,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HardwareProfile(_Model): +class HardwareProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the hardware profile for the virtual machine. :ivar vm_size: Specifies the size of the virtual machine. The enum data type is currently @@ -2621,7 +2982,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HibernateResourceOperationResponse(_Model): +class HibernateResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a Hibernate request. :ivar description: The description of the operation response. Required. @@ -2666,7 +3027,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HostEndpointSettings(_Model): +class HostEndpointSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies particular host endpoint settings. :ivar mode: Specifies the execution mode. In Audit mode, the system acts as if it is enforcing @@ -2712,7 +3073,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ImageReference(SubResource): +class ImageReference(SubResource): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other @@ -2798,7 +3159,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class KeyVaultKeyReference(_Model): +class KeyVaultKeyReference(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a reference to Key Vault Key. :ivar key_url: The URL referencing a key encryption key in Key Vault. Required. @@ -2833,7 +3194,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class KeyVaultSecretReference(_Model): +class KeyVaultSecretReference(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a reference to Key Vault Secret. :ivar secret_url: The URL referencing a secret in a Key Vault. Required. @@ -2868,7 +3229,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class LaunchBulkInstancesOperationProperties(_Model): +class LaunchBulkInstancesOperationProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Details of the LaunchBulkInstancesOperation. :ivar created_time: The UTC time the LaunchBulkInstancesOperation resource was created. @@ -2960,7 +3321,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class LinuxConfiguration(_Model): +class LinuxConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see `Linux on Azure-Endorsed Distributions `_. @@ -3027,7 +3388,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class LinuxPatchSettings(_Model): +class LinuxPatchSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies settings related to VM Guest Patching on Linux. :ivar patch_mode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual @@ -3091,7 +3452,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class LinuxVMGuestPatchAutomaticByPlatformSettings(_Model): # pylint: disable=name-too-long +class LinuxVMGuestPatchAutomaticByPlatformSettings( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. @@ -3150,7 +3513,7 @@ class ProxyResource(Resource): """ -class LocationBasedBulkCreateCustom(ProxyResource): +class LocationBasedBulkCreateCustom(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """Location based BulkCreateCustom resource. The location is part of the resource path. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -3213,7 +3576,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class LocationBasedLaunchBulkInstancesOperation(ProxyResource): # pylint: disable=name-too-long +class LocationBasedLaunchBulkInstancesOperation( + ProxyResource +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Location based LaunchBulkInstancesOperation resource. The location is part of the resource path. @@ -3278,7 +3643,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ManagedDiskParametersContent(SubResource): +class ManagedDiskParametersContent(SubResource): # pylint: disable=docstring-keyword-should-match-keyword-only """The parameters of a managed disk. :ivar id: The ID of the sub-resource. @@ -3333,7 +3698,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ManagedServiceIdentity(_Model): +class ManagedServiceIdentity(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Managed service identity (system assigned and/or user assigned identities). :ivar principal_id: The service principal ID of the system assigned identity. This property @@ -3385,7 +3750,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class NetworkInterfaceReference(SubResource): +class NetworkInterfaceReference(SubResource): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a network interface reference. :ivar id: The ID of the sub-resource. @@ -3418,7 +3783,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class NetworkInterfaceReferenceProperties(_Model): +class NetworkInterfaceReferenceProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a network interface reference properties. :ivar primary: Specifies the primary network interface in case the virtual machine has more @@ -3457,7 +3822,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class NetworkProfile(_Model): +class NetworkProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the network interfaces or the networking configuration of the virtual machine. :ivar network_interfaces: Specifies the list of resource Ids for the network interfaces @@ -3510,7 +3875,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class NotificationProperties(_Model): +class NotificationProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The information about notifications to be send to about upcoming operations. :ivar destination: Where the notification should be sent. For email, it should follow email @@ -3556,7 +3921,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Occurrence(ProxyResource): +class Occurrence(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """Concrete proxy resource types can be created by aliasing this type using a specific property type. @@ -3598,7 +3963,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OccurrenceExtensionProperties(_Model): +class OccurrenceExtensionProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The properties of the occurrence extension. :ivar resource_id: The ARM Id of the resource. @@ -3612,9 +3977,9 @@ class OccurrenceExtensionProperties(_Model): Required. :vartype scheduled_time: ~datetime.datetime :ivar provisioning_state: The current state of the resource. Known values are: "Succeeded", - "Failed", and "Canceled". + "Failed", "Canceled", "Created", "Scheduled", "Cancelling", "Rescheduling", and "InvalidState". :vartype provisioning_state: str or - ~azure.mgmt.compute.bulkaction.models.ResourceProvisioningState + ~azure.mgmt.compute.bulkaction.models.OccurrenceResourceProvisioningState :ivar error_details: Error details for the resource. Only populated if resource is in failed state. :vartype error_details: ~azure.core.ODataV4Format @@ -3633,11 +3998,11 @@ class OccurrenceExtensionProperties(_Model): """The desired notification settings for the specified resource.""" scheduled_time: datetime.datetime = rest_field(name="scheduledTime", visibility=["read"], format="rfc3339") """The time the occurrence is scheduled for the resource. Specified in UTC. Required.""" - provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( + provisioning_state: Optional[Union[str, "_models.OccurrenceResourceProvisioningState"]] = rest_field( name="provisioningState", visibility=["read"] ) - """The current state of the resource. Known values are: \"Succeeded\", \"Failed\", and - \"Canceled\".""" + """The current state of the resource. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Created\", \"Scheduled\", \"Cancelling\", \"Rescheduling\", and \"InvalidState\".""" error_details: Optional[ODataV4Format] = rest_field(name="errorDetails", visibility=["read"]) """Error details for the resource. Only populated if resource is in failed state.""" scheduled_action_id: str = rest_field( @@ -3665,7 +4030,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OccurrenceExtensionResource(ExtensionResource): +class OccurrenceExtensionResource(ExtensionResource): # pylint: disable=docstring-keyword-should-match-keyword-only """The scheduled action extension. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -3732,7 +4097,7 @@ class OccurrenceProperties(_Model): \"Rescheduling\", \"Scheduled\", \"Succeeded\", \"Failed\", \"Cancelling\", and \"Canceled\".""" -class OccurrenceResource(_Model): +class OccurrenceResource(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Represents an scheduled action resource metadata. :ivar name: The name of the resource. Required. @@ -3751,9 +4116,9 @@ class OccurrenceResource(_Model): :ivar scheduled_time: The time the occurrence is scheduled for the resource. Required. :vartype scheduled_time: ~datetime.datetime :ivar provisioning_state: The current state of the resource. Known values are: "Succeeded", - "Failed", and "Canceled". + "Failed", "Canceled", "Created", "Scheduled", "Cancelling", "Rescheduling", and "InvalidState". :vartype provisioning_state: str or - ~azure.mgmt.compute.bulkaction.models.ResourceProvisioningState + ~azure.mgmt.compute.bulkaction.models.OccurrenceResourceProvisioningState :ivar error_details: Error details for the resource. Only populated if resource is in failed state. :vartype error_details: ~azure.core.ODataV4Format @@ -3775,11 +4140,11 @@ class OccurrenceResource(_Model): """The desired notification settings for the specified resource.""" scheduled_time: datetime.datetime = rest_field(name="scheduledTime", visibility=["read"], format="rfc3339") """The time the occurrence is scheduled for the resource. Required.""" - provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( + provisioning_state: Optional[Union[str, "_models.OccurrenceResourceProvisioningState"]] = rest_field( name="provisioningState", visibility=["read"] ) - """The current state of the resource. Known values are: \"Succeeded\", \"Failed\", and - \"Canceled\".""" + """The current state of the resource. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", + \"Created\", \"Scheduled\", \"Cancelling\", \"Rescheduling\", and \"InvalidState\".""" error_details: Optional[ODataV4Format] = rest_field(name="errorDetails", visibility=["read"]) """Error details for the resource. Only populated if resource is in failed state.""" @@ -3802,7 +4167,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OccurrenceResultSummary(_Model): +class OccurrenceResultSummary(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The summarized provisioning result of an occurrence. :ivar total: The total number of resources that the occurrence was supposed to act on. @@ -3838,7 +4203,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Operation(_Model): +class Operation(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """REST API Operation. :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: @@ -3926,7 +4291,7 @@ class OperationDisplay(_Model): views.""" -class OperationStatusResult(_Model): +class OperationStatusResult(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The current status of an async operation. :ivar id: Fully qualified ID for the async operation. @@ -4002,7 +4367,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OSDisk(_Model): +class OSDisk(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies information about the operating system disk used by the virtual machine. For more information about disks, see `About disks and VHDs for Azure virtual machines `_. @@ -4139,7 +4504,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OSImageNotificationProfile(_Model): +class OSImageNotificationProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Profile for the OS Image Scheduled event. :ivar not_before_timeout: Length of time a Virtual Machine being reimaged or having its OS @@ -4179,7 +4544,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OSProfile(_Model): +class OSProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. @@ -4345,7 +4710,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class OSProfileProvisioningData(_Model): +class OSProfileProvisioningData(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Additional parameters for Reimaging Non-Ephemeral Virtual Machine. :ivar admin_password: Specifies the password of the administrator account.

@@ -4420,7 +4785,63 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class PatchSettings(_Model): +class PartialFulfillmentPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """Controls how partial fulfillment is handled for a BulkCreateCustom request. When enabled, Azure + creates only the VMs or vCPUs it has high confidence can be successfully allocated, instead of + attempting the entire request and potentially returning allocation failures. + + :ivar fulfilled_capacity: The amount of capacity that was actually attempted, expressed in the + units specified by capacityType. When partial fulfillment is enabled, this value can be less + than the requested capacity. + :vartype fulfilled_capacity: int + :ivar mode: Specifies whether partial fulfillment is allowed. When Enabled, Azure creates as + many VMs as it has high confidence can be successfully allocated. When Disabled, Azure attempts + to create all requested VMs, which may result into allocation failures. Known values are: + "Enabled" and "Disabled". + :vartype mode: str or ~azure.mgmt.compute.bulkaction.models.PartialFulfillmentMode + :ivar reason: Indicates why the fulfilled capacity is less than the requested capacity. + Possible values include InsufficientCapacity and InsufficientQuota. Returned only in the create + response when partial fulfillment is enabled and the request cannot be fully satisfied. Known + values are: "InsufficientCapacity", "InsufficientQuota", and "None". + :vartype reason: str or ~azure.mgmt.compute.bulkaction.models.PartialFulfillmentReason + """ + + fulfilled_capacity: Optional[int] = rest_field(name="fulfilledCapacity", visibility=["read"]) + """The amount of capacity that was actually attempted, expressed in the units specified by + capacityType. When partial fulfillment is enabled, this value can be less than the requested + capacity.""" + mode: Optional[Union[str, "_models.PartialFulfillmentMode"]] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) + """Specifies whether partial fulfillment is allowed. When Enabled, Azure creates as many VMs as it + has high confidence can be successfully allocated. When Disabled, Azure attempts to create all + requested VMs, which may result into allocation failures. Known values are: \"Enabled\" and + \"Disabled\".""" + reason: Optional[Union[str, "_models.PartialFulfillmentReason"]] = rest_field(visibility=["read"]) + """Indicates why the fulfilled capacity is less than the requested capacity. Possible values + include InsufficientCapacity and InsufficientQuota. Returned only in the create response when + partial fulfillment is enabled and the request cannot be fully satisfied. Known values are: + \"InsufficientCapacity\", \"InsufficientQuota\", and \"None\".""" + + @overload + def __init__( + self, + *, + mode: Optional[Union[str, "_models.PartialFulfillmentMode"]] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class PatchSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies settings related to VM Guest Patching on Windows. :ivar patch_mode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual @@ -4505,7 +4926,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Plan(_Model): +class Plan(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Plan for the resource. :ivar name: A user defined name of the 3rd Party Artifact that is being procured. Required. @@ -4560,7 +4981,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class PriorityProfile(_Model): +class PriorityProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The priority profile for flex VM creation. :ivar type: The priority type for VM allocation. Known values are: "Regular" and "Spot". @@ -4616,7 +5037,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ProxyAgentSettings(_Model): +class ProxyAgentSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01. @@ -4692,7 +5113,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class PublicIPAddressSku(_Model): +class PublicIPAddressSku(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. :ivar name: Specify public IP sku name. Known values are: "Basic" and "Standard". @@ -4729,95 +5150,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class RecurringScheduledActionsExecutionParameters(_Model): # pylint: disable=name-too-long - """The execution parameters the scheduled action is supposed to follow. - - :ivar optimization_preference: Details that could optimize the user's request. Known values - are: "Cost", "Availability", and "CostAvailabilityBalanced". - :vartype optimization_preference: str or - ~azure.mgmt.compute.bulkaction.models.OptimizationPreference - :ivar retry_policy: Retry policy the user can pass. - :vartype retry_policy: - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsRetryPolicy - """ - - optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = rest_field( - name="optimizationPreference", visibility=["read", "create", "update", "delete", "query"] - ) - """Details that could optimize the user's request. Known values are: \"Cost\", \"Availability\", - and \"CostAvailabilityBalanced\".""" - retry_policy: Optional["_models.RecurringScheduledActionsRetryPolicy"] = rest_field( - name="retryPolicy", visibility=["read", "create", "update", "delete", "query"] - ) - """Retry policy the user can pass.""" - - @overload - def __init__( - self, - *, - optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = None, - retry_policy: Optional["_models.RecurringScheduledActionsRetryPolicy"] = None, - ) -> None: ... - - @overload - def __init__(self, mapping: Mapping[str, Any]) -> None: - """ - :param mapping: raw JSON to initialize the model. - :type mapping: Mapping[str, Any] - """ - - def __init__(self, *args: Any, **kwargs: Any) -> None: - super().__init__(*args, **kwargs) - - -class RecurringScheduledActionsRetryPolicy(_Model): - """Retry policy the scheduled action can pass. - - :ivar retry_count: Retry count for the request. - :vartype retry_count: int - :ivar retry_window_in_minutes: Retry window in minutes for the request. - :vartype retry_window_in_minutes: int - :ivar on_failure_action: Action to take on failure. Known values are: "Unknown", "Start", - "Deallocate", "Hibernate", "Create", and "Delete". - :vartype on_failure_action: str or - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsResourceOperationType - """ - - retry_count: Optional[int] = rest_field( - name="retryCount", visibility=["read", "create", "update", "delete", "query"] - ) - """Retry count for the request.""" - retry_window_in_minutes: Optional[int] = rest_field( - name="retryWindowInMinutes", visibility=["read", "create", "update", "delete", "query"] - ) - """Retry window in minutes for the request.""" - on_failure_action: Optional[Union[str, "_models.RecurringScheduledActionsResourceOperationType"]] = rest_field( - name="onFailureAction", visibility=["read", "create", "update", "delete", "query"] - ) - """Action to take on failure. Known values are: \"Unknown\", \"Start\", \"Deallocate\", - \"Hibernate\", \"Create\", and \"Delete\".""" - - @overload - def __init__( - self, - *, - retry_count: Optional[int] = None, - retry_window_in_minutes: Optional[int] = None, - on_failure_action: Optional[Union[str, "_models.RecurringScheduledActionsResourceOperationType"]] = None, - ) -> None: ... - - @overload - def __init__(self, mapping: Mapping[str, Any]) -> None: - """ - :param mapping: raw JSON to initialize the model. - :type mapping: Mapping[str, Any] - """ - - def __init__(self, *args: Any, **kwargs: Any) -> None: - super().__init__(*args, **kwargs) - - -class ReimagePayload(_Model): +class ReimagePayload(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Reimage payload with common profile and per-resource overrides. :ivar base_profile: Common reimage profile applied to all resources unless overridden. @@ -4855,7 +5188,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ReimageResourceOperationResponse(_Model): +class ReimageResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a reimage request. :ivar description: The description of the operation response. Required. @@ -4900,7 +5233,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ReimageResourceOverride(_Model): +class ReimageResourceOverride(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Per-resource override entry for reimage requests. :ivar resource_id: The Azure resource ID of the virtual machine for this override. Required. @@ -4935,7 +5268,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceAttachRequest(_Model): +class ResourceAttachRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request model to attach a list of scheduled action resources. :ivar resources: List of resources to be attached/patched. Required. @@ -4965,7 +5298,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceDetachRequest(_Model): +class ResourceDetachRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request model to detach a list of scheduled action resources. :ivar resources: List of resources to be detached. Required. @@ -4993,7 +5326,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceNotificationDetails(_Model): +class ResourceNotificationDetails(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Resource notification details containing notification metadata like the resource context. :ivar resource_context: Resource context for notification tracking. @@ -5023,7 +5356,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceOperation(_Model): +class ResourceOperation(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """High level response from an operation on a resource. :ivar resource_id: Unique identifier for the resource involved in the operation, for example @@ -5080,7 +5413,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceOperationDetails(_Model): +class ResourceOperationDetails(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The details of a response from an operation on a resource. :ivar operation_id: Operation identifier for the unique operation. Required. @@ -5115,6 +5448,9 @@ class ResourceOperationDetails(_Model): :ivar resource_notification_details: Resource notification details. :vartype resource_notification_details: ~azure.mgmt.compute.bulkaction.models.ResourceNotificationDetails + :ivar capacity_recommendation: The capacity/placement recommendation computed for the + operation, if requested. + :vartype capacity_recommendation: ~azure.mgmt.compute.bulkaction.models.CapacityRecommendation """ operation_id: str = rest_field(name="operationId", visibility=["read", "create", "update", "delete", "query"]) @@ -5169,6 +5505,10 @@ class ResourceOperationDetails(_Model): name="resourceNotificationDetails", visibility=["read", "create", "update", "delete", "query"] ) """Resource notification details.""" + capacity_recommendation: Optional["_models.CapacityRecommendation"] = rest_field( + name="capacityRecommendation", visibility=["read", "create", "update", "delete", "query"] + ) + """The capacity/placement recommendation computed for the operation, if requested.""" @overload def __init__( @@ -5187,6 +5527,7 @@ def __init__( completed_at: Optional[datetime.datetime] = None, retry_policy: Optional["_models.RetryPolicy"] = None, resource_notification_details: Optional["_models.ResourceNotificationDetails"] = None, + capacity_recommendation: Optional["_models.CapacityRecommendation"] = None, ) -> None: ... @overload @@ -5200,7 +5541,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceOperationError(_Model): +class ResourceOperationError(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """These describe errors that occur at the resource level. :ivar error_code: Code for the error eg 404, 500. Required. @@ -5233,7 +5574,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceOperationResponse(_Model): +class ResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from scheduled action resource requests, which contains the status of each resource. @@ -5269,7 +5610,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourcePatchRequest(_Model): +class ResourcePatchRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request model perform a resource operation in a list of resources. :ivar resources: The list of resources we watch to patch. Required. @@ -5299,7 +5640,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceProvisionPayload(_Model): +class ResourceProvisionPayload(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Resource creation data model. :ivar base_profile: Bulk Actions Virtual Machine Profile object that contains VM properties @@ -5354,7 +5695,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceProvisionVdiPayload(_Model): +class ResourceProvisionVdiPayload(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Resource creation data model with Flex properties for VDI scenarios. :ivar base_profile: Bulk Actions Virtual Machine Profile object that contains VM properties @@ -5416,7 +5757,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceResultSummary(_Model): +class ResourceResultSummary(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The status of the resources. :ivar code: The error code for those resources. In case of success, code is populated with @@ -5458,7 +5799,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Resources(_Model): +class Resources(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The resources needed for the user request. :ivar ids: The resource ids used for the request. Required. @@ -5486,7 +5827,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceStatus(_Model): +class ResourceStatus(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The status of a resource after a resource level operation was performed. :ivar resource_id: The arm identifier of the resource. Required. @@ -5528,7 +5869,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourcesWithContext(_Model): +class ResourcesWithContext(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The resources needed for the user request with the context for tracking purposes. :ivar resources: The resource ids used for the request. Required. @@ -5558,7 +5899,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceWithContext(_Model): +class ResourceWithContext(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The resources needed for the user request with the resourceContext. :ivar resource_id: The resource ids used for the request. Required. @@ -5593,7 +5934,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class RetryPolicy(_Model): +class RetryPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The retry policy for the user request. :ivar retry_count: Retry count for user request. @@ -5639,7 +5980,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class TrackedResource(Resource): +class TrackedResource(Resource): # pylint: disable=docstring-keyword-should-match-keyword-only """Tracked Resource. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -5683,7 +6024,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledAction(TrackedResource): +class ScheduledAction(TrackedResource): # pylint: disable=docstring-keyword-should-match-keyword-only """The scheduled action resource. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -5730,7 +6071,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionProperties(_Model): +class ScheduledActionProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Scheduled action properties. :ivar resource_type: The type of resource the scheduled action is targeting. Required. Known @@ -5753,7 +6094,7 @@ class ScheduledActionProperties(_Model): :ivar provisioning_state: The status of the last provisioning operation performed on the resource. Known values are: "Succeeded", "Failed", "Canceled", and "Deleting". :vartype provisioning_state: str or - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsProvisioningState + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsProvisioningState """ resource_type: Union[str, "_models.ResourceType"] = rest_field( @@ -5784,7 +6125,7 @@ class ScheduledActionProperties(_Model): """The notification settings for the scheduled action. Required.""" disabled: Optional[bool] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Tell if the scheduled action is disabled or not.""" - provisioning_state: Optional[Union[str, "_models.RecurringScheduledActionsProvisioningState"]] = rest_field( + provisioning_state: Optional[Union[str, "_models.ScheduledActionsProvisioningState"]] = rest_field( name="provisioningState", visibility=["read"] ) """The status of the last provisioning operation performed on the resource. Known values are: @@ -5814,7 +6155,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionResource(_Model): +class ScheduledActionResource(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Represents an scheduled action resource metadata. :ivar name: The name of the resource. Required. @@ -5866,7 +6207,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionResourceInput(_Model): +class ScheduledActionResourceInput(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Represents the writable fields of a scheduled action resource used in attach and patch requests. @@ -5907,7 +6248,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionResources(ExtensionResource): +class ScheduledActionResources(ExtensionResource): # pylint: disable=docstring-keyword-should-match-keyword-only """The scheduled action extension. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -5948,7 +6289,47 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionsExtensionProperties(_Model): +class ScheduledActionsExecutionParameters(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """The execution parameters the scheduled action is supposed to follow. + + :ivar optimization_preference: Details that could optimize the user's request. Known values + are: "Cost", "Availability", and "CostAvailabilityBalanced". + :vartype optimization_preference: str or + ~azure.mgmt.compute.bulkaction.models.OptimizationPreference + :ivar retry_policy: Retry policy the user can pass. + :vartype retry_policy: ~azure.mgmt.compute.bulkaction.models.ScheduledActionsRetryPolicy + """ + + optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = rest_field( + name="optimizationPreference", visibility=["read", "create", "update", "delete", "query"] + ) + """Details that could optimize the user's request. Known values are: \"Cost\", \"Availability\", + and \"CostAvailabilityBalanced\".""" + retry_policy: Optional["_models.ScheduledActionsRetryPolicy"] = rest_field( + name="retryPolicy", visibility=["read", "create", "update", "delete", "query"] + ) + """Retry policy the user can pass.""" + + @overload + def __init__( + self, + *, + optimization_preference: Optional[Union[str, "_models.OptimizationPreference"]] = None, + retry_policy: Optional["_models.ScheduledActionsRetryPolicy"] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class ScheduledActionsExtensionProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Scheduled action extension properties. :ivar resource_type: The type of resource the scheduled action is targeting. Required. Known @@ -5971,7 +6352,7 @@ class ScheduledActionsExtensionProperties(_Model): :ivar provisioning_state: The status of the last provisioning operation performed on the resource. Known values are: "Succeeded", "Failed", "Canceled", and "Deleting". :vartype provisioning_state: str or - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsProvisioningState + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsProvisioningState :ivar resource_notification_settings: The notification settings for the scheduled action at a resource level. Resource level notification settings are scope to specific resources only and submitted through attach requests. @@ -6007,7 +6388,7 @@ class ScheduledActionsExtensionProperties(_Model): """The notification settings for the scheduled action. Required.""" disabled: Optional[bool] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Tell if the scheduled action is disabled or not.""" - provisioning_state: Optional[Union[str, "_models.RecurringScheduledActionsProvisioningState"]] = rest_field( + provisioning_state: Optional[Union[str, "_models.ScheduledActionsProvisioningState"]] = rest_field( name="provisioningState", visibility=["read"] ) """The status of the last provisioning operation performed on the resource. Known values are: @@ -6043,7 +6424,54 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionsSchedule(_Model): +class ScheduledActionsRetryPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """Retry policy the scheduled action can pass. + + :ivar retry_count: Retry count for the request. + :vartype retry_count: int + :ivar retry_window_in_minutes: Retry window in minutes for the request. + :vartype retry_window_in_minutes: int + :ivar on_failure_action: Action to take on failure. Known values are: "Unknown", "Start", + "Deallocate", "Hibernate", "Create", and "Delete". + :vartype on_failure_action: str or + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsResourceOperationType + """ + + retry_count: Optional[int] = rest_field( + name="retryCount", visibility=["read", "create", "update", "delete", "query"] + ) + """Retry count for the request.""" + retry_window_in_minutes: Optional[int] = rest_field( + name="retryWindowInMinutes", visibility=["read", "create", "update", "delete", "query"] + ) + """Retry window in minutes for the request.""" + on_failure_action: Optional[Union[str, "_models.ScheduledActionsResourceOperationType"]] = rest_field( + name="onFailureAction", visibility=["read", "create", "update", "delete", "query"] + ) + """Action to take on failure. Known values are: \"Unknown\", \"Start\", \"Deallocate\", + \"Hibernate\", \"Create\", and \"Delete\".""" + + @overload + def __init__( + self, + *, + retry_count: Optional[int] = None, + retry_window_in_minutes: Optional[int] = None, + on_failure_action: Optional[Union[str, "_models.ScheduledActionsResourceOperationType"]] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class ScheduledActionsSchedule(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specify the schedule in which the scheduled action is supposed to follow. :ivar scheduled_time: The time the scheduled action is supposed to run on. Required. @@ -6062,12 +6490,12 @@ class ScheduledActionsSchedule(_Model): :ivar execution_parameters: The execution parameters the scheduled action is supposed to follow. :vartype execution_parameters: - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsExecutionParameters + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsExecutionParameters :ivar deadline_type: The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: "Unknown", "InitiateAt", and "CompleteBy". :vartype deadline_type: str or - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsDeadlineType + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsDeadlineType """ scheduled_time: datetime.time = rest_field( @@ -6091,11 +6519,11 @@ class ScheduledActionsSchedule(_Model): ) """The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.""" - execution_parameters: Optional["_models.RecurringScheduledActionsExecutionParameters"] = rest_field( + execution_parameters: Optional["_models.ScheduledActionsExecutionParameters"] = rest_field( name="executionParameters", visibility=["read", "create", "update", "delete", "query"] ) """The execution parameters the scheduled action is supposed to follow.""" - deadline_type: Optional[Union[str, "_models.RecurringScheduledActionsDeadlineType"]] = rest_field( + deadline_type: Optional[Union[str, "_models.ScheduledActionsDeadlineType"]] = rest_field( name="deadlineType", visibility=["read", "create", "update", "delete", "query"] ) """The type of deadline the scheduled action is supposed to follow for the schedule. If no value @@ -6111,8 +6539,8 @@ def __init__( requested_week_days: Optional[list[Union[str, "_models.WeekDay"]]] = None, requested_months: Optional[list[Union[str, "_models.Month"]]] = None, requested_days_of_the_month: Optional[list[int]] = None, - execution_parameters: Optional["_models.RecurringScheduledActionsExecutionParameters"] = None, - deadline_type: Optional[Union[str, "_models.RecurringScheduledActionsDeadlineType"]] = None, + execution_parameters: Optional["_models.ScheduledActionsExecutionParameters"] = None, + deadline_type: Optional[Union[str, "_models.ScheduledActionsDeadlineType"]] = None, ) -> None: ... @overload @@ -6126,7 +6554,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionsScheduleUpdate(_Model): +class ScheduledActionsScheduleUpdate(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Schedule properties for update (PATCH). All properties are optional so individual fields can be patched (merge semantics); omitting a property preserves the current value. @@ -6146,12 +6574,12 @@ class ScheduledActionsScheduleUpdate(_Model): :ivar execution_parameters: The execution parameters the scheduled action is supposed to follow. :vartype execution_parameters: - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsExecutionParameters + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsExecutionParameters :ivar deadline_type: The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: "Unknown", "InitiateAt", and "CompleteBy". :vartype deadline_type: str or - ~azure.mgmt.compute.bulkaction.models.RecurringScheduledActionsDeadlineType + ~azure.mgmt.compute.bulkaction.models.ScheduledActionsDeadlineType """ scheduled_time: Optional[datetime.time] = rest_field( @@ -6175,11 +6603,11 @@ class ScheduledActionsScheduleUpdate(_Model): ) """The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.""" - execution_parameters: Optional["_models.RecurringScheduledActionsExecutionParameters"] = rest_field( + execution_parameters: Optional["_models.ScheduledActionsExecutionParameters"] = rest_field( name="executionParameters", visibility=["read", "create", "update", "delete", "query"] ) """The execution parameters the scheduled action is supposed to follow.""" - deadline_type: Optional[Union[str, "_models.RecurringScheduledActionsDeadlineType"]] = rest_field( + deadline_type: Optional[Union[str, "_models.ScheduledActionsDeadlineType"]] = rest_field( name="deadlineType", visibility=["read", "create", "update", "delete", "query"] ) """The type of deadline the scheduled action is supposed to follow for the schedule. If no value @@ -6195,8 +6623,8 @@ def __init__( requested_week_days: Optional[list[Union[str, "_models.WeekDay"]]] = None, requested_months: Optional[list[Union[str, "_models.Month"]]] = None, requested_days_of_the_month: Optional[list[int]] = None, - execution_parameters: Optional["_models.RecurringScheduledActionsExecutionParameters"] = None, - deadline_type: Optional[Union[str, "_models.RecurringScheduledActionsDeadlineType"]] = None, + execution_parameters: Optional["_models.ScheduledActionsExecutionParameters"] = None, + deadline_type: Optional[Union[str, "_models.ScheduledActionsDeadlineType"]] = None, ) -> None: ... @overload @@ -6210,7 +6638,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionUpdate(_Model): +class ScheduledActionUpdate(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The type used for update operations of the ScheduledAction. :ivar tags: Resource tags. @@ -6245,7 +6673,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledActionUpdateProperties(_Model): +class ScheduledActionUpdateProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The updatable properties of the ScheduledAction. :ivar resource_type: The type of resource the scheduled action is targeting. Known values are: @@ -6320,7 +6748,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledEventsAdditionalPublishingTargets(_Model): # pylint: disable=name-too-long +class ScheduledEventsAdditionalPublishingTargets( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Specifies additional publishing targets for scheduled events. :ivar event_grid_and_resource_graph: The configuration parameters used while creating @@ -6353,7 +6783,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledEventsPolicy(_Model): +class ScheduledEventsPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations. @@ -6418,7 +6848,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ScheduledEventsProfile(_Model): +class ScheduledEventsProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Profile for the scheduled events. :ivar terminate_notification_profile: Specifies Terminate Scheduled Event related @@ -6458,7 +6888,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SecurityProfile(_Model): +class SecurityProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the Security profile settings for the virtual machine or virtual machine scale set. :ivar uefi_settings: Specifies the security settings like secure boot and vTPM used while @@ -6532,7 +6962,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SshConfiguration(_Model): +class SshConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """SSH configuration for Linux based VMs running on Azure. :ivar public_keys: The list of SSH public keys used to authenticate with linux based VMs. @@ -6562,7 +6992,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SshPublicKey(_Model): +class SshPublicKey(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. @@ -6607,7 +7037,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class StartResourceOperationResponse(_Model): +class StartResourceOperationResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The response from a start request. :ivar description: The description of the operation response. Required. @@ -6652,7 +7082,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class StorageProfile(_Model): +class StorageProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the storage settings for the virtual machine disks. :ivar image_reference: Specifies information about the image to use. You can specify @@ -6729,7 +7159,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SystemData(_Model): +class SystemData(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Metadata pertaining to creation and last modification of the resource. :ivar created_by: The identity that created the resource. @@ -6796,7 +7226,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class TerminateNotificationProfile(_Model): +class TerminateNotificationProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Profile properties for the Terminate Scheduled event. :ivar not_before_timeout: Configurable length of time a Virtual Machine being deleted will have @@ -6836,7 +7266,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class UefiSettings(_Model): +class UefiSettings(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. @@ -6908,7 +7338,7 @@ class UserAssignedIdentity(_Model): """The client ID of the assigned identity.""" -class UserInitiatedReboot(_Model): +class UserInitiatedReboot(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies Reboot related Scheduled Event related configurations. :ivar user_initiated_reboot_automatically_approve: Specifies Reboot Scheduled Event related @@ -6939,7 +7369,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class UserInitiatedRedeploy(_Model): +class UserInitiatedRedeploy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies Redeploy related Scheduled Event related configurations. :ivar user_initiated_redeploy_automatically_approve: Specifies Redeploy Scheduled Event related @@ -6970,7 +7400,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VaultCertificate(_Model): +class VaultCertificate(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. @@ -7035,7 +7465,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VaultSecretGroup(_Model): +class VaultSecretGroup(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes a set of certificates which are all in the same Key Vault. :ivar source_vault: The relative URL of the Key Vault containing all of the certificates in @@ -7074,7 +7504,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualHardDisk(_Model): +class VirtualHardDisk(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes the uri of a disk. :ivar uri: Specifies the virtual hard disk's uri. @@ -7139,7 +7569,7 @@ class VirtualMachine(_Model): """Error information when operationStatus is Failed.""" -class VirtualMachineIdentity(_Model): +class VirtualMachineIdentity(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Identity for the virtual machine. :ivar principal_id: The principal id of virtual machine identity. This property will only be @@ -7199,7 +7629,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineInfo(_Model): +class VirtualMachineInfo(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Information about a virtual machine. :ivar vm_size: The name of the VM size, eg Standard_D2ads_v5. @@ -7232,7 +7662,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineIpTag(_Model): +class VirtualMachineIpTag(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Contains the IP tag associated with the public IP address. :ivar ip_tag_type: IP tag type. Example: FirstPartyUsage. @@ -7267,7 +7697,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineNetworkInterfaceConfiguration(_Model): # pylint: disable=name-too-long +class VirtualMachineNetworkInterfaceConfiguration( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machine network interface configurations. :ivar name: The network interface configuration name. Required. @@ -7310,7 +7742,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineNetworkInterfaceConfigurationProperties(_Model): # pylint: disable=name-too-long +class VirtualMachineNetworkInterfaceConfigurationProperties( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machine network profile's IP configuration. :ivar primary: Specifies the primary network interface in case the virtual machine has more @@ -7429,7 +7863,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineNetworkInterfaceDnsSettingsConfiguration(_Model): # pylint: disable=name-too-long +class VirtualMachineNetworkInterfaceDnsSettingsConfiguration( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machines network configuration's DNS settings. :ivar dns_servers: List of DNS servers IP addresses. @@ -7459,7 +7895,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineNetworkInterfaceIPConfiguration(_Model): # pylint: disable=name-too-long +class VirtualMachineNetworkInterfaceIPConfiguration( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machine network profile's IP configuration. :ivar name: The IP configuration name. Required. @@ -7495,7 +7933,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineNetworkInterfaceIPConfigurationProperties(_Model): # pylint: disable=name-too-long +class VirtualMachineNetworkInterfaceIPConfigurationProperties( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machine network interface IP configuration properties. :ivar subnet: Specifies the identifier of the subnet. @@ -7583,7 +8023,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachinePublicIPAddressConfiguration(_Model): # pylint: disable=name-too-long +class VirtualMachinePublicIPAddressConfiguration( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machines IP Configuration's PublicIPAddress configuration. :ivar name: The publicIP address configuration name. Required. @@ -7631,7 +8073,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachinePublicIPAddressConfigurationProperties(_Model): # pylint: disable=name-too-long +class VirtualMachinePublicIPAddressConfigurationProperties( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machines IP Configuration's PublicIPAddress configuration. :ivar idle_timeout_in_minutes: The idle timeout of the public IP address. @@ -7712,7 +8156,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachinePublicIPAddressDnsSettingsConfiguration(_Model): # pylint: disable=name-too-long +class VirtualMachinePublicIPAddressDnsSettingsConfiguration( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Describes a virtual machines network configuration's DNS settings. :ivar domain_name_label: The Domain name label prefix of the PublicIPAddress resources that @@ -7760,7 +8206,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VirtualMachineReimageParameters(_Model): +class VirtualMachineReimageParameters(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged. @@ -7808,7 +8254,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VMAttributeMinMaxDouble(_Model): +class VMAttributeMinMaxDouble(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """VMAttributes using double values. :ivar min: Minimum value. If not specified, no minimum filter is applied. @@ -7841,7 +8287,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VMAttributeMinMaxInteger(_Model): +class VMAttributeMinMaxInteger(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes. @@ -7875,7 +8321,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VMAttributes(_Model): +class VMAttributes(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """VMAttributes that will be used to filter VMSizes which will be used to launch instances. :ivar v_cpu_count: The range of vCpuCount specified from Min to Max. Must be specified if @@ -8120,7 +8566,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VMDiskSecurityProfile(_Model): +class VMDiskSecurityProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. @@ -8172,7 +8618,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VMGalleryApplication(_Model): +class VMGalleryApplication(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies the required information to reference a compute gallery application version. :ivar tags: Optional, Specifies a passthrough value for more generic context. @@ -8242,7 +8688,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VmSizeProfile(_Model): +class VmSizeProfile(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A VM size profile with a name and rank for flex VM creation. :ivar name: The name of the VM size, eg Standard_D2ads_v5. Required. @@ -8275,7 +8721,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class VmSizeProperties(_Model): +class VmSizeProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies VM Size Property settings on the virtual machine. :ivar v_cpus_available: Specifies the number of vCPUs available for the VM. When this property @@ -8326,7 +8772,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class WindowsConfiguration(_Model): +class WindowsConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Specifies Windows operating system settings on the virtual machine. :ivar provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the @@ -8411,7 +8857,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class WindowsVMGuestPatchAutomaticByPlatformSettings(_Model): # pylint: disable=name-too-long +class WindowsVMGuestPatchAutomaticByPlatformSettings( + _Model +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. @@ -8453,7 +8901,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class WinRMConfiguration(_Model): +class WinRMConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes Windows Remote Management configuration of the VM. :ivar listeners: The list of Windows Remote Management listeners. @@ -8483,7 +8931,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class WinRMListener(_Model): +class WinRMListener(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Describes Protocol and thumbprint of Windows Remote Management listener. :ivar protocol: Specifies the protocol of WinRM listener. Possible values are: **http,** @@ -8541,7 +8989,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ZoneAllocationPolicy(_Model): +class ZoneAllocationPolicy(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The zone allocation policy for distributing VMs across availability zones. :ivar distribution_strategy: The distribution strategy for zone allocation. Known values are: @@ -8581,7 +9029,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ZonePreference(_Model): +class ZonePreference(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A zone preference with a zone identifier and rank. :ivar zone: The zone identifier. Required. diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_patch.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_patch.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/models/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_operations.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_operations.py index df27d18a0c30..783edf7e6262 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_operations.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_operations.py @@ -50,7 +50,7 @@ def build_operations_list_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -72,7 +72,7 @@ def build_virtual_machine_bulk_operations_bulk_deallocate_operation_request( # _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -103,7 +103,7 @@ def build_virtual_machine_bulk_operations_bulk_hibernate_operation_request( # p _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -134,7 +134,7 @@ def build_virtual_machine_bulk_operations_bulk_start_operation_request( # pylin _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -165,7 +165,7 @@ def build_virtual_machine_bulk_operations_bulk_create_operation_request( # pyli _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -196,7 +196,7 @@ def build_virtual_machine_bulk_operations_bulk_vdi_flex_create_operation_request _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -227,7 +227,7 @@ def build_virtual_machine_bulk_operations_bulk_delete_operation_request( # pyli _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -258,7 +258,7 @@ def build_virtual_machine_bulk_operations_bulk_get_operations_status_request( # _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -289,7 +289,7 @@ def build_virtual_machine_bulk_operations_bulk_cancel_operations_request( # pyl _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -320,7 +320,7 @@ def build_virtual_machine_bulk_operations_bulk_reimage_operation_request( # pyl _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -355,7 +355,7 @@ def build_virtual_machine_bulk_operations_bulk_list_operation_errors_request( # _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -386,7 +386,7 @@ def build_virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_requ _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -416,7 +416,7 @@ def build_launch_bulk_instances_operation_get_request( # pylint: disable=name-t _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -445,7 +445,7 @@ def build_launch_bulk_instances_operation_get_operation_status_request( # pylin _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -474,7 +474,7 @@ def build_launch_bulk_instances_operation_create_or_update_request( # pylint: d _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -510,7 +510,7 @@ def build_launch_bulk_instances_operation_delete_request( # pylint: disable=nam ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/launchBulkInstancesOperations/{name}" path_format_arguments = { @@ -535,7 +535,7 @@ def build_launch_bulk_instances_operation_cancel_request( # pylint: disable=nam ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/launchBulkInstancesOperations/{name}/cancel" path_format_arguments = { @@ -559,7 +559,7 @@ def build_launch_bulk_instances_operation_list_by_resource_group_request( # pyl _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -587,7 +587,7 @@ def build_launch_bulk_instances_operation_list_by_subscription_request( # pylin _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -623,7 +623,7 @@ def build_launch_bulk_instances_operation_list_virtual_machines_request( # pyli _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -656,7 +656,7 @@ def build_bulk_create_custom_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -685,7 +685,7 @@ def build_bulk_create_custom_get_async_operation_status_request( # pylint: disa _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -714,7 +714,7 @@ def build_bulk_create_custom_create_or_update_request( # pylint: disable=name-t _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -750,7 +750,7 @@ def build_bulk_create_custom_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/bulkCreateCustom/{name}" path_format_arguments = { @@ -775,7 +775,7 @@ def build_bulk_create_custom_cancel_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/bulkCreateCustom/{name}/cancel" path_format_arguments = { @@ -793,13 +793,42 @@ def build_bulk_create_custom_cancel_request( return HttpRequest(method="POST", url=_url, params=_params, **kwargs) +def build_bulk_create_custom_virtual_machines_get_operation_status_request( # pylint: disable=name-too-long + resource_group_name: str, location: str, name: str, subscription_id: str, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/bulkCreateCustom/{name}/virtualMachinesGetOperationStatus" + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), + "location": _SERIALIZER.url("location", location, "str"), + "name": _SERIALIZER.url("name", name, "str"), + } + + _url: str = _url.format(**path_format_arguments) # type: ignore + + # Construct parameters + _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") + + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) + + def build_bulk_create_custom_list_by_resource_group_request( # pylint: disable=name-too-long resource_group_name: str, location: str, subscription_id: str, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -827,7 +856,7 @@ def build_bulk_create_custom_list_by_subscription_request( # pylint: disable=na _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -854,7 +883,7 @@ def build_scheduled_actions_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -883,7 +912,7 @@ def build_scheduled_actions_create_or_update_request( # pylint: disable=name-to _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -914,7 +943,7 @@ def build_scheduled_actions_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -943,7 +972,7 @@ def build_scheduled_actions_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/scheduledActions/{scheduledActionName}" path_format_arguments = { @@ -966,7 +995,7 @@ def build_scheduled_actions_list_by_resource_group_request( # pylint: disable=n _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -993,7 +1022,7 @@ def build_scheduled_actions_list_by_subscription_request( # pylint: disable=nam _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1019,7 +1048,7 @@ def build_scheduled_actions_list_resources_request( # pylint: disable=name-too- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1048,7 +1077,7 @@ def build_scheduled_actions_attach_resources_request( # pylint: disable=name-to _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1079,7 +1108,7 @@ def build_scheduled_actions_detach_resources_request( # pylint: disable=name-to _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1110,7 +1139,7 @@ def build_scheduled_actions_patch_resources_request( # pylint: disable=name-too _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1139,7 +1168,7 @@ def build_scheduled_actions_disable_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/scheduledActions/{scheduledActionName}/disable" path_format_arguments = { @@ -1161,7 +1190,7 @@ def build_scheduled_actions_enable_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/scheduledActions/{scheduledActionName}/enable" path_format_arguments = { @@ -1185,7 +1214,7 @@ def build_scheduled_actions_cancel_next_occurrence_request( # pylint: disable=n _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1215,7 +1244,7 @@ def build_scheduled_actions_trigger_manual_occurrence_request( # pylint: disabl _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1243,7 +1272,7 @@ def build_scheduled_action_extension_list_by_vms_request( # pylint: disable=nam _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1269,7 +1298,7 @@ def build_scheduled_action_operation_status_get_request( # pylint: disable=name _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1297,7 +1326,7 @@ def build_occurrences_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1326,7 +1355,7 @@ def build_occurrences_list_by_scheduled_action_request( # pylint: disable=name- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1354,7 +1383,7 @@ def build_occurrences_list_resources_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1384,7 +1413,7 @@ def build_occurrences_cancel_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1416,7 +1445,7 @@ def build_occurrences_delay_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1447,7 +1476,7 @@ def build_occurrence_extension_list_occurrence_by_vms_request( # pylint: disabl _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-07-06-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-08-06-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1467,7 +1496,7 @@ def build_occurrence_extension_list_occurrence_by_vms_request( # pylint: disabl return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1579,7 +1608,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class VirtualMachineBulkOperationsOperations: +class VirtualMachineBulkOperationsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2235,7 +2264,7 @@ def bulk_create_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_create_operation( self, @@ -2428,7 +2457,7 @@ def bulk_vdi_flex_create_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_vdi_flex_create_operation( self, @@ -3154,7 +3183,7 @@ def bulk_reimage_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_reimage_operation( self, @@ -3260,7 +3289,7 @@ def bulk_reimage_operation( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_list_operation_errors( self, resource_group_name: str, location: str, *, lookback_in_minutes: Optional[int] = None, **kwargs: Any @@ -3464,7 +3493,7 @@ def bulk_acknowledge_operation_errors( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def bulk_acknowledge_operation_errors( self, @@ -3559,7 +3588,7 @@ def bulk_acknowledge_operation_errors( return deserialized # type: ignore -class LaunchBulkInstancesOperationOperations: +class LaunchBulkInstancesOperationOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3591,7 +3620,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -3674,7 +3703,7 @@ def get( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "async_operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get_operation_status( self, location: str, async_operation_id: str, **kwargs: Any @@ -3759,7 +3788,7 @@ def get_operation_status( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _create_or_update_initial( self, @@ -3954,7 +3983,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_create_or_update( self, @@ -4052,7 +4081,7 @@ def get_long_running_output(pipeline_response): "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _delete_initial( self, @@ -4136,7 +4165,7 @@ def _delete_initial( "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_delete( self, @@ -4214,7 +4243,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _cancel_initial(self, resource_group_name: str, location: str, name: str, **kwargs: Any) -> Iterator[bytes]: error_map: MutableMapping = { @@ -4281,7 +4310,7 @@ def _cancel_initial(self, resource_group_name: str, location: str, name: str, ** params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_cancel(self, resource_group_name: str, location: str, name: str, **kwargs: Any) -> LROPoller[None]: """Cancels LaunchBulkInstancesOperation instances that have not yet launched. @@ -4348,7 +4377,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group( self, resource_group_name: str, location: str, **kwargs: Any @@ -4456,7 +4485,7 @@ def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "location", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription( self, location: str, **kwargs: Any @@ -4571,7 +4600,7 @@ def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_virtual_machines( self, @@ -4692,7 +4721,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class BulkCreateCustomOperations: +class BulkCreateCustomOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4724,7 +4753,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get( self, resource_group_name: str, location: str, name: str, **kwargs: Any @@ -4807,7 +4836,7 @@ def get( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "async_operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get_async_operation_status( self, location: str, async_operation_id: str, **kwargs: Any @@ -4892,7 +4921,7 @@ def get_async_operation_status( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _create_or_update_initial( self, @@ -5083,7 +5112,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_create_or_update( self, @@ -5177,7 +5206,7 @@ def get_long_running_output(pipeline_response): "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _delete_initial( self, @@ -5261,7 +5290,7 @@ def _delete_initial( "delete_instances", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_delete( self, @@ -5339,7 +5368,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _cancel_initial(self, resource_group_name: str, location: str, name: str, **kwargs: Any) -> Iterator[bytes]: error_map: MutableMapping = { @@ -5406,7 +5435,7 @@ def _cancel_initial(self, resource_group_name: str, location: str, name: str, ** params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_cancel(self, resource_group_name: str, location: str, name: str, **kwargs: Any) -> LROPoller[None]: """Cancels BulkCreateCustom instances that have not yet launched. @@ -5467,13 +5496,103 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- ) return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore + @distributed_trace + @api_version_validation( + method_added_on="2026-08-06-preview", + params_added_on={ + "2026-08-06-preview": [ + "api_version", + "subscription_id", + "resource_group_name", + "location", + "name", + "accept", + ] + }, + api_versions_list=["2026-08-06-preview"], + ) + def virtual_machines_get_operation_status( + self, resource_group_name: str, location: str, name: str, **kwargs: Any + ) -> _models.GetOperationStatusResponse: + """Gets the operation status for virtual machines in a BulkCreateCustom operation. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + Required. + :type resource_group_name: str + :param location: The location name. Required. + :type location: str + :param name: The name of the BulkCreateCustom. The value must be an UUID. Required. + :type name: str + :return: GetOperationStatusResponse. The GetOperationStatusResponse is compatible with + MutableMapping + :rtype: ~azure.mgmt.compute.bulkaction.models.GetOperationStatusResponse + :raises ~azure.core.exceptions.HttpResponseError: + """ + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[_models.GetOperationStatusResponse] = kwargs.pop("cls", None) + + _request = build_bulk_create_custom_virtual_machines_get_operation_status_request( + resource_group_name=resource_group_name, + location=location, + name=name, + subscription_id=self._config.subscription_id, + api_version=self._config.api_version, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + _decompress = kwargs.pop("decompress", True) + _stream = kwargs.pop("stream", False) + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + + response = pipeline_response.http_response + + if response.status_code not in [200]: + if _stream: + try: + response.read() # Load the body in memory and close the socket + except (StreamConsumedError, StreamClosedError): + pass + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = _failsafe_deserialize( + _models.ErrorResponse, + response, + ) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if _stream: + deserialized = response.iter_bytes() if _decompress else response.iter_raw() + else: + deserialized = _deserialize(_models.GetOperationStatusResponse, response.json()) + + if cls: + return cls(pipeline_response, deserialized, {}) # type: ignore + + return deserialized # type: ignore + @distributed_trace @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "location", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group( self, resource_group_name: str, location: str, **kwargs: Any @@ -5581,7 +5700,7 @@ def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "location", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription(self, location: str, **kwargs: Any) -> ItemPaged["_models.LocationBasedBulkCreateCustom"]: """List BulkCreateCustom resources by subscriptionId. @@ -5680,7 +5799,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class ScheduledActionsOperations: # pylint: disable=too-many-public-methods +class ScheduledActionsOperations: # pylint: disable=docstring-missing-param,too-many-public-methods """ .. warning:: **DO NOT** instantiate this class directly. @@ -5711,7 +5830,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> _models.ScheduledAction: """Get a ScheduledAction. @@ -5794,7 +5913,7 @@ def get(self, resource_group_name: str, scheduled_action_name: str, **kwargs: An "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _create_or_update_initial( self, @@ -5970,7 +6089,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_create_or_update( self, @@ -6059,7 +6178,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _update_initial( self, @@ -6233,7 +6352,7 @@ def begin_update( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_update( self, @@ -6309,7 +6428,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _delete_initial(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> Iterator[bytes]: error_map: MutableMapping = { @@ -6379,7 +6498,7 @@ def _delete_initial(self, resource_group_name: str, scheduled_action_name: str, params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_delete(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> LROPoller[None]: """Delete a ScheduledAction. @@ -6441,7 +6560,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> ItemPaged["_models.ScheduledAction"]: """List ScheduledAction resources by resource group. @@ -6543,7 +6662,7 @@ def get_next(next_link=None): @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "subscription_id", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_subscription(self, **kwargs: Any) -> ItemPaged["_models.ScheduledAction"]: """List ScheduledAction resources by subscription ID. @@ -6649,7 +6768,7 @@ def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_resources( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -6765,7 +6884,7 @@ def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _attach_resources_initial( self, @@ -6945,7 +7064,7 @@ def begin_attach_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_attach_resources( self, @@ -7035,7 +7154,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _detach_resources_initial( self, @@ -7215,7 +7334,7 @@ def begin_detach_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_detach_resources( self, @@ -7390,7 +7509,7 @@ def patch_resources( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def patch_resources( self, @@ -7487,7 +7606,7 @@ def patch_resources( params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _disable_initial(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> Iterator[bytes]: error_map: MutableMapping = { @@ -7556,7 +7675,7 @@ def _disable_initial(self, resource_group_name: str, scheduled_action_name: str, params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_disable(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> LROPoller[None]: """Disable the scheduled action so its future occurrences do not run. @@ -7619,7 +7738,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _enable_initial(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> Iterator[bytes]: error_map: MutableMapping = { @@ -7688,7 +7807,7 @@ def _enable_initial(self, resource_group_name: str, scheduled_action_name: str, params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "resource_group_name", "scheduled_action_name"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_enable(self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any) -> LROPoller[None]: """Enable a previously disabled scheduled action so its future occurrences run. @@ -7758,7 +7877,7 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent- "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _cancel_next_occurrence_initial( self, @@ -7938,7 +8057,7 @@ def begin_cancel_next_occurrence( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_cancel_next_occurrence( self, @@ -8027,7 +8146,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _trigger_manual_occurrence_initial( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -8105,7 +8224,7 @@ def _trigger_manual_occurrence_initial( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_trigger_manual_occurrence( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -8172,7 +8291,7 @@ def get_long_running_output(pipeline_response): ) -class ScheduledActionExtensionOperations: +class ScheduledActionExtensionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -8195,7 +8314,7 @@ def __init__(self, *args, **kwargs) -> None: @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "resource_uri", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_vms(self, resource_uri: str, **kwargs: Any) -> ItemPaged["_models.ScheduledActionResources"]: """List ScheduledActionResources resources by parent. @@ -8294,7 +8413,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class ScheduledActionOperationStatusOperations: +class ScheduledActionOperationStatusOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -8319,7 +8438,7 @@ def __init__(self, *args, **kwargs) -> None: params_added_on={ "2026-07-06-preview": ["api_version", "subscription_id", "location", "operation_id", "accept"] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get(self, location: str, operation_id: str, **kwargs: Any) -> _models.OperationStatusResult: """Get the status of a ScheduledActions asynchronous operation. Both the ``Azure-AsyncOperation`` @@ -8391,7 +8510,7 @@ def get(self, location: str, operation_id: str, **kwargs: Any) -> _models.Operat return deserialized # type: ignore -class OccurrencesOperations: +class OccurrencesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -8423,7 +8542,7 @@ def __init__(self, *args, **kwargs) -> None: "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def get( self, resource_group_name: str, scheduled_action_name: str, occurrence_id: str, **kwargs: Any @@ -8511,7 +8630,7 @@ def get( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_by_scheduled_action( self, resource_group_name: str, scheduled_action_name: str, **kwargs: Any @@ -8627,7 +8746,7 @@ def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_resources( self, resource_group_name: str, scheduled_action_name: str, occurrence_id: str, **kwargs: Any @@ -8746,7 +8865,7 @@ def get_next(next_link=None): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _cancel_initial( self, @@ -8938,7 +9057,7 @@ def begin_cancel( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_cancel( self, @@ -9033,7 +9152,7 @@ def get_long_running_output(pipeline_response): "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def _delay_initial( self, @@ -9225,7 +9344,7 @@ def begin_delay( "accept", ] }, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def begin_delay( self, @@ -9308,7 +9427,7 @@ def get_long_running_output(pipeline_response): ) -class OccurrenceExtensionOperations: +class OccurrenceExtensionOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -9331,7 +9450,7 @@ def __init__(self, *args, **kwargs) -> None: @api_version_validation( method_added_on="2026-07-06-preview", params_added_on={"2026-07-06-preview": ["api_version", "resource_uri", "accept"]}, - api_versions_list=["2026-07-06-preview"], + api_versions_list=["2026-07-06-preview", "2026-08-06-preview"], ) def list_occurrence_by_vms( self, resource_uri: str, **kwargs: Any diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_patch.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_patch.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/types.py b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/types.py index d7cf340663ae..e7593cd35c78 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/types.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/azure/mgmt/compute/bulkaction/types.py @@ -50,19 +50,21 @@ OperatingSystemTypes, OptimizationPreference, OsType, + PartialFulfillmentMode, + PartialFulfillmentReason, PriorityType, ProtocolTypes, ProvisioningState, PublicIPAddressSkuName, PublicIPAddressSkuTier, PublicIPAllocationMethod, - RecurringScheduledActionsDeadlineType, - RecurringScheduledActionsProvisioningState, - RecurringScheduledActionsResourceOperationType, ResourceIdentityType, ResourceOperationType, ResourceType, ScheduledActionType, + ScheduledActionsDeadlineType, + ScheduledActionsProvisioningState, + ScheduledActionsResourceOperationType, SecurityEncryptionTypes, SecurityTypes, SettingNames, @@ -79,8 +81,8 @@ class AcknowledgeBulkOperationErrorsRequest(TypedDict, total=False): """The request to acknowledge bulk operation errors. - :ivar operation_ids: The set of operation ids to acknowledge. Required. - :vartype operation_ids: list[str] + :ivar operationIds: The set of operation ids to acknowledge. Required. + :vartype operationIds: list[str] """ operationIds: Required[list[str]] @@ -90,13 +92,13 @@ class AcknowledgeBulkOperationErrorsRequest(TypedDict, total=False): class AdditionalCapabilities(TypedDict, total=False): """Enables or disables a capability on the virtual machine or virtual machine scale set. - :ivar ultra_ssd_enabled: The flag that enables or disables a capability to have one or more + :ivar ultraSSDEnabled: The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. - :vartype ultra_ssd_enabled: bool - :ivar hibernation_enabled: The flag that enables or disables hibernation capability on the VM. - :vartype hibernation_enabled: bool + :vartype ultraSSDEnabled: bool + :ivar hibernationEnabled: The flag that enables or disables hibernation capability on the VM. + :vartype hibernationEnabled: bool """ ultraSSDEnabled: bool @@ -113,16 +115,16 @@ class AdditionalUnattendContent(TypedDict, total=False): which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. - :ivar pass_name: The pass name. Currently, the only allowable value is OobeSystem. Default - value is "OobeSystem". - :vartype pass_name: Literal["OobeSystem"] - :ivar component_name: The component name. Currently, the only allowable value is + :ivar passName: The pass name. Currently, the only allowable value is OobeSystem. Default value + is "OobeSystem". + :vartype passName: Literal["OobeSystem"] + :ivar componentName: The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Default value is "Microsoft-Windows-Shell-Setup". - :vartype component_name: Literal["Microsoft-Windows-Shell-Setup"] - :ivar setting_name: Specifies the name of the setting to which the content applies. Possible + :vartype componentName: Literal["Microsoft-Windows-Shell-Setup"] + :ivar settingName: Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Known values are: "AutoLogon" and "FirstLogonCommands". - :vartype setting_name: Union[str, "SettingNames"] + :vartype settingName: Union[str, "SettingNames"] :ivar content: Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. @@ -147,9 +149,9 @@ class AdditionalUnattendContent(TypedDict, total=False): class AllInstancesDown(TypedDict, total=False): """Specifies if Scheduled Events should be auto-approved when all instances are down. - :ivar all_instances_down_automatically_approve: Specifies if Scheduled Events should be - auto-approved when all instances are down. Its default value is true. - :vartype all_instances_down_automatically_approve: bool + :ivar automaticallyApprove: Specifies if Scheduled Events should be auto-approved when all + instances are down. Its default value is true. + :vartype automaticallyApprove: bool """ automaticallyApprove: bool @@ -173,9 +175,9 @@ class ApiEntityReference(TypedDict, total=False): class ApplicationProfile(TypedDict, total=False): """Contains the list of gallery applications that should be made available to the VM. - :ivar gallery_applications: Specifies the gallery applications that should be made available to + :ivar galleryApplications: Specifies the gallery applications that should be made available to the VM. - :vartype gallery_applications: list["VMGalleryApplication"] + :vartype galleryApplications: list["VMGalleryApplication"] """ galleryApplications: list["VMGalleryApplication"] @@ -189,10 +191,10 @@ class BootDiagnostics(TypedDict, total=False): :ivar enabled: Whether boot diagnostics should be enabled on the Virtual Machine. :vartype enabled: bool - :ivar storage_uri: Uri of the storage account to use for placing the console output and + :ivar storageUri: Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used. - :vartype storage_uri: str + :vartype storageUri: str """ enabled: bool @@ -220,37 +222,37 @@ class BulkactionVMExtension(TypedDict, total=False): class BulkActionVmExtensionProperties(TypedDict, total=False): """Describes the properties of a Virtual Machine Extension. - :ivar force_update_tag: How the extension handler should be forced to update even if the + :ivar forceUpdateTag: How the extension handler should be forced to update even if the extension configuration has not changed. - :vartype force_update_tag: str + :vartype forceUpdateTag: str :ivar publisher: The name of the extension handler publisher. :vartype publisher: str :ivar type: Specifies the type of the extension; an example is 'CustomScriptExtension'. :vartype type: str - :ivar type_handler_version: Specifies the version of the script handler. - :vartype type_handler_version: str - :ivar auto_upgrade_minor_version: Indicates whether the extension should use a newer minor - version if one is available at deployment time. Once deployed, however, the extension will not - upgrade minor versions unless redeployed, even with this property set to true. - :vartype auto_upgrade_minor_version: bool - :ivar enable_automatic_upgrade: Indicates whether the extension should be automatically - upgraded by the platform if there is a newer version of the extension available. - :vartype enable_automatic_upgrade: bool + :ivar typeHandlerVersion: Specifies the version of the script handler. + :vartype typeHandlerVersion: str + :ivar autoUpgradeMinorVersion: Indicates whether the extension should use a newer minor version + if one is available at deployment time. Once deployed, however, the extension will not upgrade + minor versions unless redeployed, even with this property set to true. + :vartype autoUpgradeMinorVersion: bool + :ivar enableAutomaticUpgrade: Indicates whether the extension should be automatically upgraded + by the platform if there is a newer version of the extension available. + :vartype enableAutomaticUpgrade: bool :ivar settings: JSON formatted public settings for the extension. :vartype settings: dict[str, Any] - :ivar protected_settings: The extension can contain either protectedSettings or + :ivar protectedSettings: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. - :vartype protected_settings: dict[str, Any] - :ivar suppress_failures: Indicates whether failures stemming from the extension will be + :vartype protectedSettings: dict[str, Any] + :ivar suppressFailures: Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - :vartype suppress_failures: bool - :ivar protected_settings_from_key_vault: The extensions protected settings that are passed by + :vartype suppressFailures: bool + :ivar protectedSettingsFromKeyVault: The extensions protected settings that are passed by reference, and consumed from key vault. - :vartype protected_settings_from_key_vault: "KeyVaultSecretReference" - :ivar provision_after_extensions: Collection of extension names after which this extension - needs to be provisioned. - :vartype provision_after_extensions: list[str] + :vartype protectedSettingsFromKeyVault: "KeyVaultSecretReference" + :ivar provisionAfterExtensions: Collection of extension names after which this extension needs + to be provisioned. + :vartype provisionAfterExtensions: list[str] """ forceUpdateTag: str @@ -287,29 +289,28 @@ class BulkActionVmExtensionProperties(TypedDict, total=False): class BulkactionVMProperties(TypedDict, total=False): """Describes the properties of a Virtual Machine for bulk create. - :ivar scheduled_events_policy: Specifies Redeploy, Reboot and + :ivar scheduledEventsPolicy: Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine. - :vartype scheduled_events_policy: "ScheduledEventsPolicy" - :ivar storage_profile: Specifies the storage settings for the virtual machine disks. - :vartype storage_profile: "StorageProfile" - :ivar hardware_profile: Specifies the hardware profile for the virtual machine. - :vartype hardware_profile: "HardwareProfile" - :ivar additional_capabilities: Specifies additional capabilities enabled or disabled on the + :vartype scheduledEventsPolicy: "ScheduledEventsPolicy" + :ivar storageProfile: Specifies the storage settings for the virtual machine disks. + :vartype storageProfile: "StorageProfile" + :ivar hardwareProfile: Specifies the hardware profile for the virtual machine. + :vartype hardwareProfile: "HardwareProfile" + :ivar additionalCapabilities: Specifies additional capabilities enabled or disabled on the virtual machine. - :vartype additional_capabilities: "AdditionalCapabilities" - :ivar os_profile: Specifies the operating system settings used while creating the virtual + :vartype additionalCapabilities: "AdditionalCapabilities" + :ivar osProfile: Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. - :vartype os_profile: "OSProfile" - :ivar network_profile: Specifies the network interfaces of the virtual machine. - :vartype network_profile: "NetworkProfile" - :ivar security_profile: Specifies the Security related profile settings for the virtual - machine. - :vartype security_profile: "SecurityProfile" - :ivar diagnostics_profile: Specifies the boot diagnostic settings state. Minimum compute + :vartype osProfile: "OSProfile" + :ivar networkProfile: Specifies the network interfaces of the virtual machine. + :vartype networkProfile: "NetworkProfile" + :ivar securityProfile: Specifies the Security related profile settings for the virtual machine. + :vartype securityProfile: "SecurityProfile" + :ivar diagnosticsProfile: Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. - :vartype diagnostics_profile: "DiagnosticsProfile" - :ivar license_type: Specifies that the image or disk that is being used was licensed + :vartype diagnosticsProfile: "DiagnosticsProfile" + :ivar licenseType: Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more @@ -318,25 +319,25 @@ class BulkactionVMProperties(TypedDict, total=False):

`Azure Hybrid Use Benefit for Linux Server `_

Minimum api-version: 2015-06-15. - :vartype license_type: str - :ivar extensions_time_budget: Specifies the time alloted for all extensions to start. The time + :vartype licenseType: str + :ivar extensionsTimeBudget: Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum compute api-version: 2020-06-01. - :vartype extensions_time_budget: str - :ivar scheduled_events_profile: Specifies Scheduled Event related configurations. - :vartype scheduled_events_profile: "ScheduledEventsProfile" - :ivar user_data: UserData for the VM, which must be base-64 encoded. Customer should not pass + :vartype extensionsTimeBudget: str + :ivar scheduledEventsProfile: Specifies Scheduled Event related configurations. + :vartype scheduledEventsProfile: "ScheduledEventsProfile" + :ivar userData: UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum compute api-version: 2021-03-01. - :vartype user_data: str - :ivar capacity_reservation: Specifies information about the capacity reservation that is used - to allocate virtual machine. Minimum compute api-version: 2021-04-01. - :vartype capacity_reservation: "CapacityReservationProfile" - :ivar application_profile: Specifies the gallery applications that should be made available to + :vartype userData: str + :ivar capacityReservation: Specifies information about the capacity reservation that is used to + allocate virtual machine. Minimum compute api-version: 2021-04-01. + :vartype capacityReservation: "CapacityReservationProfile" + :ivar applicationProfile: Specifies the gallery applications that should be made available to the VM. - :vartype application_profile: "ApplicationProfile" - :ivar vm_extensions: Virtual Machine Extensions Array to be applied to the Virtual Machines. - :vartype vm_extensions: list["BulkactionVMExtension"] + :vartype applicationProfile: "ApplicationProfile" + :ivar vmExtensions: Virtual Machine Extensions Array to be applied to the Virtual Machines. + :vartype vmExtensions: list["BulkactionVMExtension"] """ scheduledEventsPolicy: "ScheduledEventsPolicy" @@ -388,12 +389,12 @@ class BulkactionVMProperties(TypedDict, total=False): class BulkCreateCustomOverride(TypedDict, total=False): """A single per-VM override. Extends the shared override fields with a per-VM name. - :ivar virtual_machine_name: ARM VM name for this VM. Optional; when omitted the name is - generated from the prefix as {prefix}_{index}. - :vartype virtual_machine_name: str - :ivar virtual_machine_profile: VM profile, the same shape as operation-level + :ivar virtualMachineName: ARM VM name for this VM. Optional; when omitted the name is generated + from the prefix as {prefix}_{index}. + :vartype virtualMachineName: str + :ivar virtualMachineProfile: VM profile, the same shape as operation-level ComputeProfile.virtualMachineProfile. Overrides the operation-level VM profile. - :vartype virtual_machine_profile: "BulkactionVMProperties" + :vartype virtualMachineProfile: "BulkactionVMProperties" :ivar tags: Tags overriding the operation-level tags. :vartype tags: dict[str, str] :ivar identity: Identity overriding the operation-level identity. @@ -427,9 +428,9 @@ class BulkCreateCustomOverrideBase(TypedDict, total=False): over the operation-level value. VM size, zone, priority, eviction policy, and billing are owned by the service and cannot be set here. - :ivar virtual_machine_profile: VM profile, the same shape as operation-level + :ivar virtualMachineProfile: VM profile, the same shape as operation-level ComputeProfile.virtualMachineProfile. Overrides the operation-level VM profile. - :vartype virtual_machine_profile: "BulkactionVMProperties" + :vartype virtualMachineProfile: "BulkactionVMProperties" :ivar tags: Tags overriding the operation-level tags. :vartype tags: dict[str, str] :ivar identity: Identity overriding the operation-level identity. @@ -459,10 +460,10 @@ class BulkCreateCustomOverridesProfile(TypedDict, total=False): """Groups the per-VM overrides with the name prefix that names any override that does not supply its own VM name. - :ivar virtual_machine_name_prefix: Prefix used to build the ARM VM name ({prefix}_{index}) for + :ivar virtualMachineNamePrefix: Prefix used to build the ARM VM name ({prefix}_{index}) for overrides that omit a virtualMachineName. Required when any override is unnamed and rejected when every override is named. - :vartype virtual_machine_name_prefix: str + :vartype virtualMachineNamePrefix: str :ivar overrides: Per-VM overrides. The count is the VM count and must equal capacity. Each override maps to VM index i. :vartype overrides: list["BulkCreateCustomOverride"] @@ -482,14 +483,14 @@ class BulkCreateCustomPriorityProfile(TypedDict, total=False): :ivar type: The priority type for VM allocation. Known values are: "Regular" and "Spot". :vartype type: Union[str, "PriorityType"] - :ivar max_price_per_vm: Price per hour of each Spot VM will never exceed this. - :vartype max_price_per_vm: float - :ivar eviction_policy: Eviction Policy to follow when evicting Spot VMs. Known values are: + :ivar maxPricePerVM: Price per hour of each Spot VM will never exceed this. + :vartype maxPricePerVM: float + :ivar evictionPolicy: Eviction Policy to follow when evicting Spot VMs. Known values are: "Delete" and "Deallocate". - :vartype eviction_policy: Union[str, "EvictionPolicy"] - :ivar allocation_strategy: The allocation strategy for VM size selection. Known values are: + :vartype evictionPolicy: Union[str, "EvictionPolicy"] + :ivar allocationStrategy: The allocation strategy for VM size selection. Known values are: "LowestPrice" and "Prioritized". - :vartype allocation_strategy: Union[str, "BulkCreateCustomAllocationStrategy"] + :vartype allocationStrategy: Union[str, "BulkCreateCustomAllocationStrategy"] """ type: Union[str, "PriorityType"] @@ -507,31 +508,45 @@ class BulkCreateCustomPriorityProfile(TypedDict, total=False): class BulkCreateCustomProperties(TypedDict, total=False): """Details of the BulkCreateCustom. - :ivar created_time: The UTC time the BulkCreateCustom resource was created. - :vartype created_time: str - :ivar provisioning_state: The status of the last operation. Known values are: "Creating", + :ivar createdTime: The UTC time the BulkCreateCustom resource was created. + :vartype createdTime: str + :ivar provisioningState: The status of the last operation. Known values are: "Creating", "Succeeded", "Failed", "Deleting", and "Canceled". - :vartype provisioning_state: Union[str, "ProvisioningState"] + :vartype provisioningState: Union[str, "ProvisioningState"] :ivar capacity: Total capacity to achieve. It can be in terms of VMs or vCPUs. Required. :vartype capacity: int - :ivar capacity_type: Specifies capacity type for launching instances. It can be in terms of VMs + :ivar capacityType: Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs. Known values are: "VM" and "VCpu". - :vartype capacity_type: Union[str, "CapacityType"] - :ivar priority_profile: Configuration Options for Regular or Spot instances in - BulkCreateCustom. Required. - :vartype priority_profile: "BulkCreateCustomPriorityProfile" - :ivar vm_sizes_profile: List of VM sizes supported for BulkCreateCustom. - :vartype vm_sizes_profile: list["BulkCreateCustomVmSizeProfile"] - :ivar compute_profile: Compute Profile to configure the Virtual Machines. Required. - :vartype compute_profile: "ComputeProfile" - :ivar zone_allocation_policy: Zone Allocation Policy for launching instances. - :vartype zone_allocation_policy: "BulkCreateCustomZoneAllocationPolicy" - :ivar overrides_profile: Per-VM overrides and the shared name prefix, specified when the + :vartype capacityType: Union[str, "CapacityType"] + :ivar minCapacity: The minimum capacity, expressed in units specified by capacityType, that + Azure must be able to allocate for the request to proceed. If Azure cannot allocate at least + this capacity with high confidence, the request is rejected with 409 Conflict + (InsufficientCapacity) and no VMs are created. Otherwise, Azure allocates as much capacity as + possible, up to the requested capacity. Must be greater than 0, less than capacity, and + requires partialFulfillmentPolicy.mode to be Enabled. + :vartype minCapacity: int + :ivar partialFulfillmentPolicy: Controls how partial fulfillment is handled for a + BulkCreateCustom request. When enabled, Azure creates only the VMs or vCPUs it has high + confidence can be successfully allocated, instead of attempting the entire request and + potentially returning allocation failures. + :vartype partialFulfillmentPolicy: "PartialFulfillmentPolicy" + :ivar resources: The virtual machine resources resolved for the operation. + :vartype resources: list["BulkCreateCustomResource"] + :ivar priorityProfile: Configuration Options for Regular or Spot instances in BulkCreateCustom. + Required. + :vartype priorityProfile: "BulkCreateCustomPriorityProfile" + :ivar vmSizesProfile: List of VM sizes supported for BulkCreateCustom. + :vartype vmSizesProfile: list["BulkCreateCustomVmSizeProfile"] + :ivar computeProfile: Compute Profile to configure the Virtual Machines. Required. + :vartype computeProfile: "ComputeProfile" + :ivar zoneAllocationPolicy: Zone Allocation Policy for launching instances. + :vartype zoneAllocationPolicy: "BulkCreateCustomZoneAllocationPolicy" + :ivar overridesProfile: Per-VM overrides and the shared name prefix, specified when the operation is created. - :vartype overrides_profile: "BulkCreateCustomOverridesProfile" - :ivar execution_parameters: Extra parameters that control how the request is executed, - including the retry policy. - :vartype execution_parameters: "ExecutionParameters" + :vartype overridesProfile: "BulkCreateCustomOverridesProfile" + :ivar executionParameters: Extra parameters that control how the request is executed, including + the retry policy. + :vartype executionParameters: "ExecutionParameters" """ createdTime: str @@ -544,6 +559,19 @@ class BulkCreateCustomProperties(TypedDict, total=False): capacityType: Union[str, "CapacityType"] """Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs. Known values are: \"VM\" and \"VCpu\".""" + minCapacity: int + """The minimum capacity, expressed in units specified by capacityType, that Azure must be able to + allocate for the request to proceed. If Azure cannot allocate at least this capacity with high + confidence, the request is rejected with 409 Conflict (InsufficientCapacity) and no VMs are + created. Otherwise, Azure allocates as much capacity as possible, up to the requested capacity. + Must be greater than 0, less than capacity, and requires partialFulfillmentPolicy.mode to be + Enabled.""" + partialFulfillmentPolicy: "PartialFulfillmentPolicy" + """Controls how partial fulfillment is handled for a BulkCreateCustom request. When enabled, Azure + creates only the VMs or vCPUs it has high confidence can be successfully allocated, instead of + attempting the entire request and potentially returning allocation failures.""" + resources: list["BulkCreateCustomResource"] + """The virtual machine resources resolved for the operation.""" priorityProfile: Required["BulkCreateCustomPriorityProfile"] """Configuration Options for Regular or Spot instances in BulkCreateCustom. Required.""" vmSizesProfile: list["BulkCreateCustomVmSizeProfile"] @@ -558,6 +586,37 @@ class BulkCreateCustomProperties(TypedDict, total=False): """Extra parameters that control how the request is executed, including the retry policy.""" +class BulkCreateCustomResource(TypedDict, total=False): + """A virtual machine resource resolved for a BulkCreateCustom operation. + + :ivar virtualMachineInfo: Information about the resolved virtual machine. + :vartype virtualMachineInfo: "BulkCreateCustomVirtualMachineInfo" + """ + + virtualMachineInfo: "BulkCreateCustomVirtualMachineInfo" + """Information about the resolved virtual machine.""" + + +class BulkCreateCustomVirtualMachineInfo(TypedDict, total=False): + """Information about a virtual machine resolved for a BulkCreateCustom operation. + + :ivar name: The resolved Azure virtual machine name. + :vartype name: str + :ivar vmSize: The virtual machine size selected for the virtual machine. + :vartype vmSize: str + :ivar zone: The subscription-relative logical availability zone selected for the virtual + machine. + :vartype zone: str + """ + + name: str + """The resolved Azure virtual machine name.""" + vmSize: str + """The virtual machine size selected for the virtual machine.""" + zone: str + """The subscription-relative logical availability zone selected for the virtual machine.""" + + class BulkCreateCustomVmSizeProfile(TypedDict, total=False): """A VM size profile entry that may additionally carry an optional per-VM-size profile override. Every VM that the service assigns to this size inherits the override, layered on top of the @@ -589,12 +648,12 @@ class BulkCreateCustomVmSizeProfile(TypedDict, total=False): class BulkCreateCustomZoneAllocationPolicy(TypedDict, total=False): """The zone allocation policy for distributing VMs across availability zones in BulkCreateCustom. - :ivar distribution_strategy: The distribution strategy for zone allocation. Defaults to + :ivar distributionStrategy: The distribution strategy for zone allocation. Defaults to BestEffortBalanced. Known values are: "BestEffortSingleZone", "Prioritized", and "BestEffortBalanced". - :vartype distribution_strategy: Union[str, "BulkCreateCustomDistributionStrategy"] - :ivar zone_preferences: The zone preferences for allocation priority. - :vartype zone_preferences: list["ZonePreference"] + :vartype distributionStrategy: Union[str, "BulkCreateCustomDistributionStrategy"] + :ivar zonePreferences: The zone preferences for allocation priority. + :vartype zonePreferences: list["ZonePreference"] """ distributionStrategy: Union[str, "BulkCreateCustomDistributionStrategy"] @@ -607,9 +666,9 @@ class BulkCreateCustomZoneAllocationPolicy(TypedDict, total=False): class CancelOccurrenceRequest(TypedDict, total=False): """The request to cancel an occurrence. - :ivar resource_ids: The resources the cancellation should act on. If no resource is passed in + :ivar resourceIds: The resources the cancellation should act on. If no resource is passed in the list, Scheduled Action will cancel the occurrence for all resources. Required. - :vartype resource_ids: list[str] + :vartype resourceIds: list[str] """ resourceIds: Required[list[str]] @@ -620,22 +679,46 @@ class CancelOccurrenceRequest(TypedDict, total=False): class CancelOperationsContent(TypedDict, total=False): """This is the request to cancel running operations in scheduled actions using the operation ids. - :ivar operation_ids: The list of operation ids to cancel operations on. Required. - :vartype operation_ids: list[str] + :ivar operationIds: The list of operation ids to cancel operations on. Required. + :vartype operationIds: list[str] """ operationIds: Required[list[str]] """The list of operation ids to cancel operations on. Required.""" +class CapacityRecommendationParameters(TypedDict, total=False): + """The parameters used to request capacity/placement recommendations for a start operation. + Placement recommendations are only computed if the VM fails to start due to an allocation + failure. + + :ivar desiredLocations: The list of desired Azure regions to be considered for the capacity + recommendation. + :vartype desiredLocations: list[str] + :ivar desiredSizes: The list of desired VM sizes (SKUs) to be considered for the capacity + recommendation. + :vartype desiredSizes: list[str] + :ivar availabilityZones: Whether the capacity recommendation should be computed per + availability zone. + :vartype availabilityZones: bool + """ + + desiredLocations: list[str] + """The list of desired Azure regions to be considered for the capacity recommendation.""" + desiredSizes: list[str] + """The list of desired VM sizes (SKUs) to be considered for the capacity recommendation.""" + availabilityZones: bool + """Whether the capacity recommendation should be computed per availability zone.""" + + class CapacityReservationProfile(TypedDict, total=False): """The parameters of a capacity reservation Profile. - :ivar capacity_reservation_group: Specifies the capacity reservation group resource id that + :ivar capacityReservationGroup: Specifies the capacity reservation group resource id that should be used for allocating the virtual machine provided enough capacity has been reserved. Please refer to `https://aka.ms/CapacityReservation `_ for more details. - :vartype capacity_reservation_group: "SubResource" + :vartype capacityReservationGroup: "SubResource" """ capacityReservationGroup: "SubResource" @@ -647,18 +730,18 @@ class CapacityReservationProfile(TypedDict, total=False): class ComputeProfile(TypedDict, total=False): """Compute Profile to configure the Virtual Machines. - :ivar virtual_machine_profile: Base Virtual Machine Profile Properties to be specified - according to + :ivar virtualMachineProfile: Base Virtual Machine Profile Properties to be specified according + to specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineProperties. Required. - :vartype virtual_machine_profile: "BulkactionVMProperties" + :vartype virtualMachineProfile: "BulkactionVMProperties" :ivar extensions: Virtual Machine Extensions Array to be specified according to specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineExtension. :vartype extensions: list["BulkactionVMExtension"] - :ivar compute_api_version: Specifies the Microsoft.Compute API version to use when creating + :ivar computeApiVersion: Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machines. The default value will be the latest supported computeApiVersion by LaunchBulkInstancesOperation. - :vartype compute_api_version: str + :vartype computeApiVersion: str """ virtualMachineProfile: Required["BulkactionVMProperties"] @@ -693,34 +776,34 @@ class DataDisk(TypedDict, total=False): ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage. Known values are: "None", "ReadOnly", and "ReadWrite". :vartype caching: Union[str, "CachingTypes"] - :ivar write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or - disabled on the disk. - :vartype write_accelerator_enabled: bool - :ivar create_option: Specifies how the virtual machine disk should be created. Possible values + :ivar writeAcceleratorEnabled: Specifies whether writeAccelerator should be enabled or disabled + on the disk. + :vartype writeAcceleratorEnabled: bool + :ivar createOption: Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage, Empty, Copy, Restore. Required. Known values are: "FromImage", "Empty", "Attach", "Copy", and "Restore". - :vartype create_option: Union[str, "DiskCreateOptionTypes"] - :ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be + :vartype createOption: Union[str, "DiskCreateOptionTypes"] + :ivar diskSizeGB: Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. - :vartype disk_size_gb: int - :ivar managed_disk: The managed disk parameters. - :vartype managed_disk: "ManagedDiskParametersContent" - :ivar source_resource: The source resource identifier. It can be a snapshot, or disk restore + :vartype diskSizeGB: int + :ivar managedDisk: The managed disk parameters. + :vartype managedDisk: "ManagedDiskParametersContent" + :ivar sourceResource: The source resource identifier. It can be a snapshot, or disk restore point from which to create a disk. - :vartype source_resource: "ApiEntityReference" - :ivar to_be_detached: Specifies whether the data disk is in process of detachment from the + :vartype sourceResource: "ApiEntityReference" + :ivar toBeDetached: Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset. - :vartype to_be_detached: bool - :ivar detach_option: Specifies the detach behavior to be used while detaching a disk or which - is already in the process of detachment from the virtual machine. Supported values: - ForceDetach. This feature is still in preview. To force-detach a data disk update toBeDetached - to 'true' along with setting detachOption: 'ForceDetach'. "ForceDetach" - :vartype detach_option: Union[str, "DiskDetachOptionTypes"] - :ivar delete_option: Specifies whether data disk should be deleted or detached upon VM - deletion. Possible values are: Delete, Detach. The default value is set to Detach. Known values - are: "Delete" and "Detach". - :vartype delete_option: Union[str, "DiskDeleteOptionTypes"] + :vartype toBeDetached: bool + :ivar detachOption: Specifies the detach behavior to be used while detaching a disk or which is + already in the process of detachment from the virtual machine. Supported values: ForceDetach. + This feature is still in preview. To force-detach a data disk update toBeDetached to 'true' + along with setting detachOption: 'ForceDetach'. "ForceDetach" + :vartype detachOption: Union[str, "DiskDetachOptionTypes"] + :ivar deleteOption: Specifies whether data disk should be deleted or detached upon VM deletion. + Possible values are: Delete, Detach. The default value is set to Detach. Known values are: + "Delete" and "Detach". + :vartype deleteOption: Union[str, "DiskDeleteOptionTypes"] """ lun: Required[int] @@ -773,9 +856,9 @@ class DelayRequest(TypedDict, total=False): :ivar delay: The exact time to delay the operations to. Required. :vartype delay: str - :ivar resource_ids: The resources that should be delayed. If empty, the delay will apply to the + :ivar resourceIds: The resources that should be delayed. If empty, the delay will apply to the all resources in the occurrence. Required. - :vartype resource_ids: list[str] + :vartype resourceIds: list[str] """ delay: Required[str] @@ -788,12 +871,12 @@ class DelayRequest(TypedDict, total=False): class DiagnosticsProfile(TypedDict, total=False): """Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. - :ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view - Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified - then ensure that the storage account is in the same region and subscription as the VM. You can + :ivar bootDiagnostics: Boot Diagnostics is a debugging feature which allows you to view Console + Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then + ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. - :vartype boot_diagnostics: "BootDiagnostics" + :vartype bootDiagnostics: "BootDiagnostics" """ bootDiagnostics: "BootDiagnostics" @@ -850,11 +933,11 @@ class DiskEncryptionSetParametersContent(SubResource): class DiskEncryptionSettings(TypedDict, total=False): """Describes a Encryption Settings for a Disk. - :ivar disk_encryption_key: Specifies the location of the disk encryption key, which is a Key + :ivar diskEncryptionKey: Specifies the location of the disk encryption key, which is a Key Vault Secret. - :vartype disk_encryption_key: "KeyVaultSecretReference" - :ivar key_encryption_key: Specifies the location of the key encryption key in Key Vault. - :vartype key_encryption_key: "KeyVaultKeyReference" + :vartype diskEncryptionKey: "KeyVaultSecretReference" + :ivar keyEncryptionKey: Specifies the location of the key encryption key in Key Vault. + :vartype keyEncryptionKey: "KeyVaultKeyReference" :ivar enabled: Specifies whether disk encryption should be enabled on the virtual machine. :vartype enabled: bool """ @@ -870,9 +953,9 @@ class DiskEncryptionSettings(TypedDict, total=False): class EncryptionIdentity(TypedDict, total=False): """Specifies the Managed Identity used by ADE to get access token for keyvault operations. - :ivar user_assigned_identity_resource_id: Specifies ARM Resource ID of one of the user - identities associated with the VM. - :vartype user_assigned_identity_resource_id: str + :ivar userAssignedIdentityResourceId: Specifies ARM Resource ID of one of the user identities + associated with the VM. + :vartype userAssignedIdentityResourceId: str """ userAssignedIdentityResourceId: str @@ -885,9 +968,9 @@ class EventGridAndResourceGraph(TypedDict, total=False): :ivar enable: Specifies if event grid and resource graph is enabled for Scheduled event related configurations. :vartype enable: bool - :ivar scheduled_events_api_version: Specifies the api-version to determine which Scheduled - Events configuration schema version will be delivered. - :vartype scheduled_events_api_version: str + :ivar scheduledEventsApiVersion: Specifies the api-version to determine which Scheduled Events + configuration schema version will be delivered. + :vartype scheduledEventsApiVersion: str """ enable: bool @@ -901,10 +984,10 @@ class EventGridAndResourceGraph(TypedDict, total=False): class ExecuteCreateContent(TypedDict, total=False): """The ExecuteCreateRequest request for create operations. - :ivar resource_config_parameters: resource creation payload. Required. - :vartype resource_config_parameters: "ResourceProvisionPayload" - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar resourceConfigParameters: resource creation payload. Required. + :vartype resourceConfigParameters: "ResourceProvisionPayload" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" """ resourceConfigParameters: Required["ResourceProvisionPayload"] @@ -916,13 +999,13 @@ class ExecuteCreateContent(TypedDict, total=False): class ExecuteDeallocateContent(TypedDict, total=False): """The ExecuteDeallocateRequest request for executeDeallocate operations. - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" :ivar resources: The resources for the request. :vartype resources: "Resources" - :ivar resources_with_context: The resources for the request with resource context information. + :ivar resourcesWithContext: The resources for the request with resource context information. Cannot be provided together with ``resources`` - exactly one must be specified. - :vartype resources_with_context: "ResourcesWithContext" + :vartype resourcesWithContext: "ResourcesWithContext" """ executionParameters: Required["ExecutionParameters"] @@ -937,15 +1020,15 @@ class ExecuteDeallocateContent(TypedDict, total=False): class ExecuteDeleteContent(TypedDict, total=False): """The ExecuteDeleteRequest for delete VM operation. - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" :ivar resources: The resources for the request. :vartype resources: "Resources" - :ivar resources_with_context: The resources for the request with resource context information. + :ivar resourcesWithContext: The resources for the request with resource context information. Cannot be provided together with ``resources`` - exactly one must be specified. - :vartype resources_with_context: "ResourcesWithContext" - :ivar force_deletion: Forced delete resource item. - :vartype force_deletion: bool + :vartype resourcesWithContext: "ResourcesWithContext" + :ivar forceDeletion: Forced delete resource item. + :vartype forceDeletion: bool """ executionParameters: Required["ExecutionParameters"] @@ -962,13 +1045,13 @@ class ExecuteDeleteContent(TypedDict, total=False): class ExecuteHibernateContent(TypedDict, total=False): """The ExecuteHibernateRequest request for executeHibernate operations. - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" :ivar resources: The resources for the request. :vartype resources: "Resources" - :ivar resources_with_context: The resources for the request with resource context information. + :ivar resourcesWithContext: The resources for the request with resource context information. Cannot be provided together with ``resources`` - exactly one must be specified. - :vartype resources_with_context: "ResourcesWithContext" + :vartype resourcesWithContext: "ResourcesWithContext" """ executionParameters: Required["ExecutionParameters"] @@ -983,15 +1066,15 @@ class ExecuteHibernateContent(TypedDict, total=False): class ExecuteReimageRequest(TypedDict, total=False): """The ExecuteReimageRequest request for reimage operations. - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" :ivar resources: The resources for the request. :vartype resources: "Resources" - :ivar resources_with_context: The resources for the request with resource context information. + :ivar resourcesWithContext: The resources for the request with resource context information. Cannot be provided together with ``resources`` - exactly one must be specified. - :vartype resources_with_context: "ResourcesWithContext" - :ivar reimage_parameters: Reimage parameters including base profile and per-resource overrides. - :vartype reimage_parameters: "ReimagePayload" + :vartype resourcesWithContext: "ResourcesWithContext" + :ivar reimageParameters: Reimage parameters including base profile and per-resource overrides. + :vartype reimageParameters: "ReimagePayload" """ executionParameters: Required["ExecutionParameters"] @@ -1008,13 +1091,13 @@ class ExecuteReimageRequest(TypedDict, total=False): class ExecuteStartContent(TypedDict, total=False): """The ExecuteStartRequest request for executeStart operations. - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" :ivar resources: The resources for the request. :vartype resources: "Resources" - :ivar resources_with_context: The resources for the request with resource context information. + :ivar resourcesWithContext: The resources for the request with resource context information. Cannot be provided together with ``resources`` - exactly one must be specified. - :vartype resources_with_context: "ResourcesWithContext" + :vartype resourcesWithContext: "ResourcesWithContext" """ executionParameters: Required["ExecutionParameters"] @@ -1029,10 +1112,10 @@ class ExecuteStartContent(TypedDict, total=False): class ExecuteVdiCreateRequest(TypedDict, total=False): """The VdiCreateRequest request for create operations. - :ivar resource_config_parameters: resource creation payload. Required. - :vartype resource_config_parameters: "ResourceProvisionVdiPayload" - :ivar execution_parameters: The execution parameters for the request. Required. - :vartype execution_parameters: "ExecutionParameters" + :ivar resourceConfigParameters: resource creation payload. Required. + :vartype resourceConfigParameters: "ResourceProvisionVdiPayload" + :ivar executionParameters: The execution parameters for the request. Required. + :vartype executionParameters: "ExecutionParameters" """ resourceConfigParameters: Required["ResourceProvisionVdiPayload"] @@ -1044,15 +1127,20 @@ class ExecuteVdiCreateRequest(TypedDict, total=False): class ExecutionParameters(TypedDict, total=False): """Extra details needed to run the user's request. - :ivar optimization_preference: Details that could optimize the user's request. Known values - are: "Cost", "Availability", and "CostAvailabilityBalanced". - :vartype optimization_preference: Union[str, "OptimizationPreference"] - :ivar retry_policy: Retry policy the user can pass. - :vartype retry_policy: "RetryPolicy" - :ivar verify_vm_agent_health: When true on an executeStart request, run a post-Start VM agent + :ivar optimizationPreference: Details that could optimize the user's request. Known values are: + "Cost", "Availability", and "CostAvailabilityBalanced". + :vartype optimizationPreference: Union[str, "OptimizationPreference"] + :ivar retryPolicy: Retry policy the user can pass. + :vartype retryPolicy: "RetryPolicy" + :ivar verifyVmAgentHealth: When true on an executeStart request, run a post-Start VM agent health check and engage the fallback chain if the guest agent does not report Ready. Ignored for non-Start operations. - :vartype verify_vm_agent_health: bool + :vartype verifyVmAgentHealth: bool + :ivar capacityRecommendationParameters: 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. + :vartype capacityRecommendationParameters: "CapacityRecommendationParameters" """ optimizationPreference: Union[str, "OptimizationPreference"] @@ -1063,6 +1151,11 @@ class ExecutionParameters(TypedDict, total=False): verifyVmAgentHealth: bool """When true on an executeStart request, run a post-Start VM agent health check and engage the fallback chain if the guest agent does not report Ready. Ignored for non-Start operations.""" + capacityRecommendationParameters: "CapacityRecommendationParameters" + """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.""" class Resource(TypedDict, total=False): @@ -1076,9 +1169,9 @@ class Resource(TypedDict, total=False): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" """ id: str @@ -1096,20 +1189,20 @@ class Resource(TypedDict, total=False): class FlexProperties(TypedDict, total=False): """The flex properties for flexible VM creation. - :ivar vm_size_profiles: The list of VM size profiles to use for flex creation. Required. - :vartype vm_size_profiles: list["VmSizeProfile"] - :ivar os_type: The operating system type for the VMs. Required. Known values are: "Windows" and + :ivar vmSizeProfiles: The list of VM size profiles to use for flex creation. Required. + :vartype vmSizeProfiles: list["VmSizeProfile"] + :ivar osType: The operating system type for the VMs. Required. Known values are: "Windows" and "Linux". - :vartype os_type: Union[str, "OsType"] - :ivar priority_profile: The priority profile for VM allocation. Required. - :vartype priority_profile: "PriorityProfile" - :ivar zone_allocation_policy: The zone allocation policy for distributing VMs across - availability zones. - :vartype zone_allocation_policy: "ZoneAllocationPolicy" - :ivar min_capacity: The minimum number of VMs that must be successfully created for the request + :vartype osType: Union[str, "OsType"] + :ivar priorityProfile: The priority profile for VM allocation. Required. + :vartype priorityProfile: "PriorityProfile" + :ivar zoneAllocationPolicy: The zone allocation policy for distributing VMs across availability + zones. + :vartype zoneAllocationPolicy: "ZoneAllocationPolicy" + :ivar minCapacity: The minimum number of VMs that must be successfully created for the request to proceed. If fewer than this number can be allocated, the entire request is automatically rejected. - :vartype min_capacity: int + :vartype minCapacity: int """ vmSizeProfiles: Required[list["VmSizeProfile"]] @@ -1128,8 +1221,8 @@ class FlexProperties(TypedDict, total=False): class GetOperationStatusContent(TypedDict, total=False): """This is the request to get operation status using operationids. - :ivar operation_ids: The list of operation ids to get the status of. Required. - :vartype operation_ids: list[str] + :ivar operationIds: The list of operation ids to get the status of. Required. + :vartype operationIds: list[str] """ operationIds: Required[list[str]] @@ -1139,7 +1232,7 @@ class GetOperationStatusContent(TypedDict, total=False): class HardwareProfile(TypedDict, total=False): """Specifies the hardware profile for the virtual machine. - :ivar vm_size: Specifies the size of the virtual machine. The enum data type is currently + :ivar vmSize: Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: `List all available virtual machine sizes in an availability set @@ -1151,12 +1244,12 @@ class HardwareProfile(TypedDict, total=False): information about virtual machine sizes, see `Sizes for virtual machines `_. The available VM sizes depend on region and availability set. - :vartype vm_size: str - :ivar vm_size_properties: Specifies the properties for customizing the size of the virtual + :vartype vmSize: str + :ivar vmSizeProperties: Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. This feature is still in preview mode and is not supported for VirtualMachineScaleSet. Please follow the instructions in `VM Customization `_ for more details. - :vartype vm_size_properties: "VmSizeProperties" + :vartype vmSizeProperties: "VmSizeProperties" """ vmSize: str @@ -1187,10 +1280,10 @@ class HostEndpointSettings(TypedDict, total=False): access control and it is the recommended mode of operation. Known values are: "Audit", "Enforce", and "Disabled". :vartype mode: Union[str, "Modes"] - :ivar in_vm_access_control_profile_reference_id: Specifies the InVMAccessControlProfileVersion + :ivar inVMAccessControlProfileReferenceId: Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. - :vartype in_vm_access_control_profile_reference_id: str + :vartype inVMAccessControlProfileReferenceId: str """ mode: Union[str, "Modes"] @@ -1230,12 +1323,12 @@ class ImageReference(SubResource): '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. :vartype version: str - :ivar shared_gallery_image_id: Specified the shared gallery image unique id for vm deployment. + :ivar sharedGalleryImageId: Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. - :vartype shared_gallery_image_id: str - :ivar community_gallery_image_id: Specified the community gallery image unique id for vm + :vartype sharedGalleryImageId: str + :ivar communityGalleryImageId: Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. - :vartype community_gallery_image_id: str + :vartype communityGalleryImageId: str """ publisher: str @@ -1266,10 +1359,10 @@ class ImageReference(SubResource): class KeyVaultKeyReference(TypedDict, total=False): """Describes a reference to Key Vault Key. - :ivar key_url: The URL referencing a key encryption key in Key Vault. Required. - :vartype key_url: str - :ivar source_vault: The relative URL of the Key Vault containing the key. Required. - :vartype source_vault: "SubResource" + :ivar keyUrl: The URL referencing a key encryption key in Key Vault. Required. + :vartype keyUrl: str + :ivar sourceVault: The relative URL of the Key Vault containing the key. Required. + :vartype sourceVault: "SubResource" """ keyUrl: Required[str] @@ -1281,10 +1374,10 @@ class KeyVaultKeyReference(TypedDict, total=False): class KeyVaultSecretReference(TypedDict, total=False): """Describes a reference to Key Vault Secret. - :ivar secret_url: The URL referencing a secret in a Key Vault. Required. - :vartype secret_url: str - :ivar source_vault: The relative URL of the Key Vault containing the secret. Required. - :vartype source_vault: "SubResource" + :ivar secretUrl: The URL referencing a secret in a Key Vault. Required. + :vartype secretUrl: str + :ivar sourceVault: The relative URL of the Key Vault containing the secret. Required. + :vartype sourceVault: "SubResource" """ secretUrl: Required[str] @@ -1296,29 +1389,29 @@ class KeyVaultSecretReference(TypedDict, total=False): class LaunchBulkInstancesOperationProperties(TypedDict, total=False): """Details of the LaunchBulkInstancesOperation. - :ivar created_time: The UTC time the LaunchBulkInstancesOperation resource was created. - :vartype created_time: str - :ivar provisioning_state: The status of the last operation. Known values are: "Creating", + :ivar createdTime: The UTC time the LaunchBulkInstancesOperation resource was created. + :vartype createdTime: str + :ivar provisioningState: The status of the last operation. Known values are: "Creating", "Succeeded", "Failed", "Deleting", and "Canceled". - :vartype provisioning_state: Union[str, "ProvisioningState"] + :vartype provisioningState: Union[str, "ProvisioningState"] :ivar capacity: Total capacity to achieve. It can be in terms of VMs or vCPUs. Required. :vartype capacity: int - :ivar capacity_type: Specifies capacity type for launching instances. It can be in terms of VMs + :ivar capacityType: Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs. Known values are: "VM" and "VCpu". - :vartype capacity_type: Union[str, "CapacityType"] - :ivar priority_profile: Configuration Options for Regular or Spot instances in + :vartype capacityType: Union[str, "CapacityType"] + :ivar priorityProfile: Configuration Options for Regular or Spot instances in LaunchBulkInstancesOperation. Required. - :vartype priority_profile: "PriorityProfile" - :ivar vm_sizes_profile: List of VM sizes supported for LaunchBulkInstancesOperation. - :vartype vm_sizes_profile: list["VmSizeProfile"] - :ivar vm_attributes: Attributes to launch instances. - :vartype vm_attributes: "VMAttributes" - :ivar compute_profile: Compute Profile to configure the Virtual Machines. Required. - :vartype compute_profile: "ComputeProfile" - :ivar zone_allocation_policy: Zone Allocation Policy for launching instances. - :vartype zone_allocation_policy: "ZoneAllocationPolicy" - :ivar retry_policy: Retry policy the user can pass. - :vartype retry_policy: "RetryPolicy" + :vartype priorityProfile: "PriorityProfile" + :ivar vmSizesProfile: List of VM sizes supported for LaunchBulkInstancesOperation. + :vartype vmSizesProfile: list["VmSizeProfile"] + :ivar vmAttributes: Attributes to launch instances. + :vartype vmAttributes: "VMAttributes" + :ivar computeProfile: Compute Profile to configure the Virtual Machines. Required. + :vartype computeProfile: "ComputeProfile" + :ivar zoneAllocationPolicy: Zone Allocation Policy for launching instances. + :vartype zoneAllocationPolicy: "ZoneAllocationPolicy" + :ivar retryPolicy: Retry policy the user can pass. + :vartype retryPolicy: "RetryPolicy" """ createdTime: str @@ -1350,22 +1443,22 @@ class LinuxConfiguration(TypedDict, total=False): Linux distributions, see `Linux on Azure-Endorsed Distributions `_. - :ivar disable_password_authentication: Specifies whether password authentication should be + :ivar disablePasswordAuthentication: Specifies whether password authentication should be disabled. - :vartype disable_password_authentication: bool + :vartype disablePasswordAuthentication: bool :ivar ssh: Specifies the ssh key configuration for a Linux OS. :vartype ssh: "SshConfiguration" - :ivar provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the + :ivar provisionVMAgent: Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. - :vartype provision_vm_agent: bool - :ivar patch_settings: [Preview Feature] Specifies settings related to VM Guest Patching on + :vartype provisionVMAgent: bool + :ivar patchSettings: [Preview Feature] Specifies settings related to VM Guest Patching on Linux. - :vartype patch_settings: "LinuxPatchSettings" - :ivar enable_vm_agent_platform_updates: Indicates whether VMAgent Platform Updates is enabled - for the Linux virtual machine. Default value is false. - :vartype enable_vm_agent_platform_updates: bool + :vartype patchSettings: "LinuxPatchSettings" + :ivar enableVMAgentPlatformUpdates: Indicates whether VMAgent Platform Updates is enabled for + the Linux virtual machine. Default value is false. + :vartype enableVMAgentPlatformUpdates: bool """ disablePasswordAuthentication: bool @@ -1386,22 +1479,22 @@ class LinuxConfiguration(TypedDict, total=False): class LinuxPatchSettings(TypedDict, total=False): """Specifies settings related to VM Guest Patching on Linux. - :ivar patch_mode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + :ivar patchMode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. Known values are: "ImageDefault" and "AutomaticByPlatform". - :vartype patch_mode: Union[str, "LinuxVMGuestPatchMode"] - :ivar assessment_mode: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual + :vartype patchMode: Union[str, "LinuxVMGuestPatchMode"] + :ivar assessmentMode: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. Known values are: "ImageDefault" and "AutomaticByPlatform". - :vartype assessment_mode: Union[str, "LinuxPatchAssessmentMode"] - :ivar automatic_by_platform_settings: Specifies additional settings for patch mode + :vartype assessmentMode: Union[str, "LinuxPatchAssessmentMode"] + :ivar automaticByPlatformSettings: Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux. - :vartype automatic_by_platform_settings: "LinuxVMGuestPatchAutomaticByPlatformSettings" + :vartype automaticByPlatformSettings: "LinuxVMGuestPatchAutomaticByPlatformSettings" """ patchMode: Union[str, "LinuxVMGuestPatchMode"] @@ -1425,12 +1518,12 @@ class LinuxVMGuestPatchAutomaticByPlatformSettings(TypedDict, total=False): # p """Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings. - :ivar reboot_setting: Specifies the reboot setting for all AutomaticByPlatform patch + :ivar rebootSetting: Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Known values are: "Unknown", "IfRequired", "Never", and "Always". - :vartype reboot_setting: Union[str, "LinuxVMGuestPatchAutomaticByPlatformRebootSetting"] - :ivar bypass_platform_safety_checks_on_user_schedule: Enables customer to schedule patching - without accidental upgrades. - :vartype bypass_platform_safety_checks_on_user_schedule: bool + :vartype rebootSetting: Union[str, "LinuxVMGuestPatchAutomaticByPlatformRebootSetting"] + :ivar bypassPlatformSafetyChecksOnUserSchedule: Enables customer to schedule patching without + accidental upgrades. + :vartype bypassPlatformSafetyChecksOnUserSchedule: bool """ rebootSetting: Union[str, "LinuxVMGuestPatchAutomaticByPlatformRebootSetting"] @@ -1451,9 +1544,9 @@ class ProxyResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" """ @@ -1468,9 +1561,9 @@ class LocationBasedBulkCreateCustom(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "BulkCreateCustomProperties" :ivar zones: Zones in which the BulkCreateCustom is available. @@ -1507,9 +1600,9 @@ class LocationBasedLaunchBulkInstancesOperation(ProxyResource): # pylint: disab :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "LaunchBulkInstancesOperationProperties" :ivar zones: Zones in which the LaunchBulkInstancesOperation is available. @@ -1539,16 +1632,16 @@ class ManagedDiskParametersContent(SubResource): :ivar id: The ID of the sub-resource. :vartype id: str - :ivar storage_account_type: Specifies the storage account type for the managed disk. NOTE: + :ivar storageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Known values are: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS", "Premium_ZRS", "StandardSSD_ZRS", and "PremiumV2_LRS". - :vartype storage_account_type: Union[str, "StorageAccountTypes"] - :ivar disk_encryption_set: Specifies the customer managed disk encryption set resource id for - the managed disk. - :vartype disk_encryption_set: "DiskEncryptionSetParametersContent" - :ivar security_profile: Specifies the security profile for the managed disk. - :vartype security_profile: "VMDiskSecurityProfile" + :vartype storageAccountType: Union[str, "StorageAccountTypes"] + :ivar diskEncryptionSet: Specifies the customer managed disk encryption set resource id for the + managed disk. + :vartype diskEncryptionSet: "DiskEncryptionSetParametersContent" + :ivar securityProfile: Specifies the security profile for the managed disk. + :vartype securityProfile: "VMDiskSecurityProfile" """ storageAccountType: Union[str, "StorageAccountTypes"] @@ -1565,17 +1658,17 @@ class ManagedDiskParametersContent(SubResource): class ManagedServiceIdentity(TypedDict, total=False): """Managed service identity (system assigned and/or user assigned identities). - :ivar principal_id: The service principal ID of the system assigned identity. This property - will only be provided for a system assigned identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of the system assigned identity. This property will only be + :ivar principalId: The service principal ID of the system assigned identity. This property will + only be provided for a system assigned identity. + :vartype principalId: str + :ivar tenantId: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - :vartype tenant_id: str + :vartype tenantId: str :ivar type: The type of managed identity assigned to this resource. Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". :vartype type: Union[str, "ManagedServiceIdentityType"] - :ivar user_assigned_identities: The identities assigned to this resource by the user. - :vartype user_assigned_identities: dict[str, "UserAssignedIdentity"] + :ivar userAssignedIdentities: The identities assigned to this resource by the user. + :vartype userAssignedIdentities: dict[str, "UserAssignedIdentity"] """ principalId: str @@ -1610,9 +1703,9 @@ class NetworkInterfaceReferenceProperties(TypedDict, total=False): :ivar primary: Specifies the primary network interface in case the virtual machine has more than 1 network interface. :vartype primary: bool - :ivar delete_option: Specify what happens to the network interface when the VM is deleted. - Known values are: "Delete" and "Detach". - :vartype delete_option: Union[str, "DeleteOptions"] + :ivar deleteOption: Specify what happens to the network interface when the VM is deleted. Known + values are: "Delete" and "Detach". + :vartype deleteOption: Union[str, "DeleteOptions"] """ primary: bool @@ -1626,16 +1719,16 @@ class NetworkInterfaceReferenceProperties(TypedDict, total=False): class NetworkProfile(TypedDict, total=False): """Specifies the network interfaces or the networking configuration of the virtual machine. - :ivar network_interfaces: Specifies the list of resource Ids for the network interfaces + :ivar networkInterfaces: Specifies the list of resource Ids for the network interfaces associated with the virtual machine. - :vartype network_interfaces: list["NetworkInterfaceReference"] - :ivar network_api_version: specifies the Microsoft.Network API version used when creating + :vartype networkInterfaces: list["NetworkInterfaceReference"] + :ivar networkApiVersion: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations. Known values are: "2020-11-01" and "2022-11-01". - :vartype network_api_version: Union[str, "NetworkApiVersion"] - :ivar network_interface_configurations: Specifies the networking configurations that will be - used to create the virtual machine networking resources. - :vartype network_interface_configurations: list["VirtualMachineNetworkInterfaceConfiguration"] + :vartype networkApiVersion: Union[str, "NetworkApiVersion"] + :ivar networkInterfaceConfigurations: Specifies the networking configurations that will be used + to create the virtual machine networking resources. + :vartype networkInterfaceConfigurations: list["VirtualMachineNetworkInterfaceConfiguration"] """ networkInterfaces: list["NetworkInterfaceReference"] @@ -1678,13 +1771,13 @@ class OSDisk(TypedDict, total=False): information about disks, see `About disks and VHDs for Azure virtual machines `_. - :ivar os_type: This property allows you to specify the type of the OS that is included in the + :ivar osType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux. Known values are: "Windows" and "Linux". - :vartype os_type: Union[str, "OperatingSystemTypes"] - :ivar encryption_settings: Specifies the encryption settings for the OS Disk. Minimum compute + :vartype osType: Union[str, "OperatingSystemTypes"] + :ivar encryptionSettings: Specifies the encryption settings for the OS Disk. Minimum compute api-version: 2015-06-15. - :vartype encryption_settings: "DiskEncryptionSettings" + :vartype encryptionSettings: "DiskEncryptionSettings" :ivar name: The disk name. :vartype name: str :ivar vhd: The virtual hard disk. @@ -1697,29 +1790,29 @@ class OSDisk(TypedDict, total=False): ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage. Known values are: "None", "ReadOnly", and "ReadWrite". :vartype caching: Union[str, "CachingTypes"] - :ivar write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or - disabled on the disk. - :vartype write_accelerator_enabled: bool - :ivar diff_disk_settings: Specifies the ephemeral Disk Settings for the operating system disk + :ivar writeAcceleratorEnabled: Specifies whether writeAccelerator should be enabled or disabled + on the disk. + :vartype writeAcceleratorEnabled: bool + :ivar diffDiskSettings: Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. - :vartype diff_disk_settings: "DiffDiskSettings" - :ivar create_option: Specifies how the virtual machine disk should be created. Possible values + :vartype diffDiskSettings: "DiffDiskSettings" + :ivar createOption: Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. Required. Known values are: "FromImage", "Empty", "Attach", "Copy", and "Restore". - :vartype create_option: Union[str, "DiskCreateOptionTypes"] - :ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be + :vartype createOption: Union[str, "DiskCreateOptionTypes"] + :ivar diskSizeGB: Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023. - :vartype disk_size_gb: int - :ivar managed_disk: The managed disk parameters. - :vartype managed_disk: "ManagedDiskParametersContent" - :ivar delete_option: Specifies whether OS Disk should be deleted or detached upon VM deletion. + :vartype diskSizeGB: int + :ivar managedDisk: The managed disk parameters. + :vartype managedDisk: "ManagedDiskParametersContent" + :ivar deleteOption: Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach. For an ephemeral OS Disk, the default value is set to Delete. The user cannot change the delete option for an ephemeral OS Disk. Known values are: "Delete" and "Detach". - :vartype delete_option: Union[str, "DiskDeleteOptionTypes"] + :vartype deleteOption: Union[str, "DiskDeleteOptionTypes"] """ osType: Union[str, "OperatingSystemTypes"] @@ -1767,11 +1860,11 @@ class OSDisk(TypedDict, total=False): class OSImageNotificationProfile(TypedDict, total=False): """Profile for the OS Image Scheduled event. - :ivar not_before_timeout: Length of time a Virtual Machine being reimaged or having its OS + :ivar notBeforeTimeout: Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M). - :vartype not_before_timeout: str + :vartype notBeforeTimeout: str :ivar enable: Specifies whether the OS Image Scheduled event is enabled or disabled. :vartype enable: bool """ @@ -1788,13 +1881,13 @@ class OSProfile(TypedDict, total=False): """Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. - :ivar computer_name: Specifies the host OS name of the virtual machine. This name cannot be + :ivar computerName: Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see `Azure infrastructure services implementation guidelines `_. - :vartype computer_name: str - :ivar admin_username: Specifies the name of the administrator account.

This property + :vartype computerName: str + :ivar adminUsername: Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", @@ -1802,8 +1895,8 @@ class OSProfile(TypedDict, total=False): "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. - :vartype admin_username: str - :ivar admin_password: Specifies the password of the administrator account.

+ :vartype adminUsername: str + :ivar adminPassword: Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be @@ -1816,23 +1909,22 @@ class OSProfile(TypedDict, total=False): resetting root password, see `Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension `_. - :vartype admin_password: str - :ivar custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded - string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum - length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in - customData property.** This property cannot be updated after the VM is created. The property - 'customData' is passed to the VM to be saved as a file, for more information see `Custom Data - on Azure VMs `_. - For using cloud-init for your Linux VM, see `Using cloud-init to customize a Linux VM during - creation `_. - :vartype custom_data: str - :ivar windows_configuration: Specifies Windows operating system settings on the virtual - machine. - :vartype windows_configuration: "WindowsConfiguration" - :ivar linux_configuration: Specifies the Linux operating system settings on the virtual - machine. For a list of supported Linux distributions, see `Linux on Azure-Endorsed - Distributions `_. - :vartype linux_configuration: "LinuxConfiguration" + :vartype adminPassword: str + :ivar customData: Specifies a base-64 encoded string of custom data. The base-64 encoded string + is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length + of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData + property.** This property cannot be updated after the VM is created. The property 'customData' + is passed to the VM to be saved as a file, for more information see `Custom Data on Azure VMs + `_. For using + cloud-init for your Linux VM, see `Using cloud-init to customize a Linux VM during creation + `_. + :vartype customData: str + :ivar windowsConfiguration: Specifies Windows operating system settings on the virtual machine. + :vartype windowsConfiguration: "WindowsConfiguration" + :ivar linuxConfiguration: Specifies the Linux operating system settings on the virtual machine. + For a list of supported Linux distributions, see `Linux on Azure-Endorsed Distributions + `_. + :vartype linuxConfiguration: "LinuxConfiguration" :ivar secrets: Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for Linux @@ -1840,13 +1932,13 @@ class OSProfile(TypedDict, total=False): Key Vault virtual machine extension for Windows `_. :vartype secrets: list["VaultSecretGroup"] - :ivar allow_extension_operations: Specifies whether extension operations should be allowed on - the virtual machine. This may only be set to False when no extensions are present on the - virtual machine. - :vartype allow_extension_operations: bool - :ivar require_guest_provision_signal: Optional property which must either be set to True or + :ivar allowExtensionOperations: Specifies whether extension operations should be allowed on the + virtual machine. This may only be set to False when no extensions are present on the virtual + machine. + :vartype allowExtensionOperations: bool + :ivar requireGuestProvisionSignal: Optional property which must either be set to True or omitted. - :vartype require_guest_provision_signal: bool + :vartype requireGuestProvisionSignal: bool """ computerName: str @@ -1910,7 +2002,7 @@ class OSProfile(TypedDict, total=False): class OSProfileProvisioningData(TypedDict, total=False): """Additional parameters for Reimaging Non-Ephemeral Virtual Machine. - :ivar admin_password: Specifies the password of the administrator account.

+ :ivar adminPassword: Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be @@ -1923,16 +2015,16 @@ class OSProfileProvisioningData(TypedDict, total=False): resetting root password, see `Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension `_. - :vartype admin_password: str - :ivar custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded - string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum - length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in - customData property.** This property cannot be updated after the VM is created. The property - customData is passed to the VM to be saved as a file, for more information see `Custom Data on - Azure VMs `_. If - using cloud-init for your Linux VM, see `Using cloud-init to customize a Linux VM during - creation `_. - :vartype custom_data: str + :vartype adminPassword: str + :ivar customData: Specifies a base-64 encoded string of custom data. The base-64 encoded string + is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length + of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData + property.** This property cannot be updated after the VM is created. The property customData is + passed to the VM to be saved as a file, for more information see `Custom Data on Azure VMs + `_. If using + cloud-init for your Linux VM, see `Using cloud-init to customize a Linux VM during creation + `_. + :vartype customData: str """ adminPassword: str @@ -1960,10 +2052,47 @@ class OSProfileProvisioningData(TypedDict, total=False): `_.""" +class PartialFulfillmentPolicy(TypedDict, total=False): + """Controls how partial fulfillment is handled for a BulkCreateCustom request. When enabled, Azure + creates only the VMs or vCPUs it has high confidence can be successfully allocated, instead of + attempting the entire request and potentially returning allocation failures. + + :ivar fulfilledCapacity: The amount of capacity that was actually attempted, expressed in the + units specified by capacityType. When partial fulfillment is enabled, this value can be less + than the requested capacity. + :vartype fulfilledCapacity: int + :ivar mode: Specifies whether partial fulfillment is allowed. When Enabled, Azure creates as + many VMs as it has high confidence can be successfully allocated. When Disabled, Azure attempts + to create all requested VMs, which may result into allocation failures. Known values are: + "Enabled" and "Disabled". + :vartype mode: Union[str, "PartialFulfillmentMode"] + :ivar reason: Indicates why the fulfilled capacity is less than the requested capacity. + Possible values include InsufficientCapacity and InsufficientQuota. Returned only in the create + response when partial fulfillment is enabled and the request cannot be fully satisfied. Known + values are: "InsufficientCapacity", "InsufficientQuota", and "None". + :vartype reason: Union[str, "PartialFulfillmentReason"] + """ + + fulfilledCapacity: int + """The amount of capacity that was actually attempted, expressed in the units specified by + capacityType. When partial fulfillment is enabled, this value can be less than the requested + capacity.""" + mode: Union[str, "PartialFulfillmentMode"] + """Specifies whether partial fulfillment is allowed. When Enabled, Azure creates as many VMs as it + has high confidence can be successfully allocated. When Disabled, Azure attempts to create all + requested VMs, which may result into allocation failures. Known values are: \"Enabled\" and + \"Disabled\".""" + reason: Union[str, "PartialFulfillmentReason"] + """Indicates why the fulfilled capacity is less than the requested capacity. Possible values + include InsufficientCapacity and InsufficientQuota. Returned only in the create response when + partial fulfillment is enabled and the request cannot be fully satisfied. Known values are: + \"InsufficientCapacity\", \"InsufficientQuota\", and \"None\".""" + + class PatchSettings(TypedDict, total=False): """Specifies settings related to VM Guest Patching on Windows. - :ivar patch_mode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + :ivar patchMode: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, @@ -1973,20 +2102,20 @@ class PatchSettings(TypedDict, total=False): **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Known values are: "Manual", "AutomaticByOS", and "AutomaticByPlatform". - :vartype patch_mode: Union[str, "WindowsVMGuestPatchMode"] - :ivar enable_hotpatching: Enables customers to patch their Azure VMs without requiring a - reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must - be set to 'AutomaticByPlatform'. - :vartype enable_hotpatching: bool - :ivar assessment_mode: Specifies the mode of VM Guest patch assessment for the IaaS virtual + :vartype patchMode: Union[str, "WindowsVMGuestPatchMode"] + :ivar enableHotpatching: Enables customers to patch their Azure VMs without requiring a reboot. + For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set + to 'AutomaticByPlatform'. + :vartype enableHotpatching: bool + :ivar assessmentMode: Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. Known values are: "ImageDefault" and "AutomaticByPlatform". - :vartype assessment_mode: Union[str, "WindowsPatchAssessmentMode"] - :ivar automatic_by_platform_settings: Specifies additional settings for patch mode + :vartype assessmentMode: Union[str, "WindowsPatchAssessmentMode"] + :ivar automaticByPlatformSettings: Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. - :vartype automatic_by_platform_settings: "WindowsVMGuestPatchAutomaticByPlatformSettings" + :vartype automaticByPlatformSettings: "WindowsVMGuestPatchAutomaticByPlatformSettings" """ patchMode: Union[str, "WindowsVMGuestPatchMode"] @@ -2026,9 +2155,9 @@ class Plan(TypedDict, total=False): :ivar product: The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. Required. :vartype product: str - :ivar promotion_code: A publisher provided promotion code as provisioned in Data Market for the + :ivar promotionCode: A publisher provided promotion code as provisioned in Data Market for the said product/artifact. - :vartype promotion_code: str + :vartype promotionCode: str :ivar version: The version of the desired product/artifact. :vartype version: str """ @@ -2052,15 +2181,15 @@ class PriorityProfile(TypedDict, total=False): :ivar type: The priority type for VM allocation. Known values are: "Regular" and "Spot". :vartype type: Union[str, "PriorityType"] - :ivar max_price_per_vm: Price per hour of each Spot VM will never exceed this. Available from + :ivar maxPricePerVM: Price per hour of each Spot VM will never exceed this. Available from 2026-04-06-preview. - :vartype max_price_per_vm: float - :ivar eviction_policy: Eviction Policy to follow when evicting Spot VMs. Available from + :vartype maxPricePerVM: float + :ivar evictionPolicy: Eviction Policy to follow when evicting Spot VMs. Available from 2026-04-06-preview. Known values are: "Delete" and "Deallocate". - :vartype eviction_policy: Union[str, "EvictionPolicy"] - :ivar allocation_strategy: The allocation strategy for VM size selection. Known values are: + :vartype evictionPolicy: Union[str, "EvictionPolicy"] + :ivar allocationStrategy: The allocation strategy for VM size selection. Known values are: "LowestPrice", "Prioritized", and "CapacityOptimized". - :vartype allocation_strategy: Union[str, "AllocationStrategy"] + :vartype allocationStrategy: Union[str, "AllocationStrategy"] """ type: Union[str, "PriorityType"] @@ -2086,18 +2215,18 @@ class ProxyAgentSettings(TypedDict, total=False): deprecated, please specify 'mode' under particular hostendpoint setting. Known values are: "Audit" and "Enforce". :vartype mode: Union[str, "Mode"] - :ivar key_incarnation_id: Increase the value of this property allows users to reset the key - used for securing communication channel between guest and host. - :vartype key_incarnation_id: int - :ivar wire_server: Specifies the Wire Server endpoint settings while creating the virtual + :ivar keyIncarnationId: Increase the value of this property allows users to reset the key used + for securing communication channel between guest and host. + :vartype keyIncarnationId: int + :ivar wireServer: Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01. - :vartype wire_server: "HostEndpointSettings" + :vartype wireServer: "HostEndpointSettings" :ivar imds: Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01. :vartype imds: "HostEndpointSettings" - :ivar add_proxy_agent_extension: Specify whether to implicitly install the ProxyAgent - Extension. This option is currently applicable only for Linux Os. - :vartype add_proxy_agent_extension: bool + :ivar addProxyAgentExtension: Specify whether to implicitly install the ProxyAgent Extension. + This option is currently applicable only for Linux Os. + :vartype addProxyAgentExtension: bool """ enabled: bool @@ -2136,51 +2265,13 @@ class PublicIPAddressSku(TypedDict, total=False): """Specify public IP sku tier. Known values are: \"Regional\" and \"Global\".""" -class RecurringScheduledActionsExecutionParameters(TypedDict, total=False): # pylint: disable=name-too-long - """The execution parameters the scheduled action is supposed to follow. - - :ivar optimization_preference: Details that could optimize the user's request. Known values - are: "Cost", "Availability", and "CostAvailabilityBalanced". - :vartype optimization_preference: Union[str, "OptimizationPreference"] - :ivar retry_policy: Retry policy the user can pass. - :vartype retry_policy: "RecurringScheduledActionsRetryPolicy" - """ - - optimizationPreference: Union[str, "OptimizationPreference"] - """Details that could optimize the user's request. Known values are: \"Cost\", \"Availability\", - and \"CostAvailabilityBalanced\".""" - retryPolicy: "RecurringScheduledActionsRetryPolicy" - """Retry policy the user can pass.""" - - -class RecurringScheduledActionsRetryPolicy(TypedDict, total=False): - """Retry policy the scheduled action can pass. - - :ivar retry_count: Retry count for the request. - :vartype retry_count: int - :ivar retry_window_in_minutes: Retry window in minutes for the request. - :vartype retry_window_in_minutes: int - :ivar on_failure_action: Action to take on failure. Known values are: "Unknown", "Start", - "Deallocate", "Hibernate", "Create", and "Delete". - :vartype on_failure_action: Union[str, "RecurringScheduledActionsResourceOperationType"] - """ - - retryCount: int - """Retry count for the request.""" - retryWindowInMinutes: int - """Retry window in minutes for the request.""" - onFailureAction: Union[str, "RecurringScheduledActionsResourceOperationType"] - """Action to take on failure. Known values are: \"Unknown\", \"Start\", \"Deallocate\", - \"Hibernate\", \"Create\", and \"Delete\".""" - - class ReimagePayload(TypedDict, total=False): """Reimage payload with common profile and per-resource overrides. - :ivar base_profile: Common reimage profile applied to all resources unless overridden. - :vartype base_profile: "VirtualMachineReimageParameters" - :ivar resource_overrides: Per-resource reimage overrides. - :vartype resource_overrides: list["ReimageResourceOverride"] + :ivar baseProfile: Common reimage profile applied to all resources unless overridden. + :vartype baseProfile: "VirtualMachineReimageParameters" + :ivar resourceOverrides: Per-resource reimage overrides. + :vartype resourceOverrides: list["ReimageResourceOverride"] """ baseProfile: "VirtualMachineReimageParameters" @@ -2192,8 +2283,8 @@ class ReimagePayload(TypedDict, total=False): class ReimageResourceOverride(TypedDict, total=False): """Per-resource override entry for reimage requests. - :ivar resource_id: The Azure resource ID of the virtual machine for this override. Required. - :vartype resource_id: str + :ivar resourceId: The Azure resource ID of the virtual machine for this override. Required. + :vartype resourceId: str :ivar profile: Per-resource reimage profile override. Required. :vartype profile: "VirtualMachineReimageParameters" """ @@ -2240,17 +2331,17 @@ class ResourcePatchRequest(TypedDict, total=False): class ResourceProvisionPayload(TypedDict, total=False): """Resource creation data model. - :ivar base_profile: Bulk Actions Virtual Machine Profile object that contains VM properties - that are common across all VMs in this batch. - :vartype base_profile: dict[str, Any] - :ivar resource_overrides: Bulk Actions Virtual Machine Profile array, that contains VM + :ivar baseProfile: Bulk Actions Virtual Machine Profile object that contains VM properties that + are common across all VMs in this batch. + :vartype baseProfile: dict[str, Any] + :ivar resourceOverrides: Bulk Actions Virtual Machine Profile array, that contains VM properties that should be overridden for each VM in the batch. - :vartype resource_overrides: list[dict[str, Any]] - :ivar resource_count: Number of VMs to be created. Required. - :vartype resource_count: int - :ivar resource_prefix: If resourceOverrides doesn't contain "name", the service will create a + :vartype resourceOverrides: list[dict[str, Any]] + :ivar resourceCount: Number of VMs to be created. Required. + :vartype resourceCount: int + :ivar resourcePrefix: If resourceOverrides doesn't contain "name", the service will create a name based on the prefix and ResourceCount, e.g., resourceprefix-0, resourceprefix-1.. - :vartype resource_prefix: str + :vartype resourcePrefix: str """ baseProfile: dict[str, Any] @@ -2269,19 +2360,19 @@ class ResourceProvisionPayload(TypedDict, total=False): class ResourceProvisionVdiPayload(TypedDict, total=False): """Resource creation data model with Flex properties for VDI scenarios. - :ivar base_profile: Bulk Actions Virtual Machine Profile object that contains VM properties - that are common across all VMs in this batch. - :vartype base_profile: dict[str, Any] - :ivar resource_overrides: Bulk Actions Virtual Machine Profile array, that contains VM + :ivar baseProfile: Bulk Actions Virtual Machine Profile object that contains VM properties that + are common across all VMs in this batch. + :vartype baseProfile: dict[str, Any] + :ivar resourceOverrides: Bulk Actions Virtual Machine Profile array, that contains VM properties that should be overridden for each VM in the batch. - :vartype resource_overrides: list[dict[str, Any]] - :ivar resource_count: Number of VMs to be created. Required. - :vartype resource_count: int - :ivar resource_prefix: If resourceOverrides doesn't contain "name", the service will create a + :vartype resourceOverrides: list[dict[str, Any]] + :ivar resourceCount: Number of VMs to be created. Required. + :vartype resourceCount: int + :ivar resourcePrefix: If resourceOverrides doesn't contain "name", the service will create a name based on the prefix and ResourceCount, e.g., resourceprefix-0, resourceprefix-1.. - :vartype resource_prefix: str - :ivar flex_properties: Flex properties used for VDI resource creation scenarios. Required. - :vartype flex_properties: "FlexProperties" + :vartype resourcePrefix: str + :ivar flexProperties: Flex properties used for VDI resource creation scenarios. Required. + :vartype flexProperties: "FlexProperties" """ baseProfile: dict[str, Any] @@ -2324,10 +2415,10 @@ class ResourcesWithContext(TypedDict, total=False): class ResourceWithContext(TypedDict, total=False): """The resources needed for the user request with the resourceContext. - :ivar resource_id: The resource ids used for the request. Required. - :vartype resource_id: str - :ivar resource_context: The operational context of the resourceId. Required. - :vartype resource_context: str + :ivar resourceId: The resource ids used for the request. Required. + :vartype resourceId: str + :ivar resourceContext: The operational context of the resourceId. Required. + :vartype resourceContext: str """ resourceId: Required[str] @@ -2339,13 +2430,13 @@ class ResourceWithContext(TypedDict, total=False): class RetryPolicy(TypedDict, total=False): """The retry policy for the user request. - :ivar retry_count: Retry count for user request. - :vartype retry_count: int - :ivar retry_window_in_minutes: Retry window in minutes for user request. - :vartype retry_window_in_minutes: int - :ivar on_failure_action: Action to take on failure. Known values are: "Unknown", "Start", + :ivar retryCount: Retry count for user request. + :vartype retryCount: int + :ivar retryWindowInMinutes: Retry window in minutes for user request. + :vartype retryWindowInMinutes: int + :ivar onFailureAction: Action to take on failure. Known values are: "Unknown", "Start", "Deallocate", "Hibernate", "Create", "Delete", and "GetInstanceView". - :vartype on_failure_action: Union[str, "ResourceOperationType"] + :vartype onFailureAction: Union[str, "ResourceOperationType"] """ retryCount: int @@ -2368,9 +2459,9 @@ class TrackedResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. @@ -2394,9 +2485,9 @@ class ScheduledAction(TrackedResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. @@ -2412,25 +2503,25 @@ class ScheduledAction(TrackedResource): class ScheduledActionProperties(TypedDict, total=False): """Scheduled action properties. - :ivar resource_type: The type of resource the scheduled action is targeting. Required. Known + :ivar resourceType: The type of resource the scheduled action is targeting. Required. Known values are: "VirtualMachine" and "VirtualMachineScaleSet". - :vartype resource_type: Union[str, "ResourceType"] - :ivar action_type: The action the scheduled action should perform in the resources. Required. + :vartype resourceType: Union[str, "ResourceType"] + :ivar actionType: The action the scheduled action should perform in the resources. Required. Known values are: "Start", "Deallocate", and "Hibernate". - :vartype action_type: Union[str, "ScheduledActionType"] - :ivar start_time: The time which the scheduled action is supposed to start running. Required. - :vartype start_time: str - :ivar end_time: The time when the scheduled action is supposed to stop scheduling. - :vartype end_time: str + :vartype actionType: Union[str, "ScheduledActionType"] + :ivar startTime: The time which the scheduled action is supposed to start running. Required. + :vartype startTime: str + :ivar endTime: The time when the scheduled action is supposed to stop scheduling. + :vartype endTime: str :ivar schedule: The schedule the scheduled action is supposed to follow. Required. :vartype schedule: "ScheduledActionsSchedule" - :ivar notification_settings: The notification settings for the scheduled action. Required. - :vartype notification_settings: list["NotificationProperties"] + :ivar notificationSettings: The notification settings for the scheduled action. Required. + :vartype notificationSettings: list["NotificationProperties"] :ivar disabled: Tell if the scheduled action is disabled or not. :vartype disabled: bool - :ivar provisioning_state: The status of the last provisioning operation performed on the + :ivar provisioningState: The status of the last provisioning operation performed on the resource. Known values are: "Succeeded", "Failed", "Canceled", and "Deleting". - :vartype provisioning_state: Union[str, "RecurringScheduledActionsProvisioningState"] + :vartype provisioningState: Union[str, "ScheduledActionsProvisioningState"] """ resourceType: Required[Union[str, "ResourceType"]] @@ -2449,7 +2540,7 @@ class ScheduledActionProperties(TypedDict, total=False): """The notification settings for the scheduled action. Required.""" disabled: bool """Tell if the scheduled action is disabled or not.""" - provisioningState: Union[str, "RecurringScheduledActionsProvisioningState"] + provisioningState: Union[str, "ScheduledActionsProvisioningState"] """The status of the last provisioning operation performed on the resource. Known values are: \"Succeeded\", \"Failed\", \"Canceled\", and \"Deleting\".""" @@ -2458,12 +2549,12 @@ class ScheduledActionResourceInput(TypedDict, total=False): """Represents the writable fields of a scheduled action resource used in attach and patch requests. - :ivar resource_id: The ARM Id of the resource. + :ivar resourceId: The ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}". Required. - :vartype resource_id: str - :ivar notification_settings: The desired notification settings for the specified resource. - :vartype notification_settings: list["NotificationProperties"] + :vartype resourceId: str + :ivar notificationSettings: The desired notification settings for the specified resource. + :vartype notificationSettings: list["NotificationProperties"] """ resourceId: Required[str] @@ -2474,29 +2565,66 @@ class ScheduledActionResourceInput(TypedDict, total=False): """The desired notification settings for the specified resource.""" +class ScheduledActionsExecutionParameters(TypedDict, total=False): + """The execution parameters the scheduled action is supposed to follow. + + :ivar optimizationPreference: Details that could optimize the user's request. Known values are: + "Cost", "Availability", and "CostAvailabilityBalanced". + :vartype optimizationPreference: Union[str, "OptimizationPreference"] + :ivar retryPolicy: Retry policy the user can pass. + :vartype retryPolicy: "ScheduledActionsRetryPolicy" + """ + + optimizationPreference: Union[str, "OptimizationPreference"] + """Details that could optimize the user's request. Known values are: \"Cost\", \"Availability\", + and \"CostAvailabilityBalanced\".""" + retryPolicy: "ScheduledActionsRetryPolicy" + """Retry policy the user can pass.""" + + +class ScheduledActionsRetryPolicy(TypedDict, total=False): + """Retry policy the scheduled action can pass. + + :ivar retryCount: Retry count for the request. + :vartype retryCount: int + :ivar retryWindowInMinutes: Retry window in minutes for the request. + :vartype retryWindowInMinutes: int + :ivar onFailureAction: Action to take on failure. Known values are: "Unknown", "Start", + "Deallocate", "Hibernate", "Create", and "Delete". + :vartype onFailureAction: Union[str, "ScheduledActionsResourceOperationType"] + """ + + retryCount: int + """Retry count for the request.""" + retryWindowInMinutes: int + """Retry window in minutes for the request.""" + onFailureAction: Union[str, "ScheduledActionsResourceOperationType"] + """Action to take on failure. Known values are: \"Unknown\", \"Start\", \"Deallocate\", + \"Hibernate\", \"Create\", and \"Delete\".""" + + class ScheduledActionsSchedule(TypedDict, total=False): """Specify the schedule in which the scheduled action is supposed to follow. - :ivar scheduled_time: The time the scheduled action is supposed to run on. Required. - :vartype scheduled_time: str - :ivar time_zone: The timezone the scheduled time is specified on. Required. - :vartype time_zone: str - :ivar requested_week_days: The week days the scheduled action is supposed to run on. If empty, - it means it will run on every week day. - :vartype requested_week_days: list[Union[str, "WeekDay"]] - :ivar requested_months: The months the scheduled action is supposed to run on. If empty, it + :ivar scheduledTime: The time the scheduled action is supposed to run on. Required. + :vartype scheduledTime: str + :ivar timeZone: The timezone the scheduled time is specified on. Required. + :vartype timeZone: str + :ivar requestedWeekDays: The week days the scheduled action is supposed to run on. If empty, it + means it will run on every week day. + :vartype requestedWeekDays: list[Union[str, "WeekDay"]] + :ivar requestedMonths: The months the scheduled action is supposed to run on. If empty, it means it will run on every month. - :vartype requested_months: list[Union[str, "Month"]] - :ivar requested_days_of_the_month: The days of the month the scheduled action is supposed to - run on. If empty, it means it will run on every day of the month. - :vartype requested_days_of_the_month: list[int] - :ivar execution_parameters: The execution parameters the scheduled action is supposed to - follow. - :vartype execution_parameters: "RecurringScheduledActionsExecutionParameters" - :ivar deadline_type: The type of deadline the scheduled action is supposed to follow for the + :vartype requestedMonths: list[Union[str, "Month"]] + :ivar requestedDaysOfTheMonth: The days of the month the scheduled action is supposed to run + on. If empty, it means it will run on every day of the month. + :vartype requestedDaysOfTheMonth: list[int] + :ivar executionParameters: The execution parameters the scheduled action is supposed to follow. + :vartype executionParameters: "ScheduledActionsExecutionParameters" + :ivar deadlineType: The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: "Unknown", "InitiateAt", and "CompleteBy". - :vartype deadline_type: Union[str, "RecurringScheduledActionsDeadlineType"] + :vartype deadlineType: Union[str, "ScheduledActionsDeadlineType"] """ scheduledTime: Required[str] @@ -2512,9 +2640,9 @@ class ScheduledActionsSchedule(TypedDict, total=False): requestedDaysOfTheMonth: list[int] """The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.""" - executionParameters: "RecurringScheduledActionsExecutionParameters" + executionParameters: "ScheduledActionsExecutionParameters" """The execution parameters the scheduled action is supposed to follow.""" - deadlineType: Union[str, "RecurringScheduledActionsDeadlineType"] + deadlineType: Union[str, "ScheduledActionsDeadlineType"] """The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: \"Unknown\", \"InitiateAt\", and \"CompleteBy\".""" @@ -2524,26 +2652,25 @@ class ScheduledActionsScheduleUpdate(TypedDict, total=False): """Schedule properties for update (PATCH). All properties are optional so individual fields can be patched (merge semantics); omitting a property preserves the current value. - :ivar scheduled_time: The time the scheduled action is supposed to run on. - :vartype scheduled_time: str - :ivar time_zone: The timezone the scheduled time is specified on. - :vartype time_zone: str - :ivar requested_week_days: The week days the scheduled action is supposed to run on. If empty, - it means it will run on every week day. - :vartype requested_week_days: list[Union[str, "WeekDay"]] - :ivar requested_months: The months the scheduled action is supposed to run on. If empty, it + :ivar scheduledTime: The time the scheduled action is supposed to run on. + :vartype scheduledTime: str + :ivar timeZone: The timezone the scheduled time is specified on. + :vartype timeZone: str + :ivar requestedWeekDays: The week days the scheduled action is supposed to run on. If empty, it + means it will run on every week day. + :vartype requestedWeekDays: list[Union[str, "WeekDay"]] + :ivar requestedMonths: The months the scheduled action is supposed to run on. If empty, it means it will run on every month. - :vartype requested_months: list[Union[str, "Month"]] - :ivar requested_days_of_the_month: The days of the month the scheduled action is supposed to - run on. If empty, it means it will run on every day of the month. - :vartype requested_days_of_the_month: list[int] - :ivar execution_parameters: The execution parameters the scheduled action is supposed to - follow. - :vartype execution_parameters: "RecurringScheduledActionsExecutionParameters" - :ivar deadline_type: The type of deadline the scheduled action is supposed to follow for the + :vartype requestedMonths: list[Union[str, "Month"]] + :ivar requestedDaysOfTheMonth: The days of the month the scheduled action is supposed to run + on. If empty, it means it will run on every day of the month. + :vartype requestedDaysOfTheMonth: list[int] + :ivar executionParameters: The execution parameters the scheduled action is supposed to follow. + :vartype executionParameters: "ScheduledActionsExecutionParameters" + :ivar deadlineType: The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: "Unknown", "InitiateAt", and "CompleteBy". - :vartype deadline_type: Union[str, "RecurringScheduledActionsDeadlineType"] + :vartype deadlineType: Union[str, "ScheduledActionsDeadlineType"] """ scheduledTime: str @@ -2559,9 +2686,9 @@ class ScheduledActionsScheduleUpdate(TypedDict, total=False): requestedDaysOfTheMonth: list[int] """The days of the month the scheduled action is supposed to run on. If empty, it means it will run on every day of the month.""" - executionParameters: "RecurringScheduledActionsExecutionParameters" + executionParameters: "ScheduledActionsExecutionParameters" """The execution parameters the scheduled action is supposed to follow.""" - deadlineType: Union[str, "RecurringScheduledActionsDeadlineType"] + deadlineType: Union[str, "ScheduledActionsDeadlineType"] """The type of deadline the scheduled action is supposed to follow for the schedule. If no value is passed, it will default to InitiateAt. Known values are: \"Unknown\", \"InitiateAt\", and \"CompleteBy\".""" @@ -2585,20 +2712,20 @@ class ScheduledActionUpdate(TypedDict, total=False): class ScheduledActionUpdateProperties(TypedDict, total=False): """The updatable properties of the ScheduledAction. - :ivar resource_type: The type of resource the scheduled action is targeting. Known values are: + :ivar resourceType: The type of resource the scheduled action is targeting. Known values are: "VirtualMachine" and "VirtualMachineScaleSet". - :vartype resource_type: Union[str, "ResourceType"] - :ivar action_type: The action the scheduled action should perform in the resources. Known - values are: "Start", "Deallocate", and "Hibernate". - :vartype action_type: Union[str, "ScheduledActionType"] - :ivar start_time: The time which the scheduled action is supposed to start running. - :vartype start_time: str - :ivar end_time: The time when the scheduled action is supposed to stop scheduling. - :vartype end_time: str + :vartype resourceType: Union[str, "ResourceType"] + :ivar actionType: The action the scheduled action should perform in the resources. Known values + are: "Start", "Deallocate", and "Hibernate". + :vartype actionType: Union[str, "ScheduledActionType"] + :ivar startTime: The time which the scheduled action is supposed to start running. + :vartype startTime: str + :ivar endTime: The time when the scheduled action is supposed to stop scheduling. + :vartype endTime: str :ivar schedule: The schedule the scheduled action is supposed to follow. :vartype schedule: "ScheduledActionsScheduleUpdate" - :ivar notification_settings: The notification settings for the scheduled action. - :vartype notification_settings: list["NotificationProperties"] + :ivar notificationSettings: The notification settings for the scheduled action. + :vartype notificationSettings: list["NotificationProperties"] :ivar disabled: Tell if the scheduled action is disabled or not. :vartype disabled: bool """ @@ -2624,9 +2751,9 @@ class ScheduledActionUpdateProperties(TypedDict, total=False): class ScheduledEventsAdditionalPublishingTargets(TypedDict, total=False): # pylint: disable=name-too-long """Specifies additional publishing targets for scheduled events. - :ivar event_grid_and_resource_graph: The configuration parameters used while creating + :ivar eventGridAndResourceGraph: The configuration parameters used while creating eventGridAndResourceGraph Scheduled Event setting. - :vartype event_grid_and_resource_graph: "EventGridAndResourceGraph" + :vartype eventGridAndResourceGraph: "EventGridAndResourceGraph" """ eventGridAndResourceGraph: "EventGridAndResourceGraph" @@ -2638,19 +2765,19 @@ class ScheduledEventsPolicy(TypedDict, total=False): """Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations. - :ivar user_initiated_redeploy: The configuration parameters used while creating + :ivar userInitiatedRedeploy: The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation. - :vartype user_initiated_redeploy: "UserInitiatedRedeploy" - :ivar user_initiated_reboot: The configuration parameters used while creating - userInitiatedReboot scheduled event setting creation. - :vartype user_initiated_reboot: "UserInitiatedReboot" - :ivar scheduled_events_additional_publishing_targets: The configuration parameters used while + :vartype userInitiatedRedeploy: "UserInitiatedRedeploy" + :ivar userInitiatedReboot: The configuration parameters used while creating userInitiatedReboot + scheduled event setting creation. + :vartype userInitiatedReboot: "UserInitiatedReboot" + :ivar scheduledEventsAdditionalPublishingTargets: The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets. - :vartype scheduled_events_additional_publishing_targets: + :vartype scheduledEventsAdditionalPublishingTargets: "ScheduledEventsAdditionalPublishingTargets" - :ivar all_instances_down: The configuration parameters used while creating AllInstancesDown + :ivar allInstancesDown: The configuration parameters used while creating AllInstancesDown scheduled event setting creation. - :vartype all_instances_down: "AllInstancesDown" + :vartype allInstancesDown: "AllInstancesDown" """ userInitiatedRedeploy: "UserInitiatedRedeploy" @@ -2669,11 +2796,10 @@ class ScheduledEventsPolicy(TypedDict, total=False): class ScheduledEventsProfile(TypedDict, total=False): """Profile for the scheduled events. - :ivar terminate_notification_profile: Specifies Terminate Scheduled Event related - configurations. - :vartype terminate_notification_profile: "TerminateNotificationProfile" - :ivar os_image_notification_profile: Specifies OS Image Scheduled Event related configurations. - :vartype os_image_notification_profile: "OSImageNotificationProfile" + :ivar terminateNotificationProfile: Specifies Terminate Scheduled Event related configurations. + :vartype terminateNotificationProfile: "TerminateNotificationProfile" + :ivar osImageNotificationProfile: Specifies OS Image Scheduled Event related configurations. + :vartype osImageNotificationProfile: "OSImageNotificationProfile" """ terminateNotificationProfile: "TerminateNotificationProfile" @@ -2685,25 +2811,25 @@ class ScheduledEventsProfile(TypedDict, total=False): class SecurityProfile(TypedDict, total=False): """Specifies the Security profile settings for the virtual machine or virtual machine scale set. - :ivar uefi_settings: Specifies the security settings like secure boot and vTPM used while + :ivar uefiSettings: Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum compute api-version: 2020-12-01. - :vartype uefi_settings: "UefiSettings" - :ivar encryption_at_host: This property can be used by user in the request to enable or disable + :vartype uefiSettings: "UefiSettings" + :ivar encryptionAtHost: This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource. - :vartype encryption_at_host: bool - :ivar security_type: Specifies the SecurityType of the virtual machine. It has to be set to any + :vartype encryptionAtHost: bool + :ivar securityType: Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. Known values are: "TrustedLaunch" and "ConfidentialVM". - :vartype security_type: Union[str, "SecurityTypes"] - :ivar encryption_identity: Specifies the Managed Identity used by ADE to get access token for + :vartype securityType: Union[str, "SecurityTypes"] + :ivar encryptionIdentity: Specifies the Managed Identity used by ADE to get access token for keyvault operations. - :vartype encryption_identity: "EncryptionIdentity" - :ivar proxy_agent_settings: Specifies ProxyAgent settings while creating the virtual machine. + :vartype encryptionIdentity: "EncryptionIdentity" + :ivar proxyAgentSettings: Specifies ProxyAgent settings while creating the virtual machine. Minimum compute api-version: 2023-09-01. - :vartype proxy_agent_settings: "ProxyAgentSettings" + :vartype proxyAgentSettings: "ProxyAgentSettings" """ uefiSettings: "UefiSettings" @@ -2728,8 +2854,8 @@ class SecurityProfile(TypedDict, total=False): class SshConfiguration(TypedDict, total=False): """SSH configuration for Linux based VMs running on Azure. - :ivar public_keys: The list of SSH public keys used to authenticate with linux based VMs. - :vartype public_keys: list["SshPublicKey"] + :ivar publicKeys: The list of SSH public keys used to authenticate with linux based VMs. + :vartype publicKeys: list["SshPublicKey"] """ publicKeys: list["SshPublicKey"] @@ -2744,12 +2870,12 @@ class SshPublicKey(TypedDict, total=False): file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys. :vartype path: str - :ivar key_data: SSH public key certificate used to authenticate with the VM through ssh. The - key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH + :ivar keyData: SSH public key certificate used to authenticate with the VM through ssh. The key + needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]`https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed `_). - :vartype key_data: str + :vartype keyData: str """ path: str @@ -2766,27 +2892,27 @@ class SshPublicKey(TypedDict, total=False): class StorageProfile(TypedDict, total=False): """Specifies the storage settings for the virtual machine disks. - :ivar image_reference: Specifies information about the image to use. You can specify - information about platform images, marketplace images, or virtual machine images. This element - is required when you want to use a platform image, marketplace image, or virtual machine image, - but is not used in other creation operations. - :vartype image_reference: "ImageReference" - :ivar os_disk: Specifies information about the operating system disk used by the virtual + :ivar imageReference: Specifies information about the image to use. You can specify information + about platform images, marketplace images, or virtual machine images. This element is required + when you want to use a platform image, marketplace image, or virtual machine image, but is not + used in other creation operations. + :vartype imageReference: "ImageReference" + :ivar osDisk: Specifies information about the operating system disk used by the virtual machine. For more information about disks, see `About disks and VHDs for Azure virtual machines `_. - :vartype os_disk: "OSDisk" - :ivar data_disks: Specifies the parameters that are used to add a data disk to a virtual + :vartype osDisk: "OSDisk" + :ivar dataDisks: Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see `About disks and VHDs for Azure virtual machines `_. - :vartype data_disks: list["DataDisk"] - :ivar disk_controller_type: Specifies the disk controller type configured for the VM. **Note:** + :vartype dataDisks: list["DataDisk"] + :ivar diskControllerType: Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01. Known values are: "SCSI" and "NVMe". - :vartype disk_controller_type: Union[str, "DiskControllerTypes"] + :vartype diskControllerType: Union[str, "DiskControllerTypes"] """ imageReference: "ImageReference" @@ -2815,20 +2941,20 @@ class StorageProfile(TypedDict, total=False): class SystemData(TypedDict, total=False): """Metadata pertaining to creation and last modification of the resource. - :ivar created_by: The identity that created the resource. - :vartype created_by: str - :ivar created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", and "Key". - :vartype created_by_type: Union[str, "CreatedByType"] - :ivar created_at: The timestamp of resource creation (UTC). - :vartype created_at: str - :ivar last_modified_by: The identity that last modified the resource. - :vartype last_modified_by: str - :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + :ivar createdBy: The identity that created the resource. + :vartype createdBy: str + :ivar createdByType: The type of identity that created the resource. Known values are: "User", + "Application", "ManagedIdentity", and "Key". + :vartype createdByType: Union[str, "CreatedByType"] + :ivar createdAt: The timestamp of resource creation (UTC). + :vartype createdAt: str + :ivar lastModifiedBy: The identity that last modified the resource. + :vartype lastModifiedBy: str + :ivar lastModifiedByType: The type of identity that last modified the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :vartype last_modified_by_type: Union[str, "CreatedByType"] - :ivar last_modified_at: The timestamp of resource last modification (UTC). - :vartype last_modified_at: str + :vartype lastModifiedByType: Union[str, "CreatedByType"] + :ivar lastModifiedAt: The timestamp of resource last modification (UTC). + :vartype lastModifiedAt: str """ createdBy: str @@ -2850,11 +2976,11 @@ class SystemData(TypedDict, total=False): class TerminateNotificationProfile(TypedDict, total=False): """Profile properties for the Terminate Scheduled event. - :ivar not_before_timeout: Configurable length of time a Virtual Machine being deleted will have + :ivar notBeforeTimeout: Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M). - :vartype not_before_timeout: str + :vartype notBeforeTimeout: str :ivar enable: Specifies whether the Terminate Scheduled event is enabled or disabled. :vartype enable: bool """ @@ -2871,12 +2997,12 @@ class UefiSettings(TypedDict, total=False): """Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. - :ivar secure_boot_enabled: Specifies whether secure boot should be enabled on the virtual + :ivar secureBootEnabled: Specifies whether secure boot should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01. - :vartype secure_boot_enabled: bool - :ivar v_tpm_enabled: Specifies whether vTPM should be enabled on the virtual machine. Minimum + :vartype secureBootEnabled: bool + :ivar vTpmEnabled: Specifies whether vTPM should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01. - :vartype v_tpm_enabled: bool + :vartype vTpmEnabled: bool """ secureBootEnabled: bool @@ -2890,10 +3016,10 @@ class UefiSettings(TypedDict, total=False): class UserAssignedIdentitiesValue(TypedDict, total=False): """UserAssignedIdentitiesValue. - :ivar principal_id: The principal id of user assigned identity. - :vartype principal_id: str - :ivar client_id: The client id of user assigned identity. - :vartype client_id: str + :ivar principalId: The principal id of user assigned identity. + :vartype principalId: str + :ivar clientId: The client id of user assigned identity. + :vartype clientId: str """ principalId: str @@ -2905,10 +3031,10 @@ class UserAssignedIdentitiesValue(TypedDict, total=False): class UserAssignedIdentity(TypedDict, total=False): """User assigned identity properties. - :ivar principal_id: The principal ID of the assigned identity. - :vartype principal_id: str - :ivar client_id: The client ID of the assigned identity. - :vartype client_id: str + :ivar principalId: The principal ID of the assigned identity. + :vartype principalId: str + :ivar clientId: The client ID of the assigned identity. + :vartype clientId: str """ principalId: str @@ -2920,9 +3046,8 @@ class UserAssignedIdentity(TypedDict, total=False): class UserInitiatedReboot(TypedDict, total=False): """Specifies Reboot related Scheduled Event related configurations. - :ivar user_initiated_reboot_automatically_approve: Specifies Reboot Scheduled Event related - configurations. - :vartype user_initiated_reboot_automatically_approve: bool + :ivar automaticallyApprove: Specifies Reboot Scheduled Event related configurations. + :vartype automaticallyApprove: bool """ automaticallyApprove: bool @@ -2932,9 +3057,8 @@ class UserInitiatedReboot(TypedDict, total=False): class UserInitiatedRedeploy(TypedDict, total=False): """Specifies Redeploy related Scheduled Event related configurations. - :ivar user_initiated_redeploy_automatically_approve: Specifies Redeploy Scheduled Event related - configurations. - :vartype user_initiated_redeploy_automatically_approve: bool + :ivar automaticallyApprove: Specifies Redeploy Scheduled Event related configurations. + :vartype automaticallyApprove: bool """ automaticallyApprove: bool @@ -2945,8 +3069,8 @@ class VaultCertificate(TypedDict, total=False): """Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. - :ivar certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as - a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault + :ivar certificateUrl: This is the URL of a certificate that has been uploaded to Key Vault as a + secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault `_. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
'data':'',
'dataType':'pfx',
@@ -2955,14 +3079,13 @@ class VaultCertificate(TypedDict, total=False): `_ or the `Azure Key Vault virtual machine extension for Windows `_. - :vartype certificate_url: str - :ivar certificate_store: For Windows VMs, specifies the certificate store on the Virtual - Machine to which the certificate should be added. The specified certificate store is implicitly - in the LocalMachine account. For Linux VMs, the certificate file is placed under the - /var/lib/waagent directory, with the file name .crt for the X509 - certificate file and .prv for private key. Both of these files are .pem - formatted. - :vartype certificate_store: str + :vartype certificateUrl: str + :ivar certificateStore: For Windows VMs, specifies the certificate store on the Virtual Machine + to which the certificate should be added. The specified certificate store is implicitly in the + LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent + directory, with the file name .crt for the X509 certificate file and + .prv for private key. Both of these files are .pem formatted. + :vartype certificateStore: str """ certificateUrl: str @@ -2987,12 +3110,12 @@ class VaultCertificate(TypedDict, total=False): class VaultSecretGroup(TypedDict, total=False): """Describes a set of certificates which are all in the same Key Vault. - :ivar source_vault: The relative URL of the Key Vault containing all of the certificates in + :ivar sourceVault: The relative URL of the Key Vault containing all of the certificates in VaultCertificates. - :vartype source_vault: "SubResource" - :ivar vault_certificates: The list of key vault references in SourceVault which contain + :vartype sourceVault: "SubResource" + :ivar vaultCertificates: The list of key vault references in SourceVault which contain certificates. - :vartype vault_certificates: list["VaultCertificate"] + :vartype vaultCertificates: list["VaultCertificate"] """ sourceVault: "SubResource" @@ -3015,21 +3138,21 @@ class VirtualHardDisk(TypedDict, total=False): class VirtualMachineIdentity(TypedDict, total=False): """Identity for the virtual machine. - :ivar principal_id: The principal id of virtual machine identity. This property will only be + :ivar principalId: The principal id of virtual machine identity. This property will only be provided for a system assigned identity. - :vartype principal_id: str - :ivar tenant_id: The tenant id associated with the virtual machine. This property will only be + :vartype principalId: str + :ivar tenantId: The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. - :vartype tenant_id: str + :vartype tenantId: str :ivar type: The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", and "None". :vartype type: Union[str, "ResourceIdentityType"] - :ivar user_assigned_identities: The list of user identities associated with the Virtual - Machine. The user identity dictionary key references will be ARM resource ids in the form: + :ivar userAssignedIdentities: The list of user identities associated with the Virtual Machine. + The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - :vartype user_assigned_identities: dict[str, "UserAssignedIdentitiesValue"] + :vartype userAssignedIdentities: dict[str, "UserAssignedIdentitiesValue"] """ principalId: str @@ -3052,8 +3175,8 @@ class VirtualMachineIdentity(TypedDict, total=False): class VirtualMachineIpTag(TypedDict, total=False): """Contains the IP tag associated with the public IP address. - :ivar ip_tag_type: IP tag type. Example: FirstPartyUsage. - :vartype ip_tag_type: str + :ivar ipTagType: IP tag type. Example: FirstPartyUsage. + :vartype ipTagType: str :ivar tag: IP tag associated with the public IP. Example: SQL, Storage etc. :vartype tag: str """ @@ -3091,33 +3214,33 @@ class VirtualMachineNetworkInterfaceConfigurationProperties(TypedDict, total=Fal :ivar primary: Specifies the primary network interface in case the virtual machine has more than 1 network interface. :vartype primary: bool - :ivar delete_option: Specify what happens to the network interface when the VM is deleted. - Known values are: "Delete" and "Detach". - :vartype delete_option: Union[str, "DeleteOptions"] - :ivar enable_accelerated_networking: Specifies whether the network interface is accelerated + :ivar deleteOption: Specify what happens to the network interface when the VM is deleted. Known + values are: "Delete" and "Detach". + :vartype deleteOption: Union[str, "DeleteOptions"] + :ivar enableAcceleratedNetworking: Specifies whether the network interface is accelerated networking-enabled. - :vartype enable_accelerated_networking: bool - :ivar disable_tcp_state_tracking: Specifies whether the network interface is disabled for tcp + :vartype enableAcceleratedNetworking: bool + :ivar disableTcpStateTracking: Specifies whether the network interface is disabled for tcp state tracking. - :vartype disable_tcp_state_tracking: bool - :ivar enable_fpga: Specifies whether the network interface is FPGA networking-enabled. - :vartype enable_fpga: bool - :ivar enable_ip_forwarding: Whether IP forwarding enabled on this NIC. - :vartype enable_ip_forwarding: bool - :ivar network_security_group: The network security group. - :vartype network_security_group: "SubResource" - :ivar dns_settings: The dns settings to be applied on the network interfaces. - :vartype dns_settings: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration" - :ivar ip_configurations: Specifies the IP configurations of the network interface. Required. - :vartype ip_configurations: list["VirtualMachineNetworkInterfaceIPConfiguration"] - :ivar dscp_configuration: The DSCP configuration for the network interface. - :vartype dscp_configuration: "SubResource" - :ivar auxiliary_mode: Specifies whether the Auxiliary mode is enabled for the Network Interface + :vartype disableTcpStateTracking: bool + :ivar enableFpga: Specifies whether the network interface is FPGA networking-enabled. + :vartype enableFpga: bool + :ivar enableIPForwarding: Whether IP forwarding enabled on this NIC. + :vartype enableIPForwarding: bool + :ivar networkSecurityGroup: The network security group. + :vartype networkSecurityGroup: "SubResource" + :ivar dnsSettings: The dns settings to be applied on the network interfaces. + :vartype dnsSettings: "VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + :ivar ipConfigurations: Specifies the IP configurations of the network interface. Required. + :vartype ipConfigurations: list["VirtualMachineNetworkInterfaceIPConfiguration"] + :ivar dscpConfiguration: The DSCP configuration for the network interface. + :vartype dscpConfiguration: "SubResource" + :ivar auxiliaryMode: Specifies whether the Auxiliary mode is enabled for the Network Interface resource. Known values are: "None", "AcceleratedConnections", and "Floating". - :vartype auxiliary_mode: Union[str, "NetworkInterfaceAuxiliaryMode"] - :ivar auxiliary_sku: Specifies whether the Auxiliary sku is enabled for the Network Interface + :vartype auxiliaryMode: Union[str, "NetworkInterfaceAuxiliaryMode"] + :ivar auxiliarySku: Specifies whether the Auxiliary sku is enabled for the Network Interface resource. Known values are: "None", "A1", "A2", "A4", and "A8". - :vartype auxiliary_sku: Union[str, "NetworkInterfaceAuxiliarySku"] + :vartype auxiliarySku: Union[str, "NetworkInterfaceAuxiliarySku"] """ primary: bool @@ -3153,8 +3276,8 @@ class VirtualMachineNetworkInterfaceConfigurationProperties(TypedDict, total=Fal class VirtualMachineNetworkInterfaceDnsSettingsConfiguration(TypedDict, total=False): # pylint: disable=name-too-long """Describes a virtual machines network configuration's DNS settings. - :ivar dns_servers: List of DNS servers IP addresses. - :vartype dns_servers: list[str] + :ivar dnsServers: List of DNS servers IP addresses. + :vartype dnsServers: list[str] """ dnsServers: list[str] @@ -3184,25 +3307,25 @@ class VirtualMachineNetworkInterfaceIPConfigurationProperties(TypedDict, total=F :ivar primary: Specifies the primary network interface in case the virtual machine has more than 1 network interface. :vartype primary: bool - :ivar public_ip_address_configuration: The publicIPAddressConfiguration. - :vartype public_ip_address_configuration: "VirtualMachinePublicIPAddressConfiguration" - :ivar private_ip_address_version: Available from Api-Version 2017-03-30 onwards, it represents + :ivar publicIPAddressConfiguration: The publicIPAddressConfiguration. + :vartype publicIPAddressConfiguration: "VirtualMachinePublicIPAddressConfiguration" + :ivar privateIPAddressVersion: Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Known values are: "IPv4" and "IPv6". - :vartype private_ip_address_version: Union[str, "IPVersions"] - :ivar application_security_groups: Specifies an array of references to application security + :vartype privateIPAddressVersion: Union[str, "IPVersions"] + :ivar applicationSecurityGroups: Specifies an array of references to application security group. - :vartype application_security_groups: list["SubResource"] - :ivar application_gateway_backend_address_pools: Specifies an array of references to backend + :vartype applicationSecurityGroups: list["SubResource"] + :ivar applicationGatewayBackendAddressPools: Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. - :vartype application_gateway_backend_address_pools: list["SubResource"] - :ivar load_balancer_backend_address_pools: Specifies an array of references to backend address + :vartype applicationGatewayBackendAddressPools: list["SubResource"] + :ivar loadBalancerBackendAddressPools: Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. - :vartype load_balancer_backend_address_pools: list["SubResource"] + :vartype loadBalancerBackendAddressPools: list["SubResource"] """ subnet: "SubResource" @@ -3256,24 +3379,24 @@ class VirtualMachinePublicIPAddressConfiguration(TypedDict, total=False): # pyl class VirtualMachinePublicIPAddressConfigurationProperties(TypedDict, total=False): # pylint: disable=name-too-long """Describes a virtual machines IP Configuration's PublicIPAddress configuration. - :ivar idle_timeout_in_minutes: The idle timeout of the public IP address. - :vartype idle_timeout_in_minutes: int - :ivar delete_option: Specify what happens to the public IP address when the VM is deleted. - Known values are: "Delete" and "Detach". - :vartype delete_option: Union[str, "DeleteOptions"] - :ivar dns_settings: The dns settings to be applied on the publicIP addresses . - :vartype dns_settings: "VirtualMachinePublicIPAddressDnsSettingsConfiguration" - :ivar ip_tags: The list of IP tags associated with the public IP address. - :vartype ip_tags: list["VirtualMachineIpTag"] - :ivar public_ip_prefix: The PublicIPPrefix from which to allocate publicIP addresses. - :vartype public_ip_prefix: "SubResource" - :ivar public_ip_address_version: Available from Api-Version 2019-07-01 onwards, it represents + :ivar idleTimeoutInMinutes: The idle timeout of the public IP address. + :vartype idleTimeoutInMinutes: int + :ivar deleteOption: Specify what happens to the public IP address when the VM is deleted. Known + values are: "Delete" and "Detach". + :vartype deleteOption: Union[str, "DeleteOptions"] + :ivar dnsSettings: The dns settings to be applied on the publicIP addresses . + :vartype dnsSettings: "VirtualMachinePublicIPAddressDnsSettingsConfiguration" + :ivar ipTags: The list of IP tags associated with the public IP address. + :vartype ipTags: list["VirtualMachineIpTag"] + :ivar publicIPPrefix: The PublicIPPrefix from which to allocate publicIP addresses. + :vartype publicIPPrefix: "SubResource" + :ivar publicIPAddressVersion: Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Known values are: "IPv4" and "IPv6". - :vartype public_ip_address_version: Union[str, "IPVersions"] - :ivar public_ip_allocation_method: Specify the public IP allocation type. Known values are: + :vartype publicIPAddressVersion: Union[str, "IPVersions"] + :ivar publicIPAllocationMethod: Specify the public IP allocation type. Known values are: "Dynamic" and "Static". - :vartype public_ip_allocation_method: Union[str, "PublicIPAllocationMethod"] + :vartype publicIPAllocationMethod: Union[str, "PublicIPAllocationMethod"] """ idleTimeoutInMinutes: int @@ -3298,15 +3421,15 @@ class VirtualMachinePublicIPAddressConfigurationProperties(TypedDict, total=Fals class VirtualMachinePublicIPAddressDnsSettingsConfiguration(TypedDict, total=False): # pylint: disable=name-too-long """Describes a virtual machines network configuration's DNS settings. - :ivar domain_name_label: The Domain name label prefix of the PublicIPAddress resources that - will be created. The generated name label is the concatenation of the domain name label and vm + :ivar domainNameLabel: The Domain name label prefix of the PublicIPAddress resources that will + be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. Required. - :vartype domain_name_label: str - :ivar domain_name_label_scope: The Domain name label scope of the PublicIPAddress resources - that will be created. The generated name label is the concatenation of the hashed domain name - label with policy according to the domain name label scope and vm network profile unique ID. - Known values are: "TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", and "NoReuse". - :vartype domain_name_label_scope: Union[str, "DomainNameLabelScopeTypes"] + :vartype domainNameLabel: str + :ivar domainNameLabelScope: The Domain name label scope of the PublicIPAddress resources that + will be created. The generated name label is the concatenation of the hashed domain name label + with policy according to the domain name label scope and vm network profile unique ID. Known + values are: "TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", and "NoReuse". + :vartype domainNameLabelScope: Union[str, "DomainNameLabelScopeTypes"] """ domainNameLabel: Required[str] @@ -3324,15 +3447,14 @@ class VirtualMachineReimageParameters(TypedDict, total=False): """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged. - :ivar temp_disk: Specifies whether to reimage temp disk. Default value: false. Note: This temp + :ivar tempDisk: Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. - :vartype temp_disk: bool - :ivar exact_version: Specifies in decimal number, the version the OS disk should be reimaged - to. If exact version is not provided, the OS disk is reimaged to the existing version of OS - Disk. - :vartype exact_version: str - :ivar os_profile: Specifies information required for reimaging the non-ephemeral OS disk. - :vartype os_profile: "OSProfileProvisioningData" + :vartype tempDisk: bool + :ivar exactVersion: Specifies in decimal number, the version the OS disk should be reimaged to. + If exact version is not provided, the OS disk is reimaged to the existing version of OS Disk. + :vartype exactVersion: str + :ivar osProfile: Specifies information required for reimaging the non-ephemeral OS disk. + :vartype osProfile: "OSProfileProvisioningData" """ tempDisk: bool @@ -3379,82 +3501,82 @@ class VMAttributeMinMaxInteger(TypedDict, total=False): class VMAttributes(TypedDict, total=False): """VMAttributes that will be used to filter VMSizes which will be used to launch instances. - :ivar v_cpu_count: The range of vCpuCount specified from Min to Max. Must be specified if + :ivar vCpuCount: The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified. Required. - :vartype v_cpu_count: "VMAttributeMinMaxInteger" - :ivar memory_in_gi_b: The range of memory specified from Min to Max. Must be specified if + :vartype vCpuCount: "VMAttributeMinMaxInteger" + :ivar memoryInGiB: The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified. Required. - :vartype memory_in_gi_b: "VMAttributeMinMaxDouble" - :ivar architecture_types: The VM architecture types specified as a list. Must be specified if + :vartype memoryInGiB: "VMAttributeMinMaxDouble" + :ivar architectureTypes: The VM architecture types specified as a list. Must be specified if VMAttributes are specified. Must be compatible with image used. Required. - :vartype architecture_types: list[Union[str, "ArchitectureType"]] - :ivar memory_in_gi_b_per_v_cpu: The range of memory in GiB per vCPU specified from min to max. + :vartype architectureTypes: list[Union[str, "ArchitectureType"]] + :ivar memoryInGiBPerVCpu: The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified. - :vartype memory_in_gi_b_per_v_cpu: "VMAttributeMinMaxDouble" - :ivar local_storage_support: Specifies whether the VMSize supporting local storage should be - used to launch instances or not. Included - Default if not specified as most Azure VMs support - local storage. Known values are: "Excluded", "Included", and "Required". - :vartype local_storage_support: Union[str, "VMAttributeSupport"] - :ivar local_storage_in_gi_b: LocalStorageSupport should be set to "Included" or "Required" to - use this VMAttribute. If localStorageSupport is "Excluded", this VMAttribute can not be used. - :vartype local_storage_in_gi_b: "VMAttributeMinMaxDouble" - :ivar local_storage_disk_types: The local storage disk types specified as a list. + :vartype memoryInGiBPerVCpu: "VMAttributeMinMaxDouble" + :ivar localStorageSupport: Specifies whether the VMSize supporting local storage should be used + to launch instances or not. Included - Default if not specified as most Azure VMs support local + storage. Known values are: "Excluded", "Included", and "Required". + :vartype localStorageSupport: Union[str, "VMAttributeSupport"] + :ivar localStorageInGiB: LocalStorageSupport should be set to "Included" or "Required" to use + this VMAttribute. If localStorageSupport is "Excluded", this VMAttribute can not be used. + :vartype localStorageInGiB: "VMAttributeMinMaxDouble" + :ivar localStorageDiskTypes: The local storage disk types specified as a list. LocalStorageSupport should be set to "Included" or "Required" to use this VMAttribute. If localStorageSupport is "Excluded", this VMAttribute can not be used. - :vartype local_storage_disk_types: list[Union[str, "LocalStorageDiskType"]] - :ivar data_disk_count: The range of data disk count specified from Min to Max. Optional + :vartype localStorageDiskTypes: list[Union[str, "LocalStorageDiskType"]] + :ivar dataDiskCount: The range of data disk count specified from Min to Max. Optional parameter. Either Min or Max is required if specified. - :vartype data_disk_count: "VMAttributeMinMaxInteger" - :ivar network_interface_count: The range of network interface count specified from Min to Max. + :vartype dataDiskCount: "VMAttributeMinMaxInteger" + :ivar networkInterfaceCount: The range of network interface count specified from Min to Max. + Optional parameter. Either Min or Max is required if specified. + :vartype networkInterfaceCount: "VMAttributeMinMaxInteger" + :ivar networkBandwidthInMbps: The range of network bandwidth in Mbps specified from Min to Max. Optional parameter. Either Min or Max is required if specified. - :vartype network_interface_count: "VMAttributeMinMaxInteger" - :ivar network_bandwidth_in_mbps: The range of network bandwidth in Mbps specified from Min to - Max. Optional parameter. Either Min or Max is required if specified. - :vartype network_bandwidth_in_mbps: "VMAttributeMinMaxDouble" - :ivar rdma_support: Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) + :vartype networkBandwidthInMbps: "VMAttributeMinMaxDouble" + :ivar rdmaSupport: Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) should be used to build launch instances or not. Known values are: "Excluded", "Included", and "Required". - :vartype rdma_support: Union[str, "VMAttributeSupport"] - :ivar rdma_network_interface_count: The range of RDMA (Remote Direct Memory Access) network + :vartype rdmaSupport: Union[str, "VMAttributeSupport"] + :ivar rdmaNetworkInterfaceCount: The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified. rdmaSupport should be set to "Included" or "Required" to use this VMAttribute. If rdmaSupport is "Excluded", this VMAttribute can not be used. - :vartype rdma_network_interface_count: "VMAttributeMinMaxInteger" - :ivar accelerator_support: Specifies whether the VMSize supporting accelerator should be used - to launch instances or not. acceleratorSupport should be set to "Included" or "Required" to use + :vartype rdmaNetworkInterfaceCount: "VMAttributeMinMaxInteger" + :ivar acceleratorSupport: Specifies whether the VMSize supporting accelerator should be used to + launch instances or not. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used. Known values are: "Excluded", "Included", and "Required". - :vartype accelerator_support: Union[str, "VMAttributeSupport"] - :ivar accelerator_manufacturers: The accelerator manufacturers specified as a list. + :vartype acceleratorSupport: Union[str, "VMAttributeSupport"] + :ivar acceleratorManufacturers: The accelerator manufacturers specified as a list. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used. - :vartype accelerator_manufacturers: list[Union[str, "AcceleratorManufacturer"]] - :ivar accelerator_types: The accelerator types specified as a list. acceleratorSupport should - be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is - "Excluded", this VMAttribute can not be used. - :vartype accelerator_types: list[Union[str, "AcceleratorType"]] - :ivar accelerator_count: The range of accelerator count specified from min to max. Optional + :vartype acceleratorManufacturers: list[Union[str, "AcceleratorManufacturer"]] + :ivar acceleratorTypes: The accelerator types specified as a list. acceleratorSupport should be + set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", + this VMAttribute can not be used. + :vartype acceleratorTypes: list[Union[str, "AcceleratorType"]] + :ivar acceleratorCount: The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. If acceleratorSupport is "Excluded", this VMAttribute can not be used. - :vartype accelerator_count: "VMAttributeMinMaxInteger" - :ivar vm_categories: The VM category specified as a list. Optional parameter. - :vartype vm_categories: list[Union[str, "VMCategory"]] - :ivar cpu_manufacturers: The VM CPU manufacturers specified as a list. Optional parameter. - :vartype cpu_manufacturers: list[Union[str, "CpuManufacturer"]] - :ivar hyper_v_generations: The hyperV generations specified as a list. Optional parameter. - :vartype hyper_v_generations: list[Union[str, "HyperVGeneration"]] - :ivar burstable_support: Specifies whether the VMSize supporting burstable capability should be + :vartype acceleratorCount: "VMAttributeMinMaxInteger" + :ivar vmCategories: The VM category specified as a list. Optional parameter. + :vartype vmCategories: list[Union[str, "VMCategory"]] + :ivar cpuManufacturers: The VM CPU manufacturers specified as a list. Optional parameter. + :vartype cpuManufacturers: list[Union[str, "CpuManufacturer"]] + :ivar hyperVGenerations: The hyperV generations specified as a list. Optional parameter. + :vartype hyperVGenerations: list[Union[str, "HyperVGeneration"]] + :ivar burstableSupport: Specifies whether the VMSize supporting burstable capability should be used to launch instances or not. Known values are: "Excluded", "Included", and "Required". - :vartype burstable_support: Union[str, "VMAttributeSupport"] - :ivar allowed_vm_sizes: Specifies which VMSizes should be allowed while filtering on + :vartype burstableSupport: Union[str, "VMAttributeSupport"] + :ivar allowedVMSizes: Specifies which VMSizes should be allowed while filtering on VMAttributes. Cannot be specified together with excludedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter. - :vartype allowed_vm_sizes: list[str] - :ivar excluded_vm_sizes: Specifies which VMSizes should be excluded while filtering on + :vartype allowedVMSizes: list[str] + :ivar excludedVMSizes: Specifies which VMSizes should be excluded while filtering on VMAttributes. Cannot be specified together with allowedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter. - :vartype excluded_vm_sizes: list[str] + :vartype excludedVMSizes: list[str] """ vCpuCount: Required["VMAttributeMinMaxInteger"] @@ -3535,17 +3657,17 @@ class VMDiskSecurityProfile(TypedDict, total=False): """Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. - :ivar security_encryption_type: Specifies the EncryptionType of the managed disk. It is set to + :ivar securityEncryptionType: Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. Known values are: "VMGuestStateOnly", "DiskWithVMGuestState", and "NonPersistedTPM". - :vartype security_encryption_type: Union[str, "SecurityEncryptionTypes"] - :ivar disk_encryption_set: Specifies the customer managed disk encryption set resource id for - the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and - VMGuest blob. - :vartype disk_encryption_set: "DiskEncryptionSetParametersContent" + :vartype securityEncryptionType: Union[str, "SecurityEncryptionTypes"] + :ivar diskEncryptionSet: Specifies the customer managed disk encryption set resource id for the + managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest + blob. + :vartype diskEncryptionSet: "DiskEncryptionSetParametersContent" """ securityEncryptionType: Union[str, "SecurityEncryptionTypes"] @@ -3566,19 +3688,19 @@ class VMGalleryApplication(TypedDict, total=False): :vartype tags: str :ivar order: Optional, Specifies the order in which the packages have to be installed. :vartype order: int - :ivar package_reference_id: Specifies the GalleryApplicationVersion resource id on the form of + :ivar packageReferenceId: Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. Required. - :vartype package_reference_id: str - :ivar configuration_reference: Optional, Specifies the uri to an azure blob that will replace + :vartype packageReferenceId: str + :ivar configurationReference: Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. - :vartype configuration_reference: str - :ivar treat_failure_as_deployment_failure: Optional, If true, any failure for any operation in - the VmApplication will fail the deployment. - :vartype treat_failure_as_deployment_failure: bool - :ivar enable_automatic_upgrade: If set to true, when a new Gallery Application version is + :vartype configurationReference: str + :ivar treatFailureAsDeploymentFailure: Optional, If true, any failure for any operation in the + VmApplication will fail the deployment. + :vartype treatFailureAsDeploymentFailure: bool + :ivar enableAutomaticUpgrade: If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS. - :vartype enable_automatic_upgrade: bool + :vartype enableAutomaticUpgrade: bool """ tags: str @@ -3617,17 +3739,17 @@ class VmSizeProfile(TypedDict, total=False): class VmSizeProperties(TypedDict, total=False): """Specifies VM Size Property settings on the virtual machine. - :ivar v_cpus_available: Specifies the number of vCPUs available for the VM. When this property - is not specified in the request body the default behavior is to set it to the value of vCPUs + :ivar vCpusAvailable: Specifies the number of vCPUs available for the VM. When this property is + not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of `List all available virtual machine sizes in a region `_. - :vartype v_cpus_available: int - :ivar v_cpus_per_core: Specifies the vCPU to physical core ratio. When this property is not + :vartype vCpusAvailable: int + :ivar vCpusPerCore: Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of `List all available virtual machine sizes in a region `_. **Setting this property to 1 also means that hyper-threading is disabled.**. - :vartype v_cpus_per_core: int + :vartype vCpusPerCore: int """ vCpusAvailable: int @@ -3646,30 +3768,30 @@ class VmSizeProperties(TypedDict, total=False): class WindowsConfiguration(TypedDict, total=False): """Specifies Windows operating system settings on the virtual machine. - :ivar provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the + :ivar provisionVMAgent: Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. - :vartype provision_vm_agent: bool - :ivar enable_automatic_updates: Indicates whether Automatic Updates is enabled for the Windows + :vartype provisionVMAgent: bool + :ivar enableAutomaticUpdates: Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. - :vartype enable_automatic_updates: bool - :ivar time_zone: Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". + :vartype enableAutomaticUpdates: bool + :ivar timeZone: Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be `TimeZoneInfo.Id `_ value from time zones returned by `TimeZoneInfo.GetSystemTimeZones `_. - :vartype time_zone: str - :ivar additional_unattend_content: Specifies additional base-64 encoded XML formatted - information that can be included in the Unattend.xml file, which is used by Windows Setup. - :vartype additional_unattend_content: list["AdditionalUnattendContent"] - :ivar patch_settings: [Preview Feature] Specifies settings related to VM Guest Patching on + :vartype timeZone: str + :ivar additionalUnattendContent: Specifies additional base-64 encoded XML formatted information + that can be included in the Unattend.xml file, which is used by Windows Setup. + :vartype additionalUnattendContent: list["AdditionalUnattendContent"] + :ivar patchSettings: [Preview Feature] Specifies settings related to VM Guest Patching on Windows. - :vartype patch_settings: "PatchSettings" - :ivar win_rm: Specifies the Windows Remote Management listeners. This enables remote Windows + :vartype patchSettings: "PatchSettings" + :ivar winRM: Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. - :vartype win_rm: "WinRMConfiguration" + :vartype winRM: "WinRMConfiguration" """ provisionVMAgent: bool @@ -3699,12 +3821,12 @@ class WindowsVMGuestPatchAutomaticByPlatformSettings(TypedDict, total=False): # """Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. - :ivar reboot_setting: Specifies the reboot setting for all AutomaticByPlatform patch + :ivar rebootSetting: Specifies the reboot setting for all AutomaticByPlatform patch installation operations. Known values are: "Unknown", "IfRequired", "Never", and "Always". - :vartype reboot_setting: Union[str, "WindowsVMGuestPatchAutomaticByPlatformRebootSetting"] - :ivar bypass_platform_safety_checks_on_user_schedule: Enables customer to schedule patching - without accidental upgrades. - :vartype bypass_platform_safety_checks_on_user_schedule: bool + :vartype rebootSetting: Union[str, "WindowsVMGuestPatchAutomaticByPlatformRebootSetting"] + :ivar bypassPlatformSafetyChecksOnUserSchedule: Enables customer to schedule patching without + accidental upgrades. + :vartype bypassPlatformSafetyChecksOnUserSchedule: bool """ rebootSetting: Union[str, "WindowsVMGuestPatchAutomaticByPlatformRebootSetting"] @@ -3731,8 +3853,8 @@ class WinRMListener(TypedDict, total=False): :ivar protocol: Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**. Known values are: "Http" and "Https". :vartype protocol: Union[str, "ProtocolTypes"] - :ivar certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as - a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault + :ivar certificateUrl: This is the URL of a certificate that has been uploaded to Key Vault as a + secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault `_. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
@@ -3741,7 +3863,7 @@ class WinRMListener(TypedDict, total=False): `_ or the `Azure Key Vault virtual machine extension for Windows `_. - :vartype certificate_url: str + :vartype certificateUrl: str """ protocol: Union[str, "ProtocolTypes"] @@ -3764,11 +3886,11 @@ class WinRMListener(TypedDict, total=False): class ZoneAllocationPolicy(TypedDict, total=False): """The zone allocation policy for distributing VMs across availability zones. - :ivar distribution_strategy: The distribution strategy for zone allocation. Known values are: + :ivar distributionStrategy: The distribution strategy for zone allocation. Known values are: "BestEffortSingleZone", "Prioritized", "BestEffortBalanced", and "StrictBalanced". - :vartype distribution_strategy: Union[str, "DistributionStrategy"] - :ivar zone_preferences: The zone preferences for allocation priority. - :vartype zone_preferences: list["ZonePreference"] + :vartype distributionStrategy: Union[str, "DistributionStrategy"] + :ivar zonePreferences: The zone preferences for allocation priority. + :vartype zonePreferences: list["ZonePreference"] """ distributionStrategy: Union[str, "DistributionStrategy"] diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py index 63badac6c303..66a266c633a8 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_cancel_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_Cancel_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_Cancel_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py index 1de4f32ae939..ff163c4a5889 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_create_or_update_maximum_set_gen.py @@ -38,7 +38,7 @@ def main(): resource={ "identity": {"type": "SystemAssigned"}, "properties": { - "capacity": 10, + "capacity": 2, "capacityType": "VM", "computeProfile": { "computeApiVersion": "2024-11-01", @@ -99,6 +99,7 @@ def main(): }, }, "executionParameters": {"retryPolicy": {"onFailureAction": "Delete", "retryWindowInMinutes": 30}}, + "minCapacity": 1, "overridesProfile": { "overrides": [ {"tags": {"env": "prod", "workload": "payments"}, "virtualMachineName": "bulkvm-payments-0"}, @@ -106,6 +107,7 @@ def main(): ], "virtualMachineNamePrefix": "bulkvm", }, + "partialFulfillmentPolicy": {"mode": "Enabled"}, "priorityProfile": { "allocationStrategy": "LowestPrice", "evictionPolicy": "Delete", @@ -143,6 +145,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py index c09ea4eb1722..836190a2a900 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py index ef0163977764..5c7255a3059a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_async_operation_status_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_GetAsyncOperationStatus_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_GetAsyncOperationStatus_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py index 807560414305..d25bb76bde08 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py index 88d34709d3c2..4d2ccc1616ce 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_resource_group_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py index 90e501a0e8a0..316cb0a2dea7 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_list_by_subscription_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/BulkCreateCustom_ListBySubscription_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_ListBySubscription_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_virtual_machines_get_operation_status_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_virtual_machines_get_operation_status_maximum_set_gen.py new file mode 100644 index 000000000000..cd6af5474d53 --- /dev/null +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/bulk_create_custom_virtual_machines_get_operation_status_maximum_set_gen.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.identity import DefaultAzureCredential + +from azure.mgmt.compute.bulkaction import ComputeBulkActionsMgmtClient + +""" +# PREREQUISITES + pip install azure-identity + pip install azure-mgmt-compute-bulkaction +# USAGE + python bulk_create_custom_virtual_machines_get_operation_status_maximum_set_gen.py + + Before run the sample, please set the values of the client ID, tenant ID and client secret + of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, + AZURE_CLIENT_SECRET. For more info about how to get the value, please see: + https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal +""" + + +def main(): + client = ComputeBulkActionsMgmtClient( + credential=DefaultAzureCredential(), + subscription_id="SUBSCRIPTION_ID", + ) + + response = client.bulk_create_custom.virtual_machines_get_operation_status( + resource_group_name="local-test-rg", + location="eastus", + name="00000000-0000-0000-0000-000000000102", + ) + print(response) + + +# x-ms-original-file: 2026-08-06-preview/BulkCreateCustom_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json +if __name__ == "__main__": + main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py index 4aa893982ef0..02ccd0d6eb22 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_cancel_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_Cancel_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_Cancel_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_create_or_update_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_create_or_update_maximum_set_gen.py index a11623724087..c8a2e2c886f1 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_create_or_update_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_create_or_update_maximum_set_gen.py @@ -397,6 +397,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py index 6bb5bb07c304..a13cf74359f3 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_delete_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py index 2301b4266659..40fe6bd575e8 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py index ecda02d03db5..54e56883f475 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_get_operation_status_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_GetOperationStatus_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_GetOperationStatus_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py index 39af2ae2321b..9ded058c98a0 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py index 12c8a52e40e4..00826eec1c51 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_resource_group_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_ListByResourceGroup_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_ListByResourceGroup_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py index e11baad411aa..5bb1c9182296 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_ListBySubscription_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_ListBySubscription_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py index 9b44228211b5..973bf3aecb9b 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_by_subscription_minimum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_ListBySubscription_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_ListBySubscription_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py index 9ae025f46d7d..e1f5a33fbdc9 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/launch_bulk_instances_operation_list_virtual_machines_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/LaunchBulkInstancesOperation_ListVirtualMachines_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/LaunchBulkInstancesOperation_ListVirtualMachines_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py index 2d922183c4c5..9d47ba017035 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrence_extension_list_occurrence_by_vms_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/OccurrenceExtension_ListOccurrenceByVms_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/OccurrenceExtension_ListOccurrenceByVms_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py index ec6e43bf5046..22691f80db5a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_cancel_maximum_set_gen.py @@ -44,6 +44,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/Occurrences_Cancel_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Occurrences_Cancel_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py index 91d498767080..8d49eccc74d2 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_delay_maximum_set_gen.py @@ -45,6 +45,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/Occurrences_Delay_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Occurrences_Delay_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py index 4bbb90d3d93a..947a8b44eb15 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_get_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/Occurrences_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Occurrences_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py index 4da3d4d25976..dc1f96638af2 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_by_scheduled_action_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/Occurrences_ListByScheduledAction_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Occurrences_ListByScheduledAction_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py index cbac62e6b3b8..f35b0745fad6 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/occurrences_list_resources_maximum_set_gen.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/Occurrences_ListResources_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Occurrences_ListResources_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py index fede33a5906e..3dbf0b09aa53 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_maximum_set_gen.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/Operations_List_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Operations_List_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py index 74c7b1a14cbd..668b4ef1c9d4 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/operations_list_minimum_set_gen.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/Operations_List_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/Operations_List_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py index 94e1d75094af..9d15be5c99fa 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_extension_list_by_vms_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/ScheduledActionExtension_ListByVms_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActionExtension_ListByVms_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py index 671485e9a363..20ec979e65de 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_action_operation_status_get_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActionOperationStatus_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActionOperationStatus_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py index c8b84ce5eca1..ddc399b8ab9a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_attach_resources_maximum_set_gen.py @@ -48,6 +48,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_AttachResources_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_AttachResources_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py index ac86bfbb0911..1af6b773b24a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_cancel_next_occurrence_maximum_set_gen.py @@ -43,6 +43,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_CancelNextOccurrence_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_CancelNextOccurrence_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py index f3e837d5627c..4a4abd562141 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_create_or_update_maximum_set_gen.py @@ -63,6 +63,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_CreateOrUpdate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_CreateOrUpdate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py index dc414dd14a0c..d0da74b4ebb4 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_delete_maximum_set_gen.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_Delete_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_Delete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py index 465f0c6352f3..5e09d816c7f5 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_detach_resources_maximum_set_gen.py @@ -43,6 +43,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_DetachResources_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_DetachResources_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py index 314830c00d6f..e6a0af3f1651 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_disable_maximum_set_gen.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_Disable_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_Disable_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py index 29169901b038..0ae4bd6bb020 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_enable_maximum_set_gen.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_Enable_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_Enable_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py index af938f8f0d42..b825b977ba14 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_get_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_Get_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_Get_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py index b3844ce027e2..bc34a0c92a3f 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_resource_group_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_ListByResourceGroup_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_ListByResourceGroup_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py index d28910501136..ff4d751e020d 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_by_subscription_maximum_set_gen.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_ListBySubscription_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_ListBySubscription_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py index 7a95dd023151..2539841887cf 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_list_resources_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_ListResources_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_ListResources_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py index af581aa89a25..057379a1021e 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_patch_resources_maximum_set_gen.py @@ -48,6 +48,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_PatchResources_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_PatchResources_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py index cc3bf4825df8..1fa639ac7e84 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_trigger_manual_occurrence_maximum_set_gen.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_TriggerManualOccurrence_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_TriggerManualOccurrence_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py index db565f29933e..0c2eeb4c9bf0 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/scheduled_actions_update_maximum_set_gen.py @@ -61,6 +61,6 @@ def main(): ).result() -# x-ms-original-file: 2026-07-06-preview/ScheduledActions_Update_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/ScheduledActions_Update_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_maximum_set_gen.py index 3eeed8fd8704..874452219785 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkAcknowledgeOperationErrors_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkAcknowledgeOperationErrors_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_minimum_set_gen.py index da4aae45b98a..282b0f74ed6b 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_acknowledge_operation_errors_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkAcknowledgeOperationErrors_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkAcknowledgeOperationErrors_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py index eb1b9258df34..0cec9e5955d8 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkCancel_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkCancel_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py index 88cefc75e4a6..66a3efb711c5 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_cancel_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkCancel_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkCancel_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_maximum_set_gen.py index e40191d65365..455bbd5fb78a 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_maximum_set_gen.py @@ -628,6 +628,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkCreate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkCreate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py index cf1269282494..4f0ca886f798 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_create_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkCreate_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkCreate_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py index b3eefb940f9a..cfa279d8731f 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_maximum_set_gen.py @@ -48,6 +48,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkDeallocate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkDeallocate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py index c4769f6ea67b..a5cf6eeb6a7e 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_deallocate_minimum_set_gen.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkDeallocate_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkDeallocate_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py index 4247ea236710..3af35b98497d 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_maximum_set_gen.py @@ -49,6 +49,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkDelete_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkDelete_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py index 832b3ef70de9..71f2c232cddc 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_delete_minimum_set_gen.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkDelete_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkDelete_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py index 5fd7a83f8deb..c9dd680fefc9 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkGetOperationsStatus_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkGetOperationsStatus_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py index eeedc4b030a4..bd593774762b 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_get_operations_status_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkGetOperationsStatus_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkGetOperationsStatus_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py index 55f9bcd33304..75ae9fbe7c94 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_maximum_set_gen.py @@ -51,6 +51,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkHibernate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkHibernate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py index baf08e8cbaef..cd8ab697d855 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_hibernate_minimum_set_gen.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkHibernate_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkHibernate_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_maximum_set_gen.py index 70d66d08b98e..96bf87248267 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_maximum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkListOperationErrors_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkListOperationErrors_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_minimum_set_gen.py index a1866d230825..dfcef8473e71 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_list_operation_errors_minimum_set_gen.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkListOperationErrors_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkListOperationErrors_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py index cd3fac891a06..373c8b81cdec 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_reimage_maximum_set_gen.py @@ -68,6 +68,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkReimage_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkReimage_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py index 7eb365e58a5c..dfce58731d79 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_maximum_set_gen.py @@ -36,7 +36,12 @@ def main(): location="useast2euap", request_body={ "executionParameters": { - "retryPolicy": {"onFailureAction": "Unknown", "retryCount": 2, "retryWindowInMinutes": 19} + "capacityRecommendationParameters": { + "availabilityZones": True, + "desiredLocations": ["eastus", "westus2"], + "desiredSizes": ["Standard_D2s_v5", "Standard_D4s_v5"], + }, + "retryPolicy": {"onFailureAction": "Unknown", "retryCount": 2, "retryWindowInMinutes": 19}, }, "resourcesWithContext": { "resources": [ @@ -51,6 +56,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkStart_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkStart_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py index 7c346fc72808..a7cf935f226c 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_start_minimum_set_gen.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkStart_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkStart_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_maximum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_maximum_set_gen.py index a842928f9cab..6f5a8f9df64f 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_maximum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_maximum_set_gen.py @@ -643,6 +643,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkVdiFlexCreate_MaximumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkVdiFlexCreate_MaximumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_minimum_set_gen.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_minimum_set_gen.py index a446185e5689..8ab638240d66 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_minimum_set_gen.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_samples/virtual_machine_bulk_operations_bulk_vdi_flex_create_minimum_set_gen.py @@ -48,6 +48,6 @@ def main(): print(response) -# x-ms-original-file: 2026-07-06-preview/VirtualMachineBulkOperations_BulkVdiFlexCreate_MinimumSet_Gen.json +# x-ms-original-file: 2026-08-06-preview/VirtualMachineBulkOperations_BulkVdiFlexCreate_MinimumSet_Gen.json if __name__ == "__main__": main() diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations.py index 5b274d1c9262..02f0ddfe0efb 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -330,10 +331,16 @@ def test_bulk_create_custom_begin_create_or_update(self, resource_group): "capacityType": "str", "createdTime": "2020-02-20 00:00:00", "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, }, + "minCapacity": 0, "overridesProfile": { "overrides": [ { @@ -624,7 +631,9 @@ def test_bulk_create_custom_begin_create_or_update(self, resource_group): ], "virtualMachineNamePrefix": "str", }, + "partialFulfillmentPolicy": {"fulfilledCapacity": 0, "mode": "str", "reason": "str"}, "provisioningState": "str", + "resources": [{"virtualMachineInfo": {"name": "str", "vmSize": "str", "zone": "str"}}], "vmSizesProfile": [ { "name": "str", @@ -961,6 +970,18 @@ def test_bulk_create_custom_begin_cancel(self, resource_group): # please add some check logic here by yourself # ... + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_bulk_create_custom_virtual_machines_get_operation_status(self, resource_group): + response = self.client.bulk_create_custom.virtual_machines_get_operation_status( + resource_group_name=resource_group.name, + location="str", + name="str", + ) + + # please add some check logic here by yourself + # ... + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy def test_bulk_create_custom_list_by_resource_group(self, resource_group): diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations_async.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations_async.py index 4276d05cbd71..ec8adbf70daf 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations_async.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_bulk_create_custom_operations_async.py @@ -345,10 +345,16 @@ async def test_bulk_create_custom_begin_create_or_update(self, resource_group): "capacityType": "str", "createdTime": "2020-02-20 00:00:00", "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, }, + "minCapacity": 0, "overridesProfile": { "overrides": [ { @@ -649,7 +655,9 @@ async def test_bulk_create_custom_begin_create_or_update(self, resource_group): ], "virtualMachineNamePrefix": "str", }, + "partialFulfillmentPolicy": {"fulfilledCapacity": 0, "mode": "str", "reason": "str"}, "provisioningState": "str", + "resources": [{"virtualMachineInfo": {"name": "str", "vmSize": "str", "zone": "str"}}], "vmSizesProfile": [ { "name": "str", @@ -1001,6 +1009,18 @@ async def test_bulk_create_custom_begin_cancel(self, resource_group): # please add some check logic here by yourself # ... + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_bulk_create_custom_virtual_machines_get_operation_status(self, resource_group): + response = await self.client.bulk_create_custom.virtual_machines_get_operation_status( + resource_group_name=resource_group.name, + location="str", + name="str", + ) + + # please add some check logic here by yourself + # ... + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) @recorded_by_proxy_async async def test_bulk_create_custom_list_by_resource_group(self, resource_group): diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py index 96076c3c1bec..422358f3bfd7 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations.py @@ -26,6 +26,11 @@ def test_virtual_machine_bulk_operations_bulk_deallocate_operation(self, resourc location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -46,6 +51,11 @@ def test_virtual_machine_bulk_operations_bulk_hibernate_operation(self, resource location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -66,6 +76,11 @@ def test_virtual_machine_bulk_operations_bulk_start_operation(self, resource_gro location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -86,6 +101,11 @@ def test_virtual_machine_bulk_operations_bulk_create_operation(self, resource_gr location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -110,6 +130,11 @@ def test_virtual_machine_bulk_operations_bulk_vdi_flex_create_operation(self, re location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -149,6 +174,11 @@ def test_virtual_machine_bulk_operations_bulk_delete_operation(self, resource_gr location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -194,6 +224,11 @@ def test_virtual_machine_bulk_operations_bulk_reimage_operation(self, resource_g location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py index 0d1e1072eacb..635eb1d8854f 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py +++ b/sdk/compute/azure-mgmt-compute-bulkaction/generated_tests/test_compute_bulk_actions_mgmt_virtual_machine_bulk_operations_operations_async.py @@ -27,6 +27,11 @@ async def test_virtual_machine_bulk_operations_bulk_deallocate_operation(self, r location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -47,6 +52,11 @@ async def test_virtual_machine_bulk_operations_bulk_hibernate_operation(self, re location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -67,6 +77,11 @@ async def test_virtual_machine_bulk_operations_bulk_start_operation(self, resour location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -87,6 +102,11 @@ async def test_virtual_machine_bulk_operations_bulk_create_operation(self, resou location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -111,6 +131,11 @@ async def test_virtual_machine_bulk_operations_bulk_vdi_flex_create_operation(se location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -150,6 +175,11 @@ async def test_virtual_machine_bulk_operations_bulk_delete_operation(self, resou location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, @@ -195,6 +225,11 @@ async def test_virtual_machine_bulk_operations_bulk_reimage_operation(self, reso location="str", request_body={ "executionParameters": { + "capacityRecommendationParameters": { + "availabilityZones": bool, + "desiredLocations": ["str"], + "desiredSizes": ["str"], + }, "optimizationPreference": "str", "retryPolicy": {"onFailureAction": "str", "retryCount": 0, "retryWindowInMinutes": 0}, "verifyVmAgentHealth": bool, diff --git a/sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml b/sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml index ffbc15eed5bc..1bcf3b94e538 100644 --- a/sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml +++ b/sdk/compute/azure-mgmt-compute-bulkaction/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/compute/resource-manager/Microsoft.Compute/Bulkactions -commit: f4b4cd52ac5d40b9eef60d18ba9b3a8911e92edc +commit: bd92126f09e7e3caa74f10fa1c944d1e451813ac repo: Azure/azure-rest-api-specs additionalDirectories: