From 770b0a0fbeb34324a2ad65aea17cd9ad1d206aae Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 1 Dec 2023 21:34:08 +0000 Subject: [PATCH] CodeGen from PR 26928 in Azure/azure-rest-api-specs Merge 1780564dba7e8ca04f138b1cf0d91bcbc9786b01 into 32c63d685a0b03817a504b04be938ce46d06ac19 --- .../azure-mgmt-maintenance/_meta.json | 4 ++-- .../azure/mgmt/maintenance/_configuration.py | 4 ++-- .../_maintenance_management_client.py | 2 +- .../azure/mgmt/maintenance/_version.py | 2 +- .../azure/mgmt/maintenance/aio/_configuration.py | 4 ++-- .../aio/_maintenance_management_client.py | 2 +- ...apply_update_for_resource_group_operations.py | 2 +- .../operations/_apply_updates_operations.py | 12 ++++++------ ..._assignments_for_resource_group_operations.py | 8 ++++---- ...n_assignments_for_subscriptions_operations.py | 8 ++++---- .../_configuration_assignments_operations.py | 16 ++++++++-------- ...assignments_within_subscription_operations.py | 2 +- ...nfigurations_for_resource_group_operations.py | 2 +- .../_maintenance_configurations_operations.py | 10 +++++----- .../mgmt/maintenance/operations/_operations.py | 2 +- ...blic_maintenance_configurations_operations.py | 4 ++-- .../operations/_updates_operations.py | 4 ++-- .../apply_updates_create_or_update.py | 2 +- ...pdates_create_or_update_cancel_maintenance.py | 2 +- .../apply_updates_create_or_update_parent.py | 2 +- .../generated_samples/apply_updates_get.py | 2 +- .../apply_updates_get_parent.py | 2 +- .../generated_samples/apply_updates_list.py | 2 +- .../apply_updates_resource_group_list.py | 2 +- ...configuration_assignments_create_or_update.py | 2 +- ...ration_assignments_create_or_update_parent.py | 2 +- .../configuration_assignments_delete.py | 2 +- .../configuration_assignments_delete_parent.py | 2 +- ...nments_for_resource_group_create_or_update.py | 2 +- ...tion_assignments_for_resource_group_delete.py | 2 +- ...uration_assignments_for_resource_group_get.py | 2 +- ...nts_for_resource_group_update_for_resource.py | 2 +- ...gnments_for_subscriptions_create_or_update.py | 2 +- ...ation_assignments_for_subscriptions_delete.py | 2 +- ...guration_assignments_for_subscriptions_get.py | 2 +- ...ents_for_subscriptions_update_for_resource.py | 2 +- .../configuration_assignments_get.py | 2 +- .../configuration_assignments_get_parent.py | 2 +- .../configuration_assignments_list.py | 2 +- .../configuration_assignments_list_parent.py | 2 +- ...ssignments_result_within_subscription_list.py | 2 +- ...nfigurations_create_or_update_for_resource.py | 2 +- ...tenance_configurations_delete_for_resource.py | 2 +- ...aintenance_configurations_get_for_resource.py | 2 +- ...ions_get_for_resource_guest_os_patch_linux.py | 2 +- ...ns_get_for_resource_guest_os_patch_windows.py | 2 +- .../maintenance_configurations_list.py | 2 +- ...tenance_configurations_resource_group_list.py | 2 +- ...tenance_configurations_update_for_resource.py | 2 +- .../generated_samples/operations_list.py | 2 +- ...aintenance_configurations_get_for_resource.py | 2 +- .../public_maintenance_configurations_list.py | 2 +- .../generated_samples/updates_list.py | 2 +- .../generated_samples/updates_list_parent.py | 2 +- 54 files changed, 81 insertions(+), 81 deletions(-) diff --git a/sdk/maintenance/azure-mgmt-maintenance/_meta.json b/sdk/maintenance/azure-mgmt-maintenance/_meta.json index 89f22e7ec91e..92174fcf58df 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/_meta.json +++ b/sdk/maintenance/azure-mgmt-maintenance/_meta.json @@ -1,11 +1,11 @@ { - "commit": "e6d90862a97c4f04f0c26a8869602bbfd8b10280", + "commit": "f40ca801e02881d0fd5df40908b0a8305d2ad57f", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest": "3.9.7", "use": [ "@autorest/python@6.7.1", "@autorest/modelerfour@4.26.2" ], - "autorest_command": "autorest specification/maintenance/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False", + "autorest_command": "autorest specification/maintenance/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False", "readme": "specification/maintenance/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_configuration.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_configuration.py index 6b44ec0a34b1..5062490f80b1 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_configuration.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_configuration.py @@ -30,14 +30,14 @@ class MaintenanceManagementClientConfiguration(Configuration): # pylint: disabl :param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None: super(MaintenanceManagementClientConfiguration, self).__init__(**kwargs) - api_version: str = kwargs.pop("api_version", "2023-09-01-preview") + api_version: str = kwargs.pop("api_version", "2023-11-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_maintenance_management_client.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_maintenance_management_client.py index d9b8d12143fe..c342bd534969 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_maintenance_management_client.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_maintenance_management_client.py @@ -78,7 +78,7 @@ class MaintenanceManagementClient: # pylint: disable=client-accepts-api-version :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py index 67a252e2565e..e5754a47ce68 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.2.0b1" +VERSION = "1.0.0b1" diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_configuration.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_configuration.py index 51fe7f211599..4a18ae177d56 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_configuration.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_configuration.py @@ -30,14 +30,14 @@ class MaintenanceManagementClientConfiguration(Configuration): # pylint: disabl :param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None: super(MaintenanceManagementClientConfiguration, self).__init__(**kwargs) - api_version: str = kwargs.pop("api_version", "2023-09-01-preview") + api_version: str = kwargs.pop("api_version", "2023-11-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_maintenance_management_client.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_maintenance_management_client.py index ece472f4259e..9a23e827db0f 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_maintenance_management_client.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/_maintenance_management_client.py @@ -78,7 +78,7 @@ class MaintenanceManagementClient: # pylint: disable=client-accepts-api-version :type subscription_id: str :param base_url: Service URL. Default value is "https://management.azure.com". :type base_url: str - :keyword api_version: Api Version. Default value is "2023-09-01-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-11-01-preview". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_update_for_resource_group_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_update_for_resource_group_operations.py index 6114ed1aea23..996af7b4728e 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_update_for_resource_group_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_update_for_resource_group_operations.py @@ -40,7 +40,7 @@ def build_list_request(resource_group_name: str, subscription_id: str, **kwargs: _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_updates_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_updates_operations.py index 5e8562ae1833..85ea6d339bf1 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_updates_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_apply_updates_operations.py @@ -51,7 +51,7 @@ def build_get_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -93,7 +93,7 @@ def build_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -133,7 +133,7 @@ def build_create_or_update_or_cancel_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -177,7 +177,7 @@ def build_create_or_update_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -217,7 +217,7 @@ def build_create_or_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -248,7 +248,7 @@ def build_list_request(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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_resource_group_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_resource_group_operations.py index d06203eed11c..6938bedc22a4 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_resource_group_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_resource_group_operations.py @@ -41,7 +41,7 @@ def build_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -74,7 +74,7 @@ def build_create_or_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -110,7 +110,7 @@ def build_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -146,7 +146,7 @@ def build_delete_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_subscriptions_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_subscriptions_operations.py index a727d19ae270..8ae233c3a08f 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_subscriptions_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_for_subscriptions_operations.py @@ -39,7 +39,7 @@ def build_get_request(configuration_assignment_name: str, subscription_id: str, _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -71,7 +71,7 @@ def build_create_or_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -104,7 +104,7 @@ def build_update_request(configuration_assignment_name: str, subscription_id: st _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -137,7 +137,7 @@ def build_delete_request(configuration_assignment_name: str, subscription_id: st _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_operations.py index 030a93f9e3d6..8d878d21dcb0 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_operations.py @@ -51,7 +51,7 @@ def build_get_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -97,7 +97,7 @@ def build_create_or_update_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -146,7 +146,7 @@ def build_delete_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -190,7 +190,7 @@ def build_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -232,7 +232,7 @@ def build_create_or_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -277,7 +277,7 @@ def build_delete_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -320,7 +320,7 @@ def build_list_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -360,7 +360,7 @@ def build_list_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_within_subscription_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_within_subscription_operations.py index b93d6cd8e0c5..0834d7108ffb 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_within_subscription_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_configuration_assignments_within_subscription_operations.py @@ -40,7 +40,7 @@ def build_list_request(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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_for_resource_group_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_for_resource_group_operations.py index 02b2dbb9a41c..9e672d86e194 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_for_resource_group_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_for_resource_group_operations.py @@ -40,7 +40,7 @@ def build_list_request(resource_group_name: str, subscription_id: str, **kwargs: _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_operations.py index 6273e3bcbc96..84264824021e 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_maintenance_configurations_operations.py @@ -41,7 +41,7 @@ def build_get_request(resource_group_name: str, resource_name: str, subscription _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -72,7 +72,7 @@ def build_create_or_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -106,7 +106,7 @@ def build_delete_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -137,7 +137,7 @@ def build_update_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -169,7 +169,7 @@ def build_list_request(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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_operations.py index 8ecd8faea315..9e54bf9d10bd 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_operations.py @@ -40,7 +40,7 @@ def build_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_public_maintenance_configurations_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_public_maintenance_configurations_operations.py index e5cbaaaa3aaa..7d182510c9dc 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_public_maintenance_configurations_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_public_maintenance_configurations_operations.py @@ -40,7 +40,7 @@ def build_list_request(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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -67,7 +67,7 @@ def build_get_request(resource_name: str, subscription_id: str, **kwargs: Any) - _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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_updates_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_updates_operations.py index 4f8efcaf1f88..cd23a85d9e80 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_updates_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/operations/_updates_operations.py @@ -49,7 +49,7 @@ def build_list_parent_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -89,7 +89,7 @@ def build_list_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", "2023-09-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-11-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update.py index cdbd5a4346ed..8d8883a47a90 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_CreateOrUpdate.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_cancel_maintenance.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_cancel_maintenance.py index 4d6e0f14a6c2..a493549e1665 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_cancel_maintenance.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_cancel_maintenance.py @@ -40,6 +40,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_CreateOrUpdate_CancelMaintenance.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_CreateOrUpdate_CancelMaintenance.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_parent.py index ae2090c9722d..b63d0c80ea9c 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_create_or_update_parent.py @@ -40,6 +40,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_CreateOrUpdateParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_CreateOrUpdateParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get.py index 401230b6eb70..ab351bcd04b6 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_Get.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_Get.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get_parent.py index ecfaefe92dd7..c923f813cbc9 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_get_parent.py @@ -41,6 +41,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_GetParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_GetParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_list.py index a78f8ff09af4..5faa44456916 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_list.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdates_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdates_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_resource_group_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_resource_group_list.py index 425141e41975..6faeba60f951 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_resource_group_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/apply_updates_resource_group_list.py @@ -36,6 +36,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ApplyUpdatesResourceGroup_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ApplyUpdatesResourceGroup_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update.py index 14dfe754f0c1..630e690f65d2 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update.py @@ -44,6 +44,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_CreateOrUpdate.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update_parent.py index e880a132cb94..5dffcdba73a7 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_create_or_update_parent.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_CreateOrUpdateParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_CreateOrUpdateParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete.py index b6fdf6121721..36b19c97367e 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_Delete.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_Delete.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete_parent.py index 7040ca147788..4b7d1af9d435 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_delete_parent.py @@ -41,6 +41,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_DeleteParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_DeleteParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_create_or_update.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_create_or_update.py index 2ef9a3f71bc4..e913ad6f3cd2 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_create_or_update.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_create_or_update.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_delete.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_delete.py index 31685d637b9f..268c99de99e1 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_delete.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_delete.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Delete.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Delete.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_get.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_get.py index cd0c71e03237..a932b9cb9052 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_get.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_get.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Get.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Get.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_update_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_update_for_resource.py index 818d6f1ab6cb..c5db7108ec42 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_update_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_resource_group_update_for_resource.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_create_or_update.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_create_or_update.py index f43a5bf5c785..a7ea5e0819d2 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_create_or_update.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_create_or_update.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_delete.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_delete.py index c78860fe92ce..366c6128dc86 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_delete.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_delete.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Delete.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Delete.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_get.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_get.py index 8aff724a0f96..c42091ee6882 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_get.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_get.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Get.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Get.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_update_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_update_for_resource.py index 5f23cf792754..2483c5ebe39a 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_update_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_for_subscriptions_update_for_resource.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get.py index 2263b924958f..2eaef2772c73 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_Get.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_Get.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get_parent.py index df66f9d76f95..c123e9eac774 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_get_parent.py @@ -41,6 +41,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_GetParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_GetParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list.py index a7e45a439a30..ed02ff7fda89 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list_parent.py index 2689a4bb0d69..782aefd97aa1 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_list_parent.py @@ -41,6 +41,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignments_ListParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignments_ListParent.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_result_within_subscription_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_result_within_subscription_list.py index 8200601ff1cf..70dd69af58ad 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_result_within_subscription_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/configuration_assignments_result_within_subscription_list.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/ConfigurationAssignmentsResultWithinSubscription_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/ConfigurationAssignmentsResultWithinSubscription_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_create_or_update_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_create_or_update_for_resource.py index a0b1cd9c4be1..157e59d36f6a 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_create_or_update_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_create_or_update_for_resource.py @@ -51,6 +51,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_delete_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_delete_for_resource.py index 09c7fb77e4c5..b34f3836e0c3 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_delete_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_delete_for_resource.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_DeleteForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_DeleteForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource.py index 62da2da83359..bf376c81ba31 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_GetForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_GetForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_linux.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_linux.py index 43f1a16988e2..1e33f2f265f9 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_linux.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_linux.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_windows.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_windows.py index d43be4d74f7e..c892be431878 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_windows.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_get_for_resource_guest_os_patch_windows.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_list.py index b489624b9960..8305eeb58642 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_list.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_resource_group_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_resource_group_list.py index d07f9e919715..f7fb1428afd8 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_resource_group_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_resource_group_list.py @@ -36,6 +36,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurationsResourceGroup_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurationsResourceGroup_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_update_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_update_for_resource.py index d48b3f6fef19..c3476596c2f2 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_update_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/maintenance_configurations_update_for_resource.py @@ -51,6 +51,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/MaintenanceConfigurations_UpdateForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/MaintenanceConfigurations_UpdateForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/operations_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/operations_list.py index 493012295f95..b111d333b69d 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/operations_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/operations_list.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/Operations_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/Operations_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_get_for_resource.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_get_for_resource.py index c5ac8f6299b7..187135c0cb17 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_get_for_resource.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_get_for_resource.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_list.py index 611f5d258049..50c8bb25c4b7 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/public_maintenance_configurations_list.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/PublicMaintenanceConfigurations_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/PublicMaintenanceConfigurations_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list.py index 1631cc9ff6c0..d0a0ecec1a50 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list.py @@ -39,6 +39,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/Updates_List.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/Updates_List.json if __name__ == "__main__": main() diff --git a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list_parent.py b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list_parent.py index 51639aad431d..8f0c311a192c 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list_parent.py +++ b/sdk/maintenance/azure-mgmt-maintenance/generated_samples/updates_list_parent.py @@ -41,6 +41,6 @@ def main(): print(item) -# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-09-01-preview/examples/Updates_ListParent.json +# x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-11-01-preview/examples/Updates_ListParent.json if __name__ == "__main__": main()