From 2137f759bd5cba82c8727b87a14db767d7301969 Mon Sep 17 00:00:00 2001 From: "Jiefeng Chen (WICRESOFT NORTH AMERICA LTD)" Date: Thu, 8 Apr 2021 17:37:40 +0800 Subject: [PATCH 1/9] Update test link --- src/azure-cli-core/azure/cli/core/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli-core/azure/cli/core/util.py b/src/azure-cli-core/azure/cli/core/util.py index 15a1e1b5708..21f9284adcb 100644 --- a/src/azure-cli-core/azure/cli/core/util.py +++ b/src/azure-cli-core/azure/cli/core/util.py @@ -783,7 +783,7 @@ def find_child_collection(parent, *args, **kwargs): return collection -def check_connectivity(url='https://example.org', max_retries=5, timeout=1): +def check_connectivity(url='https://azure.microsoft.com', max_retries=5, timeout=1): import requests import timeit start = timeit.default_timer() From 901d9c8b0d03371351f6fa571862a5dc1b777fa3 Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Thu, 13 May 2021 13:39:07 +0800 Subject: [PATCH 2/9] Update requirements --- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 4a968b9ba84..e7c17d78753 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -23,7 +23,7 @@ azure-mgmt-apimanagement==0.2.0 azure-mgmt-appconfiguration==1.0.1 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.61.0 -azure-mgmt-batch==9.0.0 +azure-mgmt-batch==15.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index d173bad5802..e58d6fe0c1b 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -23,7 +23,7 @@ azure-mgmt-apimanagement==0.2.0 azure-mgmt-appconfiguration==1.0.1 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.61.0 -azure-mgmt-batch==9.0.0 +azure-mgmt-batch==15.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index ef14143240b..9b65a8de7a0 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -4,7 +4,7 @@ applicationinsights==0.11.7 argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 -azure-batch==10.0.0 +azure-batch==15.0.0 azure-cli-core==2.23.0 azure-cli-telemetry==1.0.6 azure-cli==2.23.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 202b5f214e0..4b48edd69ab 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -68,7 +68,7 @@ 'azure-mgmt-applicationinsights~=0.1.1', 'azure-mgmt-authorization~=0.61.0', 'azure-mgmt-batchai~=2.0', - 'azure-mgmt-batch~=9.0.0', + 'azure-mgmt-batch~=15.0.0', 'azure-mgmt-billing==1.0.0', 'azure-mgmt-botservice~=0.3.0', 'azure-mgmt-cdn==11.0.0', From 81ae19c7662d760bd9806883f23dadad8c501c39 Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Tue, 18 May 2021 14:27:47 +0800 Subject: [PATCH 3/9] Fix batch_data_plane --- .../azure/cli/command_modules/batch/_client_factory.py | 4 ++-- .../azure/cli/command_modules/batch/_validators.py | 8 ++++---- src/azure-cli/azure/cli/command_modules/batch/custom.py | 6 +++--- .../batch/tests/latest/test_batch_data_plane_commands.py | 2 +- .../resource_providers/batch_provider.py | 4 ++-- src/azure-cli/requirements.py3.windows.txt | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py index b2ed633adca..3e623fde16a 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py @@ -59,9 +59,9 @@ def compute_node_client_factory(cli_ctx, kwargs): def batch_client_factory(cli_ctx, **_): - from azure.mgmt.batch import BatchManagementClient + from azure.mgmt.batch import BatchManagement from azure.cli.core.commands.client_factory import get_mgmt_service_client - return get_mgmt_service_client(cli_ctx, BatchManagementClient) + return get_mgmt_service_client(cli_ctx, BatchManagement) def batch_data_service_factory(cli_ctx, kwargs): diff --git a/src/azure-cli/azure/cli/command_modules/batch/_validators.py b/src/azure-cli/azure/cli/command_modules/batch/_validators.py index bb8296a5a34..316331872c2 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_validators.py @@ -166,10 +166,10 @@ def keyvault_id(cmd, namespace): def application_enabled(cmd, namespace): """Validates account has auto-storage enabled""" - from azure.mgmt.batch import BatchManagementClient + from azure.mgmt.batch import BatchManagement from azure.cli.core.commands.client_factory import get_mgmt_service_client - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient) + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagement) acc = client.batch_account.get(namespace.resource_group_name, namespace.account_name) if not acc: raise ValueError("Batch account '{}' not found.".format(namespace.account_name)) @@ -294,7 +294,7 @@ def validate_cert_settings(namespace): def validate_client_parameters(cmd, namespace): """Retrieves Batch connection parameters from environment variables""" - from azure.mgmt.batch import BatchManagementClient + from azure.mgmt.batch import BatchManagement from azure.cli.core.commands.client_factory import get_mgmt_service_client # simply try to retrieve the remaining variables from environment variables @@ -315,7 +315,7 @@ def validate_client_parameters(cmd, namespace): if cmd.cli_ctx.config.get('batch', 'auth_mode', 'shared_key') == 'shared_key': endpoint = urlsplit(namespace.account_endpoint) host = endpoint.netloc - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient) + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagement) acc = next((x for x in client.batch_account.list() if x.name == namespace.account_name and x.account_endpoint == host), None) if acc: diff --git a/src/azure-cli/azure/cli/command_modules/batch/custom.py b/src/azure-cli/azure/cli/command_modules/batch/custom.py index fa3a7701b40..fe85a52086d 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -11,7 +11,7 @@ from msrest.exceptions import DeserializationError -from azure.mgmt.batch import BatchManagementClient +from azure.mgmt.batch import BatchManagement from azure.mgmt.batch.models import (BatchAccountCreateParameters, BatchAccountUpdateParameters, AutoStorageBaseProperties, Application, EncryptionProperties, @@ -99,7 +99,7 @@ def create_account(client, parameters.key_vault_reference = {'id': keyvault, 'url': keyvault_url} parameters.pool_allocation_mode = 'UserSubscription' - return sdk_no_wait(no_wait, client.create, resource_group_name=resource_group_name, + return sdk_no_wait(no_wait, client.begin_create, resource_group_name=resource_group_name, account_name=account_name, parameters=parameters) @@ -215,7 +215,7 @@ def create_application_package(cmd, client, resource_group_name, account_name, application_name, version_name, package_file): # create application if not exist - mgmt_client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient) + mgmt_client = get_mgmt_service_client(cmd.cli_ctx, BatchManagement) try: mgmt_client.application.get(resource_group_name, account_name, application_name) except Exception: # pylint:disable=broad-except diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_data_plane_commands.py b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_data_plane_commands.py index 4b2f6f042a6..605447f36fc 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_data_plane_commands.py +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_data_plane_commands.py @@ -229,7 +229,7 @@ def test_batch_jobs_and_tasks(self, resource_group, batch_account_name): self.batch_cmd('batch pool create --id {p_id} --vm-size small --os-family 4') # test create job with missing parameters - self.kwargs['start'] = datetime.datetime.now().isoformat() + self.kwargs['start'] = datetime.datetime.utcnow().isoformat() with self.assertRaises(SystemExit): self.batch_cmd('batch job create --id {j_id} --metadata test=value ' '--job-manager-task-environment-settings a=b ' diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py index a0d6842b58c..d21fc247d4f 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py @@ -3,7 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- from azure.cli.core.commands.client_factory import get_mgmt_service_client -from azure.mgmt.batch import BatchManagementClient +from azure.mgmt.batch import BatchManagement from azure.mgmt.batch.models import PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStatus from knack.log import get_logger from . import GeneralPrivateEndpointClient @@ -34,7 +34,7 @@ def _update_private_endpoint_connection_status(self, client = get_mgmt_service_client( cmd.cli_ctx, - BatchManagementClient).private_endpoint_connection + BatchManagement).private_endpoint_connection return client.update( resource_group_name=resource_group_name, account_name=resource_name, diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 9b65a8de7a0..00270bb796a 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -4,7 +4,7 @@ applicationinsights==0.11.7 argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 -azure-batch==15.0.0 +azure-batch==10.0.0 azure-cli-core==2.23.0 azure-cli-telemetry==1.0.6 azure-cli==2.23.0 @@ -23,7 +23,7 @@ azure-mgmt-apimanagement==0.2.0 azure-mgmt-appconfiguration==1.0.1 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.61.0 -azure-mgmt-batch==9.0.0 +azure-mgmt-batch==15.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 From 875f0a01e76328e9b426533f30303c5f4627dbbe Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Tue, 25 May 2021 15:01:55 +0800 Subject: [PATCH 4/9] Fix 2 tests --- .../cli/command_modules/batch/_params.py | 16 +++++++++--- .../cli/command_modules/batch/commands.py | 8 +++--- .../azure/cli/command_modules/batch/custom.py | 26 ++++++++++++++++--- 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_params.py b/src/azure-cli/azure/cli/command_modules/batch/_params.py index b53ff968938..e6451bd7068 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -82,6 +82,12 @@ def load_arguments(self, _): c.argument('identity_type', help="The type of identity used for the Batch account. Possible values include: 'SystemAssigned', 'None'.", arg_type=get_enum_type(ResourceIdentityType)) with self.argument_context('batch account keys renew') as c: + c.argument('resource_group_name', resource_group_name_type, + help='Name of the resource group. If not specified will display currently set account.', + required=False) + c.argument('account_name', batch_name_type, options_list=('--name', '-n'), + help='Name of the batch account to show. If not specified will display currently set account.', + required=False) c.argument('key_name', arg_type=get_enum_type(AccountKeyType)) with self.argument_context('batch account login') as c: @@ -95,10 +101,12 @@ def load_arguments(self, _): with self.argument_context('batch application create') as c: c.argument('allow_updates', options_list=('--allow-updates',), action="store_true", help="Specify to indicate whether packages within the application may be overwritten using the same version string. True if flag present.") - with self.argument_context('batch application package create') as c: - c.argument('package_file', type=file_type, help='The path of the application package in zip format', completer=FilesCompleter()) - c.argument('application_name', options_list=('--application-name',), help="The name of the application.") - c.argument('version_name', options_list=('--version-name',), help="The version name of the application.") + for command in ['create', 'activate']: + with self.argument_context('batch application package {}'.format(command)) as c: + c.argument('package_file', type=file_type, help='The path of the application package in zip format', completer=FilesCompleter()) + c.argument('application_name', options_list=('--application-name',), help="The name of the application.") + c.argument('version_name', options_list=('--version-name',), help="The version name of the application.") + c.argument('format', options_list=('--format',), help="The format of the application package binary file.") with self.argument_context('batch location quotas show') as c: c.argument('location_name', get_location_type(self.cli_ctx), help='The region from which to display the Batch service quotas.') diff --git a/src/azure-cli/azure/cli/command_modules/batch/commands.py b/src/azure-cli/azure/cli/command_modules/batch/commands.py index fb5fe13348f..30f526f1e51 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/commands.py +++ b/src/azure-cli/azure/cli/command_modules/batch/commands.py @@ -54,11 +54,12 @@ def get_data_factory(name): g.custom_show_command('show', 'get_account') g.custom_command('create', 'create_account', supports_no_wait=True) g.custom_command('set', 'update_account') - g.command('delete', 'delete', supports_no_wait=True, confirmation=True) + g.command('delete', 'begin_delete', supports_no_wait=True, confirmation=True) g.custom_command('login', 'login_account') g.command('autostorage-keys sync', 'synchronize_auto_storage_keys') g.command('keys list', 'get_keys', table_transformer=account_keys_list_table_format) - g.command('keys renew', 'regenerate_key', table_transformer=account_keys_renew_table_format) + # g.command('keys renew', 'regenerate_key', table_transformer=account_keys_renew_table_format) + g.custom_command('keys renew', 'renew_accounts_keys', table_transformer=account_keys_renew_table_format) with self.command_group('batch application', get_mgmt_type('application'), client_factory=get_mgmt_factory('application')) as g: g.command('list', 'list', table_transformer=application_list_table_format) @@ -71,7 +72,8 @@ def get_data_factory(name): g.custom_command('create', 'create_application_package') g.command('delete', 'delete', confirmation=True) g.show_command('show', 'get') - g.command('activate', 'activate') + # g.command('activate', 'activate') + g.custom_command('activate', 'activate_application_package') g.command('list', 'list') with self.command_group('batch location quotas', get_mgmt_type('location')) as g: diff --git a/src/azure-cli/azure/cli/command_modules/batch/custom.py b/src/azure-cli/azure/cli/command_modules/batch/custom.py index fe85a52086d..ed06855544e 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -13,9 +13,10 @@ from azure.mgmt.batch import BatchManagement from azure.mgmt.batch.models import (BatchAccountCreateParameters, BatchAccountUpdateParameters, - AutoStorageBaseProperties, + AutoStorageBaseProperties, ActivateApplicationPackageParameters, Application, EncryptionProperties, - KeyVaultProperties, BatchAccountIdentity) + KeyVaultProperties, BatchAccountIdentity, + BatchAccountRegenerateKeyParameters) from azure.mgmt.batch.operations import (ApplicationPackageOperations) from azure.batch.models import (CertificateAddParameter, PoolStopResizeOptions, PoolResizeParameter, @@ -171,6 +172,13 @@ def login_account(cmd, client, resource_group_name, account_name, shared_key_aut } +def renew_accounts_keys(client, resource_group_name, account_name, key_name=None): + parameters = BatchAccountRegenerateKeyParameters(key_name=key_name) + + return client.regenerate_key(resource_group_name=resource_group_name, + account_name=account_name,parameters=parameters) + + @transfer_doc(Application) def update_application(client, resource_group_name, account_name, application_name, allow_updates=None, @@ -228,10 +236,22 @@ def create_application_package(cmd, client, _upload_package_blob(cmd.cli_ctx, package_file, result.storage_url) # activate the application package - client.activate(resource_group_name, account_name, application_name, version_name, "zip") + parameters = ActivateApplicationPackageParameters(format="zip") + client.activate(resource_group_name, account_name, application_name, version_name, parameters) return client.get(resource_group_name, account_name, application_name, version_name) + +@transfer_doc(ApplicationPackageOperations.activate) +def activate_application_package(cmd, client, + resource_group_name, account_name, application_name, version_name, + format): + + # activate the application package + parameters = ActivateApplicationPackageParameters(format=format) + return client.activate(resource_group_name, account_name, application_name, version_name, parameters) + + # Data plane custom commands From f56208eaeeffde647bf8c74f07365323e0cea0df Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Tue, 25 May 2021 15:19:33 +0800 Subject: [PATCH 5/9] Fix their style and linter --- .../cli/command_modules/batch/_params.py | 2 +- .../azure/cli/command_modules/batch/custom.py | 8 +- .../recordings/test_batch_jobs_and_tasks.yaml | 180 +++++---- .../test_batch_pools_and_nodes.yaml | 342 +++++++++--------- 4 files changed, 259 insertions(+), 273 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_params.py b/src/azure-cli/azure/cli/command_modules/batch/_params.py index e6451bd7068..5b0d22e1e75 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -88,7 +88,7 @@ def load_arguments(self, _): c.argument('account_name', batch_name_type, options_list=('--name', '-n'), help='Name of the batch account to show. If not specified will display currently set account.', required=False) - c.argument('key_name', arg_type=get_enum_type(AccountKeyType)) + c.argument('key_name', arg_type=get_enum_type(AccountKeyType), help='Name of the batch account key.') with self.argument_context('batch account login') as c: c.argument('shared_key_auth', action='store_true', help='Using Shared Key authentication, if not specified, it will use Azure Active Directory authentication.') diff --git a/src/azure-cli/azure/cli/command_modules/batch/custom.py b/src/azure-cli/azure/cli/command_modules/batch/custom.py index ed06855544e..b8c6348e6bf 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -176,7 +176,7 @@ def renew_accounts_keys(client, resource_group_name, account_name, key_name=None parameters = BatchAccountRegenerateKeyParameters(key_name=key_name) return client.regenerate_key(resource_group_name=resource_group_name, - account_name=account_name,parameters=parameters) + account_name=account_name, parameters=parameters) @transfer_doc(Application) @@ -241,12 +241,8 @@ def create_application_package(cmd, client, return client.get(resource_group_name, account_name, application_name, version_name) - @transfer_doc(ApplicationPackageOperations.activate) -def activate_application_package(cmd, client, - resource_group_name, account_name, application_name, version_name, - format): - +def activate_application_package(client, resource_group_name, account_name, application_name, version_name, format): # activate the application package parameters = ActivateApplicationPackageParameters(format=format) return client.activate(resource_group_name, account_name, application_name, version_name, parameters) diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml index 2e11dae6b22..8dbfe78a50f 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '26' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:15:52 GMT + - Tue, 25 May 2021 07:15:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/dabc79e3-76f9-4c75-88bf-ad8904b74808?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63620cd5-d443-40ce-a780-72c7916ff77a?api-version=2021-01-01 pragma: - no-cache server: @@ -46,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 202 message: Accepted @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,29 +61,28 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/dabc79e3-76f9-4c75-88bf-ad8904b74808?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63620cd5-d443-40ce-a780-72c7916ff77a?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2873' + - '2898' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Tue, 25 May 2021 07:16:10 GMT etag: - - '"0x8D9117BCE2D67D6"' + - '"0x8D91F4CF94235E9"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:08 GMT + - Tue, 25 May 2021 07:16:10 GMT pragma: - no-cache server: @@ -118,15 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"34r3F29f6k5XxBgsHyG781dlY+F5uAeqf3DHNzfUV0UJ0wa2vYWaNW7w9bAf/Wy5WstsAzurDI5wI3jyZ/UVbg==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"fCSTk3LNrhI8DYioICwbszjK1rp832IbyysV1uG2mIAxGPg+yg1Cxf3FbrDAjdXMFKcYf1f4Yj1pvs321n1sqA==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -135,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:09 GMT + - Tue, 25 May 2021 07:16:12 GMT expires: - '-1' pragma: @@ -169,31 +162,28 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2873' + - '2898' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:09 GMT + - Tue, 25 May 2021 07:16:13 GMT etag: - - '"0x8D9117BC7315833"' + - '"0x8D91F4CF229E6BA"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:15:57 GMT + - Tue, 25 May 2021 07:15:59 GMT pragma: - no-cache server: @@ -224,12 +214,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:51 GMT + - Tue, 25 May 2021 07:16:15 GMT return-client-request-id: - 'false' method: POST @@ -239,19 +229,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch7tyy2qkb7gkankz2.canadaeast.batch.azure.com/pools/xplatJobForTaskTests + - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/pools/xplatJobForTaskTests dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Tue, 25 May 2021 07:16:15 GMT etag: - - '0x8D9117BCF6FBBE4' + - '0x8D91F4CFC2FCC09' last-modified: - - Fri, 07 May 2021 17:16:10 GMT + - Tue, 25 May 2021 07:16:15 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/pools/xplatJobForTaskTests request-id: - - c03fd20e-05d5-4366-9b4c-2a9ce47056c6 + - 279cf3c6-efea-49a8-b84e-908d4c89fe12 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -280,12 +270,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Tue, 25 May 2021 07:16:17 GMT return-client-request-id: - 'false' method: POST @@ -295,19 +285,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch7tyy2qkb7gkankz2.canadaeast.batch.azure.com/jobs/job-1 + - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:17 GMT etag: - - '0x8D9117BCFB51105' + - '0x8D91F4CFD11AE33' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:17 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/jobs/job-1 request-id: - - 98ac774c-0e5a-4acd-8c59-4398c398e15b + - f5917ff0-ba5e-46c4-a42e-5bfb0872adf5 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -329,19 +319,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Tue, 25 May 2021 07:16:18 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D9117BCFB51105\",\"lastModified\":\"2021-05-07T17:16:11.3035525Z\",\"creationTime\":\"2021-05-07T17:16:11.2295754Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.3035525Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4CFD11AE33\",\"lastModified\":\"2021-05-25T07:16:17.3405747Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":5\r\n \ },\"jobManagerTask\":{\r\n \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -350,7 +340,7 @@ interactions: \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"metadata\":[\r\n \ {\r\n \"name\":\"test\",\"value\":\"value\"\r\n }\r\n ],\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-07T17:16:11.3035525Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -358,13 +348,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:18 GMT etag: - - '0x8D9117BCFB51105' + - '0x8D91F4CFD11AE33' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:17 GMT request-id: - - d74c377d-ceef-4954-b3f5-30f5ddb01143 + - 179905fb-4791-47ed-b8bb-45d770e98741 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -391,12 +381,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Tue, 25 May 2021 07:16:20 GMT return-client-request-id: - 'false' method: PATCH @@ -406,17 +396,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch7tyy2qkb7gkankz2.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:20 GMT etag: - - '0x8D9117BD00CF023' + - '0x8D91F4CFEB28B95' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:20 GMT request-id: - - 216b5fca-a6f0-4a09-82f7-21ee545de411 + - f425b35a-a819-46df-8a6d-a036fe1d57e5 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -438,19 +428,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Tue, 25 May 2021 07:16:21 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D9117BD00CF023\",\"lastModified\":\"2021-05-07T17:16:11.8794275Z\",\"creationTime\":\"2021-05-07T17:16:11.2295754Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.3035525Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4CFEB28B95\",\"lastModified\":\"2021-05-25T07:16:20.0725397Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P1279DT12H30M5S\",\"maxTaskRetryCount\":0\r\n },\"jobManagerTask\":{\r\n \ \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n \ {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -459,7 +449,7 @@ interactions: \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"metadata\":[\r\n \ {\r\n \"name\":\"test\",\"value\":\"value\"\r\n }\r\n ],\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-07T17:16:11.3035525Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -467,13 +457,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:21 GMT etag: - - '0x8D9117BD00CF023' + - '0x8D91F4CFEB28B95' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Tue, 25 May 2021 07:16:20 GMT request-id: - - 1e1e9298-8457-4320-b768-76f78e507a38 + - 45eca96c-2f7b-4c70-944d-23f89672d4cf server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -500,14 +490,14 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 If-Unmodified-Since: - - Fri, 07 May 2021 13:15:52 GMT + - Tue, 25 May 2021 07:16:17 GMT User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Tue, 25 May 2021 07:16:22 GMT return-client-request-id: - 'false' method: PUT @@ -516,7 +506,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"ConditionNotMet\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"The condition specified using HTTP conditional - header(s) is not met.\\nRequestId:b4f88ff6-4fd9-4efc-bfdc-88151d20e8c3\\nTime:2021-05-07T17:16:12.4281918Z\"\r\n + header(s) is not met.\\nRequestId:e223ee59-3f7f-4356-afac-ca90ec3ca578\\nTime:2021-05-25T07:16:22.7937126Z\"\r\n \ }\r\n}" headers: content-length: @@ -526,9 +516,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:22 GMT request-id: - - b4f88ff6-4fd9-4efc-bfdc-88151d20e8c3 + - e223ee59-3f7f-4356-afac-ca90ec3ca578 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -553,12 +543,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Tue, 25 May 2021 07:16:24 GMT return-client-request-id: - 'false' method: PUT @@ -568,17 +558,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch7tyy2qkb7gkankz2.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:24 GMT etag: - - '0x8D9117BD088A46D' + - '0x8D91F4D01212684' last-modified: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:24 GMT request-id: - - c537fe7e-91ef-460a-825b-c6a9de1fa92b + - 30251efb-5e8d-4ec7-af3b-08ca2668fc0f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -600,19 +590,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:54 GMT + - Tue, 25 May 2021 07:16:25 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D9117BD088A46D\",\"lastModified\":\"2021-05-07T17:16:12.6901357Z\",\"creationTime\":\"2021-05-07T17:16:11.2295754Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.3035525Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4D01212684\",\"lastModified\":\"2021-05-25T07:16:24.1528452Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n \ },\"jobManagerTask\":{\r\n \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -620,7 +610,7 @@ interactions: \ },\"requiredSlots\":1,\"userIdentity\":{\r\n \"autoUser\":{\r\n \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-07T17:16:11.3035525Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -628,13 +618,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:25 GMT etag: - - '0x8D9117BD088A46D' + - '0x8D91F4D01212684' last-modified: - - Fri, 07 May 2021 17:16:12 GMT + - Tue, 25 May 2021 07:16:24 GMT request-id: - - d6c08950-383f-4114-b3b9-d9d6106f29ec + - c1bad69b-bbc1-4dfc-91a8-f1cf6769b197 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml index a1709db671c..1e981b5da6b 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '22' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:16:18 GMT + - Tue, 25 May 2021 07:17:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63588ca8-dcf3-41a8-99c5-af33909834e0?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f22912b9-7e73-465c-82e0-cfb082765a72?api-version=2021-01-01 pragma: - no-cache server: @@ -46,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,29 +61,28 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63588ca8-dcf3-41a8-99c5-af33909834e0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f22912b9-7e73-465c-82e0-cfb082765a72?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:33 GMT + - Tue, 25 May 2021 07:17:52 GMT etag: - - '"0x8D9117BDD278EFE"' + - '"0x8D91F4D36508791"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:33 GMT + - Tue, 25 May 2021 07:17:53 GMT pragma: - no-cache server: @@ -118,15 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"fkZMGhYLo18CavDsHj0/fSXGUWFmFbfHqvsF1Q2FbUXblTMyaum25Az5KQnrPdh6yKtC9aPXziUSyzGTm4ewqw==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"qwf0m7QoOkJdl4Wg3xqnma0ar07GagVacomysuRgtj3K74wevuaJTKXiGo2tZO84Tx6yfOgbAUAGGYOPzP2SWQ==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -135,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:34 GMT + - Tue, 25 May 2021 07:17:54 GMT expires: - '-1' pragma: @@ -169,31 +162,28 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:35 GMT + - Tue, 25 May 2021 07:17:55 GMT etag: - - '"0x8D9117BD68011D5"' + - '"0x8D91F4D2F4C80A3"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:22 GMT + - Tue, 25 May 2021 07:17:41 GMT pragma: - no-cache server: @@ -224,12 +214,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:16 GMT + - Tue, 25 May 2021 07:17:57 GMT return-client-request-id: - 'false' method: POST @@ -239,19 +229,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-paas + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:35 GMT + - Tue, 25 May 2021 07:17:57 GMT etag: - - '0x8D9117BDE59FCAB' + - '0x8D91F4D38C5895D' last-modified: - - Fri, 07 May 2021 17:16:35 GMT + - Tue, 25 May 2021 07:17:57 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas request-id: - - bd3ffe09-febe-4bf0-bdab-9fa690bdcaf2 + - 20d7fc57-bc0d-40ac-821d-1bb0910d0d01 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -279,12 +269,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:17 GMT + - Tue, 25 May 2021 07:17:59 GMT return-client-request-id: - 'false' method: POST @@ -294,19 +284,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-iaas + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Tue, 25 May 2021 07:17:58 GMT etag: - - '0x8D9117BDEB6E9F6' + - '0x8D91F4D3990F070' last-modified: - - Fri, 07 May 2021 17:16:36 GMT + - Tue, 25 May 2021 07:17:58 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas request-id: - - 28c5941b-ecd1-4cbf-939f-27bae7125f1f + - 98e2d782-c061-4137-89c7-1c857e4908f0 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -336,12 +326,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Tue, 25 May 2021 07:18:00 GMT return-client-request-id: - 'false' method: POST @@ -351,19 +341,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Tue, 25 May 2021 07:18:00 GMT etag: - - '0x8D9117BDF0A88A1' + - '0x8D91F4D3A53089C' last-modified: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:00 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json request-id: - - 0e9512b4-eac6-457b-bb4a-7d6ff416920b + - e5a01e55-badb-438d-b3d8-1c317b322e6e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -385,19 +375,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Tue, 25 May 2021 07:18:01 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D9117BDF0A88A1\",\"lastModified\":\"2021-05-07T17:16:37.0294945Z\",\"creationTime\":\"2021-05-07T17:16:37.0294945Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:37.0294945Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:37.0294945Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D91F4D3A53089C\",\"lastModified\":\"2021-05-25T07:18:00.1098908Z\",\"creationTime\":\"2021-05-25T07:18:00.1098908Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"username\":\"cliTestUser\"\r\n \ },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n },\"userAccounts\":[\r\n \ {\r\n \"name\":\"cliTestUser\",\"elevationLevel\":\"admin\",\"windowsUserConfiguration\":{\r\n @@ -410,13 +400,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Tue, 25 May 2021 07:18:00 GMT etag: - - '0x8D9117BDF0A88A1' + - '0x8D91F4D3A53089C' last-modified: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:00 GMT request-id: - - 2202ec9a-f621-42e6-8164-a8c9fffb059e + - fd46e2c0-6c92-4a6a-a1a1-eb7637fadcde server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -438,12 +428,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Tue, 25 May 2021 07:18:02 GMT return-client-request-id: - 'false' method: GET @@ -451,18 +441,18 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools\",\"value\":[\r\n - \ {\r\n \"id\":\"azure-cli-test-iaas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas\",\"eTag\":\"0x8D9117BDEB6E9F6\",\"lastModified\":\"2021-05-07T17:16:36.4814838Z\",\"creationTime\":\"2021-05-07T17:16:36.4814838Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:36.4814838Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:36.4814838Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ {\r\n \"id\":\"azure-cli-test-iaas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas\",\"eTag\":\"0x8D91F4D3990F070\",\"lastModified\":\"2021-05-25T07:17:58.8378736Z\",\"creationTime\":\"2021-05-25T07:17:58.8378736Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:58.8378736Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.7329077Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n \ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04.0-LTS\",\"version\":\"latest\"\r\n \ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\"\r\n }\r\n },{\r\n - \ \"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D9117BDF0A88A1\",\"lastModified\":\"2021-05-07T17:16:37.0294945Z\",\"creationTime\":\"2021-05-07T17:16:37.0294945Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:37.0294945Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:37.0294945Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + \ \"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D91F4D3A53089C\",\"lastModified\":\"2021-05-25T07:18:00.1098908Z\",\"creationTime\":\"2021-05-25T07:18:00.1098908Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"username\":\"cliTestUser\"\r\n \ },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n },\"userAccounts\":[\r\n \ {\r\n \"name\":\"cliTestUser\",\"elevationLevel\":\"admin\",\"windowsUserConfiguration\":{\r\n \ \"loginMode\":\"interactive\"\r\n }\r\n }\r\n \ ],\"taskSlotsPerNode\":3,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n - \ }\r\n },{\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D9117BDE59FCAB\",\"lastModified\":\"2021-05-07T17:16:35.8724779Z\",\"creationTime\":\"2021-05-07T17:16:35.8724779Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:35.8724779Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:37.3254968Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ }\r\n },{\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D91F4D38C5895D\",\"lastModified\":\"2021-05-25T07:17:57.5048541Z\",\"creationTime\":\"2021-05-25T07:17:57.5048541Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:57.5048541Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:17:59.9738851Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \ \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}" headers: @@ -471,9 +461,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:01 GMT request-id: - - 03a20eeb-b28e-4a36-8f4c-b1ca3edf8e4f + - 1a8fe0b7-8326-48c1-a3c4-d2e83535f207 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -495,12 +485,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:19 GMT + - Tue, 25 May 2021 07:18:04 GMT return-client-request-id: - 'false' method: GET @@ -508,7 +498,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools\",\"value\":[\r\n - \ {\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D9117BDE59FCAB\",\"lastModified\":\"2021-05-07T17:16:35.8724779Z\",\"creationTime\":\"2021-05-07T17:16:35.8724779Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:35.8724779Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:37.3254968Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ {\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D91F4D38C5895D\",\"lastModified\":\"2021-05-25T07:17:57.5048541Z\",\"creationTime\":\"2021-05-25T07:17:57.5048541Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:57.5048541Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:17:59.9738851Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \ \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}" headers: @@ -517,9 +507,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:02 GMT request-id: - - 849fc8f7-fbba-437a-b921-6ed78147be1e + - 7efd8b8c-e06a-4db6-b322-c37a43b07a4d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -545,12 +535,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:19 GMT + - Tue, 25 May 2021 07:18:05 GMT return-client-request-id: - 'false' method: POST @@ -560,17 +550,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-paas/resize + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas/resize dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:03 GMT etag: - - '0x8D9117BE009F4CB' + - '0x8D91F4D3D19B459' last-modified: - - Fri, 07 May 2021 17:16:38 GMT + - Tue, 25 May 2021 07:18:04 GMT request-id: - - ea0d19b2-f831-4789-a89b-0ee010bb3ece + - 9542c61b-d556-4e74-b6c4-623f5ec338da server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -592,12 +582,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:20 GMT + - Tue, 25 May 2021 07:18:06 GMT return-client-request-id: - 'false' method: GET @@ -611,13 +601,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:38 GMT + - Tue, 25 May 2021 07:18:05 GMT etag: - - '0x8D9117BE009F4CB' + - '0x8D91F4D3D19B459' last-modified: - - Fri, 07 May 2021 17:16:38 GMT + - Tue, 25 May 2021 07:18:04 GMT request-id: - - 2bb36a66-7c73-454d-9946-c05c73523db3 + - c5ab62ba-5ac3-4ecd-836e-12edb2d52885 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -641,12 +631,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:20 GMT + - Tue, 25 May 2021 07:18:07 GMT return-client-request-id: - 'false' method: POST @@ -656,17 +646,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:38 GMT + - Tue, 25 May 2021 07:18:06 GMT etag: - - '0x8D9117BE009F4CB' + - '0x8D91F4D3D19B459' last-modified: - - Fri, 07 May 2021 17:16:38 GMT + - Tue, 25 May 2021 07:18:04 GMT request-id: - - 0a465fd9-6cfd-4d8d-9c00-675056468042 + - 3a90a178-21c5-4ce7-a156-c763ed063203 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -692,12 +682,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:20 GMT + - Tue, 25 May 2021 07:18:08 GMT return-client-request-id: - 'false' method: POST @@ -707,17 +697,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:07 GMT etag: - - '0x8D9117BE0BE11F9' + - '0x8D91F4D3F189C97' last-modified: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:08 GMT request-id: - - 623245e4-5683-43c7-9945-a14843da0ce8 + - f85c242e-c1d5-4349-b623-ddac813a6da0 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -739,12 +729,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:21 GMT + - Tue, 25 May 2021 07:18:09 GMT return-client-request-id: - 'false' method: GET @@ -758,13 +748,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:09 GMT etag: - - '0x8D9117BE0BE11F9' + - '0x8D91F4D3F189C97' last-modified: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:08 GMT request-id: - - f7f6fcfc-721c-44dd-9199-c0bb43a509ea + - 8a68f445-c835-4e99-b045-15e55d4f1415 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -790,30 +780,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:21 GMT + - Tue, 25 May 2021 07:18:10 GMT return-client-request-id: - 'false' method: POST uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2021-05-07T17:16:40.6937716Z\",\"results\":\"$TargetDedicatedNodes=0;$TargetLowPriorityNodes=3;$NodeDeallocationOption=requeue\"\r\n}" + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2021-05-25T07:18:10.4268106Z\",\"results\":\"$TargetDedicatedNodes=0;$TargetLowPriorityNodes=3;$NodeDeallocationOption=requeue\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:40 GMT + - Tue, 25 May 2021 07:18:10 GMT request-id: - - 231232ca-c93b-44a9-b2ad-17985ab03e19 + - bd236401-7a15-4605-b558-f17ed38d3f97 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -837,12 +827,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:22 GMT + - Tue, 25 May 2021 07:18:11 GMT return-client-request-id: - 'false' method: POST @@ -852,17 +842,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:40 GMT + - Tue, 25 May 2021 07:18:11 GMT etag: - - '0x8D9117BE0BE11F9' + - '0x8D91F4D3F189C97' last-modified: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:08 GMT request-id: - - f94548fb-6225-4078-b190-69aa58f58d8b + - 6879262d-0ef4-48cf-adf1-3a5026eb1c01 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -884,12 +874,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:22 GMT + - Tue, 25 May 2021 07:18:13 GMT return-client-request-id: - 'false' method: GET @@ -903,13 +893,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:41 GMT + - Tue, 25 May 2021 07:18:11 GMT etag: - - '0x8D9117BE0BE11F9' + - '0x8D91F4D3F189C97' last-modified: - - Fri, 07 May 2021 17:16:39 GMT + - Tue, 25 May 2021 07:18:08 GMT request-id: - - 5d0d43d9-0bfd-49e7-91db-c812e7e559dc + - 82244361-8224-4a2c-8c8f-cba3f25f0106 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -931,12 +921,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:22 GMT + - Tue, 25 May 2021 07:18:14 GMT return-client-request-id: - 'false' method: GET @@ -951,9 +941,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:41 GMT + - Tue, 25 May 2021 07:18:13 GMT request-id: - - 637f19d6-2193-47ba-b22f-841146f22791 + - e419d20d-46a7-4bcc-9799-6d84eec63502 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -975,12 +965,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:23 GMT + - Tue, 25 May 2021 07:18:15 GMT return-client-request-id: - 'false' method: GET @@ -996,13 +986,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:42 GMT + - Tue, 25 May 2021 07:18:14 GMT etag: - - '0x8D9117BDF0A88A1' + - '0x8D91F4D3A53089C' last-modified: - - Fri, 07 May 2021 17:16:37 GMT + - Tue, 25 May 2021 07:18:00 GMT request-id: - - ccaf4ad0-9bd7-43e1-ba82-a046eb81a8db + - d147528f-508b-4970-ba83-82d20cd6160b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1028,12 +1018,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:23 GMT + - Tue, 25 May 2021 07:18:16 GMT return-client-request-id: - 'false' method: PATCH @@ -1043,17 +1033,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchjdkdmomnvqfwt35h.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:42 GMT + - Tue, 25 May 2021 07:18:16 GMT etag: - - '0x8D9117BE28690F7' + - '0x8D91F4D43F95169' last-modified: - - Fri, 07 May 2021 17:16:42 GMT + - Tue, 25 May 2021 07:18:16 GMT request-id: - - c66700eb-e6db-479d-9a81-4e0bfaa3f241 + - b81fdeee-cfd5-49d9-ae90-43d7087adf4d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1075,12 +1065,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:24 GMT + - Tue, 25 May 2021 07:18:17 GMT return-client-request-id: - 'false' method: GET @@ -1097,13 +1087,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:43 GMT + - Tue, 25 May 2021 07:18:17 GMT etag: - - '0x8D9117BE28690F7' + - '0x8D91F4D43F95169' last-modified: - - Fri, 07 May 2021 17:16:42 GMT + - Tue, 25 May 2021 07:18:16 GMT request-id: - - f3f3847b-700a-489d-ba6d-07a11fe663d2 + - 1f3793ba-c9bf-4b14-924c-36fdb69fd23b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1125,12 +1115,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:24 GMT + - Tue, 25 May 2021 07:18:18 GMT return-client-request-id: - 'false' method: GET @@ -1212,6 +1202,12 @@ interactions: \ \"publisher\":\"microsoft-dsvm\",\"offer\":\"ubuntu-1804\",\"sku\":\"1804\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.ubuntu 18.04\",\"capabilities\":[\r\n \"NvidiaTeslaDriverInstalled\"\r\n ],\"osType\":\"linux\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2008-r2-sp1\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"batchSupportEndOfLife\":\"2020-02-14T00:00:00Z\",\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2008-r2-sp1-smalldisk\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"batchSupportEndOfLife\":\"2020-02-14T00:00:00Z\",\"osType\":\"windows\"\r\n \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2012-datacenter\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows amd64\",\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n @@ -1349,16 +1345,20 @@ interactions: 7\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"oracle\",\"offer\":\"oracle-linux\",\"sku\":\"81\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos 8\",\"batchSupportEndOfLife\":\"2021-12-31T00:00:00Z\",\"osType\":\"linux\"\r\n - \ }\r\n ]\r\n}" + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"xilinx\",\"offer\":\"xilinx_alveo_u250_deployment_vm_centos78_032321\",\"sku\":\"xilinx_alveo_u250_deployment_vm_centos78_032321\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos + 7\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"xilinx\",\"offer\":\"xilinx_alveo_u250_deployment_vm_ubuntu1804_032321\",\"sku\":\"xilinx_alveo_u250_deployment_vm_ubuntu_1804_032321\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.ubuntu + 18.04\",\"osType\":\"linux\"\r\n }\r\n ]\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:42 GMT + - Tue, 25 May 2021 07:18:18 GMT request-id: - - 21d9ea51-7dd0-42d3-af32-a9f00c49ea7b + - 774707f7-6552-448f-8e3b-60f5a842268d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1382,12 +1382,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:25 GMT + - Tue, 25 May 2021 07:18:20 GMT return-client-request-id: - 'false' method: DELETE @@ -1399,9 +1399,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:43 GMT + - Tue, 25 May 2021 07:18:19 GMT request-id: - - 4f069170-a284-421d-b951-fd86035ac505 + - 2424e39c-ae04-4106-9cf7-f95f41a93583 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1428,12 +1428,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:25 GMT + - Tue, 25 May 2021 07:18:21 GMT return-client-request-id: - 'false' method: POST @@ -1442,7 +1442,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidApplicationPackageReferences\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"One or more of the specified application - package references are invalid.\\nRequestId:a8554360-c41a-4756-baed-5b441073d033\\nTime:2021-05-07T17:16:44.5376768Z\"\r\n + package references are invalid.\\nRequestId:5c6b30d3-e14d-45d4-be75-d7a8bd74a698\\nTime:2021-05-25T07:18:21.0929817Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"does-not-exist\",\"value\":\"The specified application package does not exist.\"\r\n }\r\n ]\r\n}" headers: @@ -1453,9 +1453,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:43 GMT + - Tue, 25 May 2021 07:18:20 GMT request-id: - - a8554360-c41a-4756-baed-5b441073d033 + - 5c6b30d3-e14d-45d4-be75-d7a8bd74a698 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1479,12 +1479,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:25 GMT + - Tue, 25 May 2021 07:18:22 GMT return-client-request-id: - 'false' method: PATCH @@ -1493,7 +1493,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidApplicationPackageReferences\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"One or more of the specified application - package references are invalid.\\nRequestId:618d88dc-4281-4b5c-9824-c86720d0f753\\nTime:2021-05-07T17:16:44.9187907Z\"\r\n + package references are invalid.\\nRequestId:b235b97b-0daf-4590-a6dc-50619d63fc90\\nTime:2021-05-25T07:18:22.2297104Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"does-not-exist\",\"value\":\"The specified application package does not exist.\"\r\n }\r\n ]\r\n}" headers: @@ -1504,9 +1504,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:44 GMT + - Tue, 25 May 2021 07:18:21 GMT request-id: - - 618d88dc-4281-4b5c-9824-c86720d0f753 + - b235b97b-0daf-4590-a6dc-50619d63fc90 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: From c1f2b78f5f5efd9e18d5aae509c3031f59bc1534 Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Wed, 26 May 2021 15:28:55 +0800 Subject: [PATCH 6/9] Fix _help --- src/azure-cli/azure/cli/command_modules/batch/_help.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_help.py b/src/azure-cli/azure/cli/command_modules/batch/_help.py index f5f753e7440..72efa7a6b81 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_help.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_help.py @@ -51,6 +51,14 @@ crafted: true """ +helps['batch account renew'] = """ +type: command +short-summary: Renew keys for a Batch account. +examples: + - name: Renew keys for a Batch account. + text: az batch account renew --name MyBatchAccount --resource-group MyResourceGroup --key-name primary +""" + helps['batch account show'] = """ type: command short-summary: Get a specified Batch account or the currently set account. From 91f7de20b9e9fbcdee9b2f6f3f1a57ac878266fd Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Wed, 26 May 2021 15:44:46 +0800 Subject: [PATCH 7/9] Fix batch style and linter --- src/azure-cli/azure/cli/command_modules/batch/_help.py | 4 ++-- src/azure-cli/azure/cli/command_modules/batch/_params.py | 2 +- src/azure-cli/azure/cli/command_modules/batch/custom.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_help.py b/src/azure-cli/azure/cli/command_modules/batch/_help.py index 72efa7a6b81..b9b5e2a5a29 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_help.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_help.py @@ -51,12 +51,12 @@ crafted: true """ -helps['batch account renew'] = """ +helps['batch account keys renew'] = """ type: command short-summary: Renew keys for a Batch account. examples: - name: Renew keys for a Batch account. - text: az batch account renew --name MyBatchAccount --resource-group MyResourceGroup --key-name primary + text: az batch account keys renew --name MyBatchAccount --resource-group MyResourceGroup --key-name primary """ helps['batch account show'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/batch/_params.py b/src/azure-cli/azure/cli/command_modules/batch/_params.py index 5b0d22e1e75..ae3491d4e00 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -106,7 +106,7 @@ def load_arguments(self, _): c.argument('package_file', type=file_type, help='The path of the application package in zip format', completer=FilesCompleter()) c.argument('application_name', options_list=('--application-name',), help="The name of the application.") c.argument('version_name', options_list=('--version-name',), help="The version name of the application.") - c.argument('format', options_list=('--format',), help="The format of the application package binary file.") + c.argument('f_ormat', options_list=('--format',), help="The format of the application package binary file.") with self.argument_context('batch location quotas show') as c: c.argument('location_name', get_location_type(self.cli_ctx), help='The region from which to display the Batch service quotas.') diff --git a/src/azure-cli/azure/cli/command_modules/batch/custom.py b/src/azure-cli/azure/cli/command_modules/batch/custom.py index b8c6348e6bf..b4862551305 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -242,9 +242,9 @@ def create_application_package(cmd, client, @transfer_doc(ApplicationPackageOperations.activate) -def activate_application_package(client, resource_group_name, account_name, application_name, version_name, format): +def activate_application_package(client, resource_group_name, account_name, application_name, version_name, f_ormat): # activate the application package - parameters = ActivateApplicationPackageParameters(format=format) + parameters = ActivateApplicationPackageParameters(format=f_ormat) return client.activate(resource_group_name, account_name, application_name, version_name, parameters) From 3a9807cc10b2bc83d50c31fd81a7d14ab3697257 Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Wed, 26 May 2021 17:18:20 +0800 Subject: [PATCH 8/9] Upload test yaml --- .../test_batch_application_cmd.yaml | 409 +++++++----------- .../test_batch_certificate_cmd.yaml | 98 ++--- .../test_batch_general_arm_cmd.yaml | 190 ++++---- .../recordings/test_batch_job_list_cmd.yaml | 136 +++--- .../recordings/test_batch_jobs_and_tasks.yaml | 130 +++--- .../recordings/test_batch_pool_cmd.yaml | 252 ++++++----- .../test_batch_pools_and_nodes.yaml | 254 +++++------ .../test_batch_task_create_cmd.yaml | 182 ++++---- 8 files changed, 750 insertions(+), 901 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml index 2e32d05dedf..b62ae454094 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml @@ -18,7 +18,7 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002?api-version=2021-04-01 response: @@ -32,11 +32,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 14 May 2021 06:00:40 GMT + - Wed, 26 May 2021 09:02:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/ac55b7fe-9541-4d81-8303-70f4ec66bcb8?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/c38b94d7-ceca-43b8-b65d-edf8751631ff?monitor=true&api-version=2021-04-01 pragma: - no-cache server: @@ -64,12 +64,12 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/ac55b7fe-9541-4d81-8303-70f4ec66bcb8?monitor=true&api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/c38b94d7-ceca-43b8-b65d-edf8751631ff?monitor=true&api-version=2021-04-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-14T06:00:37.7918941Z","key2":"2021-05-14T06:00:37.7918941Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-14T06:00:37.8075361Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-14T06:00:37.8075361Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-14T06:00:37.7293799Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z35.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-26T09:02:02.9917942Z","key2":"2021-05-26T09:02:02.9917942Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.9917942Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.9917942Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-26T09:02:02.9293533Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z35.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -78,7 +78,7 @@ interactions: content-type: - application/json date: - - Fri, 14 May 2021 06:00:57 GMT + - Wed, 26 May 2021 09:02:21 GMT expires: - '-1' pragma: @@ -110,12 +110,12 @@ interactions: ParameterSetName: - -g -n -l --storage-account User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002?api-version=2021-04-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-14T06:00:37.7918941Z","key2":"2021-05-14T06:00:37.7918941Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-14T06:00:37.8075361Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-14T06:00:37.8075361Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-14T06:00:37.7293799Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z35.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-26T09:02:02.9917942Z","key2":"2021-05-26T09:02:02.9917942Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.9917942Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.9917942Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-26T09:02:02.9293533Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z35.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Fri, 14 May 2021 06:00:58 GMT + - Wed, 26 May 2021 09:02:22 GMT expires: - '-1' pragma: @@ -157,16 +157,13 @@ interactions: Content-Length: - '290' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n -l --storage-account User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '' @@ -176,11 +173,11 @@ interactions: content-length: - '0' date: - - Fri, 14 May 2021 06:01:06 GMT + - Wed, 26 May 2021 09:02:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/2a59b4e9-57cb-4cc1-aaf1-da6b4dcfba34?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/5e61a5ad-76a4-49b1-8645-0087a93470e4?api-version=2021-01-01 pragma: - no-cache server: @@ -198,7 +195,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -208,14 +205,13 @@ interactions: ParameterSetName: - -g -n -l --storage-account User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/2a59b4e9-57cb-4cc1-aaf1-da6b4dcfba34?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/5e61a5ad-76a4-49b1-8645-0087a93470e4?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -224,13 +220,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:22 GMT + - Wed, 26 May 2021 09:02:45 GMT etag: - - '"0x8D9169DB364C2D0"' + - '"0x8D920250798F8F9"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:22 GMT + - Wed, 26 May 2021 09:02:46 GMT pragma: - no-cache server: @@ -260,16 +256,13 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -278,13 +271,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:23 GMT + - Wed, 26 May 2021 09:02:47 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -314,19 +307,16 @@ interactions: Content-Length: - '0' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9169DB4C0F64B\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D92025090BACE3\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -335,13 +325,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:24 GMT + - Wed, 26 May 2021 09:02:47 GMT etag: - - W/"0x8D9169DB4C0F64B" + - W/"0x8D92025090BACE3" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:24 GMT + - Wed, 26 May 2021 09:02:48 GMT pragma: - no-cache server: @@ -355,7 +345,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -373,16 +363,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -391,13 +378,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:25 GMT + - Wed, 26 May 2021 09:02:49 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -427,15 +414,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications?api-version=2021-01-01 response: body: - string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9169DB4C0F64B\"","properties":{"allowUpdates":true}}]}' + string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D92025090BACE3\"","properties":{"allowUpdates":true}}]}' headers: cache-control: - no-cache @@ -444,7 +428,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:26 GMT + - Wed, 26 May 2021 09:02:50 GMT expires: - '-1' pragma: @@ -476,16 +460,13 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -494,13 +475,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:27 GMT + - Wed, 26 May 2021 09:02:51 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -530,15 +511,12 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9169DB4C0F64B\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D92025090BACE3\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -547,13 +525,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:28 GMT + - Wed, 26 May 2021 09:02:52 GMT etag: - - W/"0x8D9169DB4C0F64B" + - W/"0x8D92025090BACE3" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:24 GMT + - Wed, 26 May 2021 09:02:48 GMT pragma: - no-cache server: @@ -583,19 +561,16 @@ interactions: Content-Length: - '0' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9169DB758BAF6\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A29Z&se=2021-05-14T10%3A01%3A29Z&sp=rw","storageUrlExpiry":"2021-05-14T10:01:29.1397669Z","state":"Pending"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D920250C932DE8\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A57%3A54Z&se=2021-05-26T13%3A02%3A54Z&sp=rw","storageUrlExpiry":"2021-05-26T13:02:54.6541942Z","state":"Pending"}}' headers: cache-control: - no-cache @@ -604,13 +579,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:28 GMT + - Wed, 26 May 2021 09:02:54 GMT etag: - - W/"0x8D9169DB758BAF6" + - W/"0x8D920250C932DE8" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:29 GMT + - Wed, 26 May 2021 09:02:54 GMT pragma: - no-cache server: @@ -624,7 +599,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -636,15 +611,15 @@ interactions: Content-Length: - '29' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.7; Windows 10) + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.8; Windows 10) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 14 May 2021 06:01:29 GMT + - Wed, 26 May 2021 09:02:54 GMT x-ms-version: - '2018-11-09' method: PUT - uri: https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A29Z&se=2021-05-14T10%3A01%3A29Z&sp=rw + uri: https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A57%3A54Z&se=2021-05-26T13%3A02%3A54Z&sp=rw response: body: string: '' @@ -654,11 +629,11 @@ interactions: content-md5: - JeBon6PeparxrbCKMR+6hw== date: - - Fri, 14 May 2021 06:01:30 GMT + - Wed, 26 May 2021 09:02:57 GMT etag: - - '"0x8D9169DB8D270EA"' + - '"0x8D920250E47D115"' last-modified: - - Fri, 14 May 2021 06:01:31 GMT + - Wed, 26 May 2021 09:02:57 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: @@ -682,34 +657,31 @@ interactions: Content-Length: - '17' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0/activate?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0/activate?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9169DB9004ED4\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A31Z&se=2021-05-14T10%3A01%3A31Z&sp=rw","storageUrlExpiry":"2021-05-14T10:01:31.9328605Z","state":"Active","format":"zip","lastActivationTime":"2021-05-14T06:01:31.9063688Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D920250E784BB8\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A57%3A57Z&se=2021-05-26T13%3A02%3A57Z&sp=rw","storageUrlExpiry":"2021-05-26T13:02:57.8579563Z","state":"Active","format":"zip","lastActivationTime":"2021-05-26T09:02:57.8214438Z"}}' headers: cache-control: - no-cache content-length: - - '759' + - '757' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:31 GMT + - Wed, 26 May 2021 09:02:57 GMT etag: - - W/"0x8D9169DB9004ED4" + - W/"0x8D920250E784BB8" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:31 GMT + - Wed, 26 May 2021 09:02:57 GMT pragma: - no-cache server: @@ -741,30 +713,27 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9169DB9004ED4\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A32Z&se=2021-05-14T10%3A01%3A32Z&sp=rw","storageUrlExpiry":"2021-05-14T10:01:32.2220722Z","state":"Active","format":"zip","lastActivationTime":"2021-05-14T06:01:31.9063688Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D920250E784BB8\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A57%3A58Z&se=2021-05-26T13%3A02%3A58Z&sp=rw","storageUrlExpiry":"2021-05-26T13:02:58.151965Z","state":"Active","format":"zip","lastActivationTime":"2021-05-26T09:02:57.8214438Z"}}' headers: cache-control: - no-cache content-length: - - '763' + - '758' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:32 GMT + - Wed, 26 May 2021 09:02:57 GMT etag: - - W/"0x8D9169DB9004ED4" + - W/"0x8D920250E784BB8" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:31 GMT + - Wed, 26 May 2021 09:02:57 GMT pragma: - no-cache server: @@ -794,16 +763,13 @@ interactions: ParameterSetName: - -g -n --application-name --version --format User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -812,13 +778,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:32 GMT + - Wed, 26 May 2021 09:02:58 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -848,34 +814,31 @@ interactions: Content-Length: - '17' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --application-name --version --format User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0/activate?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0/activate?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9169DBA97DA5A\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A34Z&se=2021-05-14T10%3A01%3A34Z&sp=rw","storageUrlExpiry":"2021-05-14T10:01:34.6065003Z","state":"Active","format":"zip","lastActivationTime":"2021-05-14T06:01:34.5772651Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9202510050048\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A58%3A00Z&se=2021-05-26T13%3A03%3A00Z&sp=rw","storageUrlExpiry":"2021-05-26T13:03:00.4509685Z","state":"Active","format":"zip","lastActivationTime":"2021-05-26T09:03:00.4212805Z"}}' headers: cache-control: - no-cache content-length: - - '757' + - '759' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:34 GMT + - Wed, 26 May 2021 09:03:00 GMT etag: - - W/"0x8D9169DBA97DA5A" + - W/"0x8D9202510050048" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:34 GMT + - Wed, 26 May 2021 09:03:00 GMT pragma: - no-cache server: @@ -907,16 +870,13 @@ interactions: ParameterSetName: - -g -n --application-name --version User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -925,13 +885,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:35 GMT + - Wed, 26 May 2021 09:03:01 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -961,15 +921,12 @@ interactions: ParameterSetName: - -g -n --application-name --version User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9169DBA97DA5A\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-62974bd289ab400c87f91e9e77c76264/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-14T05%3A56%3A36Z&se=2021-05-14T10%3A01%3A36Z&sp=rw","storageUrlExpiry":"2021-05-14T10:01:36.7154484Z","state":"Active","format":"zip","lastActivationTime":"2021-05-14T06:01:34.5772651Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D9202510050048\"","properties":{"storageUrl":"https://clibatchteststor000002.blob.core.windows.net/app-testapp-2b2b3562042f47d1bbc066b5f722e2e0/1.0?sv=2018-03-28&sr=b&sig=fakeSig&st=2021-05-26T08%3A58%3A02Z&se=2021-05-26T13%3A03%3A02Z&sp=rw","storageUrlExpiry":"2021-05-26T13:03:02.1466915Z","state":"Active","format":"zip","lastActivationTime":"2021-05-26T09:03:00.4212805Z"}}' headers: cache-control: - no-cache @@ -978,13 +935,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:36 GMT + - Wed, 26 May 2021 09:03:01 GMT etag: - - W/"0x8D9169DBA97DA5A" + - W/"0x8D9202510050048" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:34 GMT + - Wed, 26 May 2021 09:03:00 GMT pragma: - no-cache server: @@ -1014,16 +971,13 @@ interactions: ParameterSetName: - -g -n --application-name --default-version User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -1032,13 +986,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:37 GMT + - Wed, 26 May 2021 09:03:02 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -1068,19 +1022,16 @@ interactions: Content-Length: - '41' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --application-name --default-version User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9169DBCD1DDAE\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9202512229D4F\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1089,13 +1040,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:37 GMT + - Wed, 26 May 2021 09:03:03 GMT etag: - - W/"0x8D9169DBCD1DDAE" + - W/"0x8D9202512229D4F" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:38 GMT + - Wed, 26 May 2021 09:03:03 GMT pragma: - no-cache server: @@ -1109,7 +1060,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1198' status: code: 200 message: OK @@ -1127,16 +1078,13 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -1145,13 +1093,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:38 GMT + - Wed, 26 May 2021 09:03:04 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -1181,15 +1129,12 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2021-01-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9169DBCD1DDAE\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp","name":"testapp","etag":"W/\"0x8D9202512229D4F\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1198,13 +1143,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:39 GMT + - Wed, 26 May 2021 09:03:05 GMT etag: - - W/"0x8D9169DBCD1DDAE" + - W/"0x8D9202512229D4F" expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:38 GMT + - Wed, 26 May 2021 09:03:03 GMT pragma: - no-cache server: @@ -1234,16 +1179,13 @@ interactions: ParameterSetName: - -g -n --application-name --version --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -1252,13 +1194,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:40 GMT + - Wed, 26 May 2021 09:03:06 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -1290,12 +1232,9 @@ interactions: ParameterSetName: - -g -n --application-name --version --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp/versions/1.0?api-version=2021-01-01 response: body: string: '' @@ -1305,7 +1244,7 @@ interactions: content-length: - '0' date: - - Fri, 14 May 2021 06:01:41 GMT + - Wed, 26 May 2021 09:03:06 GMT expires: - '-1' pragma: @@ -1335,16 +1274,13 @@ interactions: ParameterSetName: - -g -n --application-name --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -1353,13 +1289,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:42 GMT + - Wed, 26 May 2021 09:03:08 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -1391,12 +1327,9 @@ interactions: ParameterSetName: - -g -n --application-name --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications/testapp?api-version=2021-01-01 response: body: string: '' @@ -1406,7 +1339,7 @@ interactions: content-length: - '0' date: - - Fri, 14 May 2021 06:01:43 GMT + - Wed, 26 May 2021 09:03:09 GMT expires: - '-1' pragma: @@ -1436,16 +1369,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtestacct000003.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-14T06:01:06.3447378Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:02:30.9330581Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -1454,13 +1384,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:44 GMT + - Wed, 26 May 2021 09:03:09 GMT etag: - - '"0x8D9169DAC2B4666"' + - '"0x8D9202500E4B316"' expires: - '-1' last-modified: - - Fri, 14 May 2021 06:01:10 GMT + - Wed, 26 May 2021 09:02:35 GMT pragma: - no-cache server: @@ -1490,12 +1420,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/applications?api-version=2021-01-01 response: body: string: '{"value":[]}' @@ -1507,7 +1434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 06:01:45 GMT + - Wed, 26 May 2021 09:03:10 GMT expires: - '-1' pragma: @@ -1541,7 +1468,7 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002?api-version=2021-04-01 response: @@ -1555,7 +1482,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 14 May 2021 06:01:53 GMT + - Wed, 26 May 2021 09:03:18 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml index a5c871e45a5..24d1515f5a9 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '30' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/1d06c98f-a526-4e68-9a4c-f5dcb6c860f5?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e1bb7f89-fede-4eec-b7d8-e1540fa34df3?api-version=2021-01-01 pragma: - no-cache server: @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,10 +61,9 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/1d06c98f-a526-4e68-9a4c-f5dcb6c860f5?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e1bb7f89-fede-4eec-b7d8-e1540fa34df3?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"northcentralus","properties":{"accountEndpoint":"clibatch000002.northcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -80,13 +76,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:19 GMT etag: - - '"0x8D9117BCDF3D07A"' + - '"0x8D92024F77E931F"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:19 GMT pragma: - no-cache server: @@ -118,15 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"veryFakedStorageAccountKey==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"hMOD4z7dm8/C3NI+a0hMfwQiRmjDydgxdv1J4nbaLlco/LKQlwKRNOPY7ysdMsuS4rJsjn1yybXyhoqFkyAV1g==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -135,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:20 GMT expires: - '-1' pragma: @@ -169,12 +162,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"northcentralus","properties":{"accountEndpoint":"clibatch000002.northcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -187,13 +177,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:21 GMT etag: - - '"0x8D9117BC6F2C467"' + - '"0x8D92024F07F0FBC"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:15:56 GMT + - Wed, 26 May 2021 09:02:07 GMT pragma: - no-cache server: @@ -225,12 +215,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:50 GMT + - Wed, 26 May 2021 09:02:22 GMT method: POST uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2020-09-01.12.0 response: @@ -238,15 +228,15 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchf2e3a24pn5ubl3oq.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) + - https://clibatchessf2o2gsl43iqjw.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:23 GMT location: - https://clibatch000002.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) request-id: - - fe648b35-fadb-4186-a795-0215c7cb56bd + - 517fd521-4118-4d3d-bba2-a35efd1bea7d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -268,26 +258,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:51 GMT + - Wed, 26 May 2021 09:02:23 GMT method: GET uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-09-01.12.0 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:10.1670408Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.5179696Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:23 GMT request-id: - - d3928118-7993-4ed5-a328-9af2d9fb1ef7 + - 17330071-49fd-40a0-9eff-b0a7f1d46c6e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -309,12 +299,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:51 GMT + - Wed, 26 May 2021 09:02:24 GMT return-client-request-id: - 'false' method: GET @@ -322,7 +312,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n - \ {\r\n \"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:10.1670408Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n + \ {\r\n \"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.5179696Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n \ }\r\n ]\r\n}" headers: content-type: @@ -330,9 +320,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:24 GMT request-id: - - 52774832-618a-4c4c-a60f-e4dd00c02197 + - f3148038-22d6-49df-bf23-918ca2e86443 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -356,12 +346,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:51 GMT + - Wed, 26 May 2021 09:02:25 GMT method: DELETE uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-09-01.12.0 response: @@ -371,9 +361,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - 02a54aab-0b45-4bc4-b8b1-f750cf39c8c6 + - ae56015e-03d3-4bf7-a22d-fb3f09f5d319 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -395,28 +385,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:26 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"deleting\",\"stateTransitionTime\":\"2021-05-07T17:16:10.7936112Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-07T17:16:10.1670408Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"deleting\",\"stateTransitionTime\":\"2021-05-26T09:02:26.3708978Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-26T09:02:23.5179696Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:27 GMT request-id: - - 907c62a6-c88c-4598-b39e-feb60fd9de9b + - b27af87d-4f0d-416a-852f-038411b19987 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml index 9c6d5d28e4f..cb67dfa3ae2 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml @@ -18,7 +18,7 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.1.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002?api-version=2021-04-01 response: @@ -32,11 +32,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 13 May 2021 03:41:35 GMT + - Wed, 26 May 2021 09:02:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/9f72debb-06de-4f5d-be98-9c5fad6bb4d6?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/37e189b2-b100-4bbe-a659-883d168c2b03?monitor=true&api-version=2021-04-01 pragma: - no-cache server: @@ -64,12 +64,12 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.1.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/9f72debb-06de-4f5d-be98-9c5fad6bb4d6?monitor=true&api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/37e189b2-b100-4bbe-a659-883d168c2b03?monitor=true&api-version=2021-04-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-13T03:41:33.7219518Z","key2":"2021-05-13T03:41:33.7219518Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-13T03:41:33.7219518Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-13T03:41:33.7219518Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-13T03:41:33.6438360Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z16.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-26T09:02:02.5037999Z","key2":"2021-05-26T09:02:02.5037999Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.5037999Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.5037999Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-26T09:02:02.3944342Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z16.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -78,7 +78,7 @@ interactions: content-type: - application/json date: - - Thu, 13 May 2021 03:41:52 GMT + - Wed, 26 May 2021 09:02:21 GMT expires: - '-1' pragma: @@ -110,16 +110,13 @@ interactions: Content-Length: - '27' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n -l User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '' @@ -129,11 +126,11 @@ interactions: content-length: - '0' date: - - Thu, 13 May 2021 03:43:44 GMT + - Wed, 26 May 2021 09:02:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/3e2cceb3-c4d4-457d-a556-c1a38ad7b97f?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/db5eaeed-8ff7-4edf-b9e1-bfb351157d1e?api-version=2021-01-01 pragma: - no-cache server: @@ -151,7 +148,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -161,10 +158,9 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/3e2cceb3-c4d4-457d-a556-c1a38ad7b97f?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/operationResults/db5eaeed-8ff7-4edf-b9e1-bfb351157d1e?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtestacct000003.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -177,13 +173,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:44:11 GMT + - Wed, 26 May 2021 09:02:42 GMT etag: - - '"0x8D915C15F4E250D"' + - '"0x8D92025059B3545"' expires: - '-1' last-modified: - - Thu, 13 May 2021 03:44:12 GMT + - Wed, 26 May 2021 09:02:42 GMT pragma: - no-cache server: @@ -213,12 +209,12 @@ interactions: ParameterSetName: - -g -n --storage-account User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.1.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002?api-version=2021-04-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-13T03:41:33.7219518Z","key2":"2021-05-13T03:41:33.7219518Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-13T03:41:33.7219518Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-13T03:41:33.7219518Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-13T03:41:33.6438360Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z16.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","name":"clibatchteststor000002","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"keyCreationTime":{"key1":"2021-05-26T09:02:02.5037999Z","key2":"2021-05-26T09:02:02.5037999Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.5037999Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-05-26T09:02:02.5037999Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-05-26T09:02:02.3944342Z","primaryEndpoints":{"dfs":"https://clibatchteststor000002.dfs.core.windows.net/","web":"https://clibatchteststor000002.z16.web.core.windows.net/","blob":"https://clibatchteststor000002.blob.core.windows.net/","queue":"https://clibatchteststor000002.queue.core.windows.net/","table":"https://clibatchteststor000002.table.core.windows.net/","file":"https://clibatchteststor000002.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -227,7 +223,7 @@ interactions: content-type: - application/json date: - - Thu, 13 May 2021 03:45:56 GMT + - Wed, 26 May 2021 09:04:23 GMT expires: - '-1' pragma: @@ -259,20 +255,17 @@ interactions: Content-Length: - '268' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --storage-account User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtestacct000003.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-13T03:45:58.9407757Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:04:26.1888964Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -281,13 +274,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:45:58 GMT + - Wed, 26 May 2021 09:04:25 GMT etag: - - '"0x8D915C19EF82F3E"' + - '"0x8D9202543260446"' expires: - '-1' last-modified: - - Thu, 13 May 2021 03:45:58 GMT + - Wed, 26 May 2021 09:04:26 GMT pragma: - no-cache server: @@ -319,16 +312,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtestacct000003.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-13T03:45:58.9407757Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:04:26.1888964Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -337,13 +327,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:45:59 GMT + - Wed, 26 May 2021 09:04:26 GMT etag: - - '"0x8D915C19EF5AC0D"' + - '"0x8D9202543231BC4"' expires: - '-1' last-modified: - - Thu, 13 May 2021 03:45:58 GMT + - Wed, 26 May 2021 09:04:26 GMT pragma: - no-cache server: @@ -375,12 +365,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/syncAutoStorageKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/syncAutoStorageKeys?api-version=2021-01-01 response: body: string: '' @@ -388,7 +375,7 @@ interactions: cache-control: - no-cache date: - - Thu, 13 May 2021 03:46:01 GMT + - Wed, 26 May 2021 09:04:28 GMT expires: - '-1' pragma: @@ -420,15 +407,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatchtestacct000003","primary":"veryFakedStorageAccountKey==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatchtestacct000003","primary":"xs5zBfO1eMbdTH6Nqw6hm+qVOo9pJbX7fXKBnkU1eJhEDrxv/JcgbYZywZpyzAmJLJsHB9MvXVwS11gTNCuUng==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -437,7 +421,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:03 GMT + - Wed, 26 May 2021 09:04:30 GMT expires: - '-1' pragma: @@ -471,19 +455,16 @@ interactions: Content-Length: - '22' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --key-name User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/regenerateKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/regenerateKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatchtestacct000003","primary":"GHnSO9tKSBt+nZ+4XE7o0XRi6EtcYaCmJSIJ1owC1bVjLsN7R1sjZhdG9WOVSX6a598FZKGa0MsNrj+phJGHgg==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatchtestacct000003","primary":"kUVo0yzURubQ4hw5xdC+Y+cVtU/VMOgWWOa+YfhoRuZpnXO3vzOlMJ/5s9rGTn9LxTdJv9weUGsk4tgVYlO1kA==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -492,7 +473,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:04 GMT + - Wed, 26 May 2021 09:04:30 GMT expires: - '-1' pragma: @@ -526,16 +507,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtestacct000003.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-13T03:46:02.1529916Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:04:28.9576498Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -544,13 +522,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:05 GMT + - Wed, 26 May 2021 09:04:32 GMT etag: - - '"0x8D915C1A26E59DE"' + - '"0x8D92025462C4ABF"' expires: - '-1' last-modified: - - Thu, 13 May 2021 03:46:04 GMT + - Wed, 26 May 2021 09:04:31 GMT pragma: - no-cache server: @@ -580,16 +558,13 @@ interactions: ParameterSetName: - -g -n --shared-key-auth User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003","name":"clibatchtestacct000003","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtestacct000003.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-13T03:46:02.1529916Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststor000002","lastKeySync":"2021-05-26T09:04:28.9576498Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -598,13 +573,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:06 GMT + - Wed, 26 May 2021 09:04:33 GMT etag: - - '"0x8D915C1A26E59DE"' + - '"0x8D92025462C4ABF"' expires: - '-1' last-modified: - - Thu, 13 May 2021 03:46:04 GMT + - Wed, 26 May 2021 09:04:31 GMT pragma: - no-cache server: @@ -636,15 +611,12 @@ interactions: ParameterSetName: - -g -n --shared-key-auth User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatchtestacct000003","primary":"GHnSO9tKSBt+nZ+4XE7o0XRi6EtcYaCmJSIJ1owC1bVjLsN7R1sjZhdG9WOVSX6a598FZKGa0MsNrj+phJGHgg==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatchtestacct000003","primary":"kUVo0yzURubQ4hw5xdC+Y+cVtU/VMOgWWOa+YfhoRuZpnXO3vzOlMJ/5s9rGTn9LxTdJv9weUGsk4tgVYlO1kA==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -653,7 +625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:07 GMT + - Wed, 26 May 2021 09:04:33 GMT expires: - '-1' pragma: @@ -689,12 +661,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtestacct000003?api-version=2021-01-01 response: body: string: '' @@ -704,11 +673,11 @@ interactions: content-length: - '0' date: - - Thu, 13 May 2021 03:46:08 GMT + - Wed, 26 May 2021 09:04:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtestacct000003-11124088-9923-4070-a5b1-f5b83ec115a0?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtestacct000003-6c6776c8-9173-455b-a526-b856515ad461?api-version=2021-01-01 pragma: - no-cache server: @@ -726,7 +695,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -736,10 +705,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtestacct000003-11124088-9923-4070-a5b1-f5b83ec115a0?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtestacct000003-6c6776c8-9173-455b-a526-b856515ad461?api-version=2021-01-01 response: body: string: '' @@ -749,7 +717,7 @@ interactions: content-length: - '0' date: - - Thu, 13 May 2021 03:46:25 GMT + - Wed, 26 May 2021 09:04:50 GMT expires: - '-1' pragma: @@ -777,12 +745,9 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2021-01-01 response: body: string: '{"value":[]}' @@ -794,7 +759,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:26 GMT + - Wed, 26 May 2021 09:04:52 GMT expires: - '-1' pragma: @@ -826,12 +791,9 @@ interactions: ParameterSetName: - -l User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2021-01-01 response: body: string: '{"accountQuota":3}' @@ -843,7 +805,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 13 May 2021 03:46:27 GMT + - Wed, 26 May 2021 09:04:52 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml index 4461be0d937..b1a9d4a85ab 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '22' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/57665fce-ec05-483a-9446-e2d13b26b853?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/64c1a52b-3e50-494e-a201-00ab2781efdd?api-version=2021-01-01 pragma: - no-cache server: @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,29 +61,28 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/57665fce-ec05-483a-9446-e2d13b26b853?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/64c1a52b-3e50-494e-a201-00ab2781efdd?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:17 GMT etag: - - '"0x8D9117BCE1423CD"' + - '"0x8D92024F70F0A4D"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:18 GMT pragma: - no-cache server: @@ -118,15 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"veryFakedStorageAccountKey==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"3Dc3wegtHXtnxmp6qZ1FeUtAIkFqvetI/86FiaqBZyNMyWhgJ/QJdj2TJd2aVTmztSHY6emwr7GUee3O+zt3OQ==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -135,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:09 GMT + - Wed, 26 May 2021 09:02:19 GMT expires: - '-1' pragma: @@ -151,7 +144,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -169,31 +162,28 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:09 GMT + - Wed, 26 May 2021 09:02:20 GMT etag: - - '"0x8D9117BC6D553A2"' + - '"0x8D92024F0115306"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:15:56 GMT + - Wed, 26 May 2021 09:02:06 GMT pragma: - no-cache server: @@ -247,12 +237,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:51 GMT + - Wed, 26 May 2021 09:02:21 GMT return-client-request-id: - 'false' method: POST @@ -262,19 +252,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch4smtgcfbtgztkkms.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests + - https://clibatchmk32ofifixgu7kr2.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:21 GMT etag: - - '0x8D9117BCF6D830C' + - '0x8D92024F9812251' last-modified: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:22 GMT location: - https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests request-id: - - bac73702-adfb-4011-a131-c980e0f66f9f + - e9c1428f-4217-4f02-94c9-47d1ee8f506d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -317,12 +307,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:22 GMT return-client-request-id: - 'false' method: POST @@ -332,19 +322,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatch4smtgcfbtgztkkms.westus.batch.azure.com/jobs/job-1 + - https://clibatchmk32ofifixgu7kr2.westus.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:23 GMT etag: - - '0x8D9117BCFB57014' + - '0x8D92024FA354FB3' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:23 GMT location: - https://clibatch000002.westus.batch.azure.com/jobs/job-1 request-id: - - bb247d90-e5b5-4283-90e7-39a23ca2c6cf + - 88527ffc-cbe0-4fbd-9b6d-6abb22c0c4f2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -366,12 +356,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:24 GMT return-client-request-id: - 'false' method: GET @@ -379,7 +369,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n - \ {\r\n \"id\":\"xplatJobScheduleJobTests:job-1\",\"displayName\":\"jobSpecDisplayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJobScheduleJobTests:job-1\",\"eTag\":\"0x8D9117BCF7AA281\",\"lastModified\":\"2021-05-07T17:16:10.9206145Z\",\"creationTime\":\"2021-05-07T17:16:10.8946142Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-05-07T17:16:10.9926158Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-07T17:16:10.9206145Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n + \ {\r\n \"id\":\"xplatJobScheduleJobTests:job-1\",\"displayName\":\"jobSpecDisplayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJobScheduleJobTests:job-1\",\"eTag\":\"0x8D92024F98C6CFC\",\"lastModified\":\"2021-05-26T09:02:22.7277052Z\",\"creationTime\":\"2021-05-26T09:02:22.6866983Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-05-26T09:02:22.8823533Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-26T09:02:22.7277052Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P1D\",\"maxTaskRetryCount\":5\r\n },\"jobManagerTask\":{\r\n \ \"id\":\"jobManager\",\"displayName\":\"jobManagerDisplay\",\"commandLine\":\"cmd /c dir /s\",\"resourceFiles\":[\r\n {\r\n \"httpUrl\":\"https://testacct.blob.core.windows.net/\",\"filePath\":\"filePath\"\r\n @@ -417,7 +407,7 @@ interactions: \ }\r\n }\r\n }\r\n },\"metadata\":[\r\n {\r\n \ \"name\":\"specMeta1\",\"value\":\"specMetaValue1\"\r\n },{\r\n \ \"name\":\"specMeta2\",\"value\":\"specMetaValue2\"\r\n }\r\n - \ ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-07T17:16:10.9206145Z\",\"endTime\":\"2021-05-07T17:16:10.9926158Z\",\"poolId\":\"TestSpecPrefix_35981DBA-CC4E-4D6B-9B8E-74282C75D3E1\",\"schedulingError\":{\r\n + \ ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-26T09:02:22.7277052Z\",\"endTime\":\"2021-05-26T09:02:22.8823533Z\",\"poolId\":\"TestSpecPrefix_8F73A699-F06D-4F95-8E43-4F764DA4CE4F\",\"schedulingError\":{\r\n \ \"category\":\"UserError\",\"code\":\"InvalidCertificatesInAutoPool\",\"message\":\"One or more certificates specified for the pool are invalid\",\"details\":[\r\n \ {\r\n \"name\":\"sha1-0123456789abcdef\",\"value\":\"The @@ -430,9 +420,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:24 GMT request-id: - - 5c104693-35d0-44c6-aa3b-e285d1a25fae + - 2d10ff0c-74c4-411e-9761-096d14265f11 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -454,12 +444,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Wed, 26 May 2021 09:02:25 GMT return-client-request-id: - 'false' method: GET @@ -467,7 +457,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n - \ {\r\n \"id\":\"xplatJob\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJob\",\"eTag\":\"0x8D9117BCFB57014\",\"lastModified\":\"2021-05-07T17:16:11.305986Z\",\"creationTime\":\"2021-05-07T17:16:11.2769913Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.305986Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n + \ {\r\n \"id\":\"xplatJob\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJob\",\"eTag\":\"0x8D92024FA354FB3\",\"lastModified\":\"2021-05-26T09:02:23.8345139Z\",\"creationTime\":\"2021-05-26T09:02:23.8025086Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.8345139Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P1D\",\"maxTaskRetryCount\":5\r\n },\"jobManagerTask\":{\r\n \ \"id\":\"jobManager\",\"displayName\":\"jobManagerDisplay\",\"commandLine\":\"cmd /c dir /s\",\"resourceFiles\":[\r\n {\r\n \"httpUrl\":\"https://testacct.blob.core.windows.net/\",\"filePath\":\"filePath\"\r\n @@ -496,9 +486,9 @@ interactions: \ ],\"poolInfo\":{\r\n \"poolId\":\"xplatTestPool\"\r\n },\"metadata\":[\r\n \ {\r\n \"name\":\"specMeta1\",\"value\":\"specMetaValue1\"\r\n \ },{\r\n \"name\":\"specMeta2\",\"value\":\"specMetaValue2\"\r\n - \ }\r\n ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-07T17:16:11.305986Z\",\"poolId\":\"xplatTestPool\"\r\n + \ }\r\n ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-26T09:02:23.8345139Z\",\"poolId\":\"xplatTestPool\"\r\n \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n - \ },{\r\n \"id\":\"xplatJobScheduleJobTests:job-1\",\"displayName\":\"jobSpecDisplayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJobScheduleJobTests:job-1\",\"eTag\":\"0x8D9117BCF7AA281\",\"lastModified\":\"2021-05-07T17:16:10.9206145Z\",\"creationTime\":\"2021-05-07T17:16:10.8946142Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-05-07T17:16:10.9926158Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-07T17:16:10.9206145Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n + \ },{\r\n \"id\":\"xplatJobScheduleJobTests:job-1\",\"displayName\":\"jobSpecDisplayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJobScheduleJobTests:job-1\",\"eTag\":\"0x8D92024F98C6CFC\",\"lastModified\":\"2021-05-26T09:02:22.7277052Z\",\"creationTime\":\"2021-05-26T09:02:22.6866983Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-05-26T09:02:22.8823533Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-05-26T09:02:22.7277052Z\",\"priority\":1,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P1D\",\"maxTaskRetryCount\":5\r\n },\"jobManagerTask\":{\r\n \ \"id\":\"jobManager\",\"displayName\":\"jobManagerDisplay\",\"commandLine\":\"cmd /c dir /s\",\"resourceFiles\":[\r\n {\r\n \"httpUrl\":\"https://testacct.blob.core.windows.net/\",\"filePath\":\"filePath\"\r\n @@ -536,7 +526,7 @@ interactions: \ }\r\n }\r\n }\r\n },\"metadata\":[\r\n {\r\n \ \"name\":\"specMeta1\",\"value\":\"specMetaValue1\"\r\n },{\r\n \ \"name\":\"specMeta2\",\"value\":\"specMetaValue2\"\r\n }\r\n - \ ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-07T17:16:10.9206145Z\",\"endTime\":\"2021-05-07T17:16:10.9926158Z\",\"poolId\":\"TestSpecPrefix_35981DBA-CC4E-4D6B-9B8E-74282C75D3E1\",\"schedulingError\":{\r\n + \ ],\"executionInfo\":{\r\n \"startTime\":\"2021-05-26T09:02:22.7277052Z\",\"endTime\":\"2021-05-26T09:02:22.8823533Z\",\"poolId\":\"TestSpecPrefix_8F73A699-F06D-4F95-8E43-4F764DA4CE4F\",\"schedulingError\":{\r\n \ \"category\":\"UserError\",\"code\":\"InvalidCertificatesInAutoPool\",\"message\":\"One or more certificates specified for the pool are invalid\",\"details\":[\r\n \ {\r\n \"name\":\"sha1-0123456789abcdef\",\"value\":\"The @@ -549,9 +539,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:26 GMT request-id: - - 1b5b092c-c3f2-4c26-b9d8-0496ad77f3a9 + - c99177dc-9b25-43bf-bc7d-035c310eeee4 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -575,12 +565,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Wed, 26 May 2021 09:02:26 GMT return-client-request-id: - 'false' method: DELETE @@ -592,9 +582,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:26 GMT request-id: - - ec7a54d6-300e-4d37-ba20-7f70d9513221 + - 8e01fcad-803b-459b-a744-f8d206469fb8 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -618,12 +608,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:55 GMT + - Wed, 26 May 2021 09:02:31 GMT return-client-request-id: - 'false' method: DELETE @@ -635,9 +625,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:13 GMT + - Wed, 26 May 2021 09:02:31 GMT request-id: - - e3f0f109-c04a-425b-94a3-884258d7b42e + - f6c62211-6b25-4967-8f2e-8b4c3954c19e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml index 8dbfe78a50f..39164aa9e73 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_jobs_and_tasks.yaml @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 25 May 2021 07:15:55 GMT + - Wed, 26 May 2021 09:02:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63620cd5-d443-40ce-a780-72c7916ff77a?api-version=2021-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/fe1134fb-020c-405a-b6d5-cf29c3bdc415?api-version=2021-01-01 pragma: - no-cache server: @@ -61,9 +61,9 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63620cd5-d443-40ce-a780-72c7916ff77a?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/fe1134fb-020c-405a-b6d5-cf29c3bdc415?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -76,13 +76,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:16:10 GMT + - Wed, 26 May 2021 09:02:16 GMT etag: - - '"0x8D91F4CF94235E9"' + - '"0x8D92024F65806B9"' expires: - '-1' last-modified: - - Tue, 25 May 2021 07:16:10 GMT + - Wed, 26 May 2021 09:02:17 GMT pragma: - no-cache server: @@ -114,12 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"fCSTk3LNrhI8DYioICwbszjK1rp832IbyysV1uG2mIAxGPg+yg1Cxf3FbrDAjdXMFKcYf1f4Yj1pvs321n1sqA==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"S41Tl4dIll9XJQQSeM0mk4C7arVE/sPOFWpJ6LhZiiAiyx3oqOwBoTKQb5Fk3NnhDbc4f5ixbKdVdLfYf2SlRw==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:16:12 GMT + - Wed, 26 May 2021 09:02:18 GMT expires: - '-1' pragma: @@ -162,7 +162,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: @@ -177,13 +177,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:16:13 GMT + - Wed, 26 May 2021 09:02:19 GMT etag: - - '"0x8D91F4CF229E6BA"' + - '"0x8D92024EF5512F2"' expires: - '-1' last-modified: - - Tue, 25 May 2021 07:15:59 GMT + - Wed, 26 May 2021 09:02:05 GMT pragma: - no-cache server: @@ -219,7 +219,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:15 GMT + - Wed, 26 May 2021 09:02:20 GMT return-client-request-id: - 'false' method: POST @@ -229,19 +229,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/pools/xplatJobForTaskTests + - https://clibatchreen3vsd4le4sqgf.canadaeast.batch.azure.com/pools/xplatJobForTaskTests dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:15 GMT + - Wed, 26 May 2021 09:02:21 GMT etag: - - '0x8D91F4CFC2FCC09' + - '0x8D92024F90C5E79' last-modified: - - Tue, 25 May 2021 07:16:15 GMT + - Wed, 26 May 2021 09:02:21 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/pools/xplatJobForTaskTests request-id: - - 279cf3c6-efea-49a8-b84e-908d4c89fe12 + - 95a27fce-c073-4496-b252-61a0a99651b7 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -275,7 +275,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:17 GMT + - Wed, 26 May 2021 09:02:22 GMT return-client-request-id: - 'false' method: POST @@ -285,19 +285,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/job-1 + - https://clibatchreen3vsd4le4sqgf.canadaeast.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:17 GMT + - Wed, 26 May 2021 09:02:23 GMT etag: - - '0x8D91F4CFD11AE33' + - '0x8D92024F9EF90DF' last-modified: - - Tue, 25 May 2021 07:16:17 GMT + - Wed, 26 May 2021 09:02:23 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/jobs/job-1 request-id: - - f5917ff0-ba5e-46c4-a42e-5bfb0872adf5 + - 5e51549b-77a7-4686-8e85-a8a5be02aa69 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -324,14 +324,14 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:18 GMT + - Wed, 26 May 2021 09:02:23 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4CFD11AE33\",\"lastModified\":\"2021-05-25T07:16:17.3405747Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D92024F9EF90DF\",\"lastModified\":\"2021-05-26T09:02:23.3774303Z\",\"creationTime\":\"2021-05-26T09:02:23.335434Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.3774303Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":5\r\n \ },\"jobManagerTask\":{\r\n \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -340,7 +340,7 @@ interactions: \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"metadata\":[\r\n \ {\r\n \"name\":\"test\",\"value\":\"value\"\r\n }\r\n ],\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-26T09:02:23.3774303Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -348,13 +348,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:18 GMT + - Wed, 26 May 2021 09:02:24 GMT etag: - - '0x8D91F4CFD11AE33' + - '0x8D92024F9EF90DF' last-modified: - - Tue, 25 May 2021 07:16:17 GMT + - Wed, 26 May 2021 09:02:23 GMT request-id: - - 179905fb-4791-47ed-b8bb-45d770e98741 + - 75d467e7-044b-4efd-b7e1-050eaae02bbb server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -386,7 +386,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:20 GMT + - Wed, 26 May 2021 09:02:25 GMT return-client-request-id: - 'false' method: PATCH @@ -396,17 +396,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchreen3vsd4le4sqgf.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:20 GMT + - Wed, 26 May 2021 09:02:26 GMT etag: - - '0x8D91F4CFEB28B95' + - '0x8D92024FB933562' last-modified: - - Tue, 25 May 2021 07:16:20 GMT + - Wed, 26 May 2021 09:02:26 GMT request-id: - - f425b35a-a819-46df-8a6d-a036fe1d57e5 + - fdd99ea1-fe89-408c-a093-44ab60b5f5a2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -433,14 +433,14 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:21 GMT + - Wed, 26 May 2021 09:02:26 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4CFEB28B95\",\"lastModified\":\"2021-05-25T07:16:20.0725397Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D92024FB933562\",\"lastModified\":\"2021-05-26T09:02:26.1276002Z\",\"creationTime\":\"2021-05-26T09:02:23.335434Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.3774303Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P1279DT12H30M5S\",\"maxTaskRetryCount\":0\r\n },\"jobManagerTask\":{\r\n \ \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n \ {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -449,7 +449,7 @@ interactions: \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"metadata\":[\r\n \ {\r\n \"name\":\"test\",\"value\":\"value\"\r\n }\r\n ],\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-26T09:02:23.3774303Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -457,13 +457,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:21 GMT + - Wed, 26 May 2021 09:02:27 GMT etag: - - '0x8D91F4CFEB28B95' + - '0x8D92024FB933562' last-modified: - - Tue, 25 May 2021 07:16:20 GMT + - Wed, 26 May 2021 09:02:26 GMT request-id: - - 45eca96c-2f7b-4c70-944d-23f89672d4cf + - adc2c065-5c7d-4657-b6c5-513863200748 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -490,14 +490,14 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 If-Unmodified-Since: - - Tue, 25 May 2021 07:16:17 GMT + - Wed, 26 May 2021 09:02:22 GMT User-Agent: - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:22 GMT + - Wed, 26 May 2021 09:02:27 GMT return-client-request-id: - 'false' method: PUT @@ -506,7 +506,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"ConditionNotMet\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"The condition specified using HTTP conditional - header(s) is not met.\\nRequestId:e223ee59-3f7f-4356-afac-ca90ec3ca578\\nTime:2021-05-25T07:16:22.7937126Z\"\r\n + header(s) is not met.\\nRequestId:5aea956c-2490-4c3b-9f19-ae197c7c08b4\\nTime:2021-05-26T09:02:28.8550402Z\"\r\n \ }\r\n}" headers: content-length: @@ -516,9 +516,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:22 GMT + - Wed, 26 May 2021 09:02:28 GMT request-id: - - e223ee59-3f7f-4356-afac-ca90ec3ca578 + - 5aea956c-2490-4c3b-9f19-ae197c7c08b4 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -548,7 +548,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:24 GMT + - Wed, 26 May 2021 09:02:29 GMT return-client-request-id: - 'false' method: PUT @@ -558,17 +558,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchgewbbhwzvru73wvc.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchreen3vsd4le4sqgf.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:24 GMT + - Wed, 26 May 2021 09:02:30 GMT etag: - - '0x8D91F4D01212684' + - '0x8D92024FDFE56FD' last-modified: - - Tue, 25 May 2021 07:16:24 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - 30251efb-5e8d-4ec7-af3b-08ca2668fc0f + - 175ec2ce-1fef-4020-8c74-88711d7b3345 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -595,14 +595,14 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:16:25 GMT + - Wed, 26 May 2021 09:02:30 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D91F4D01212684\",\"lastModified\":\"2021-05-25T07:16:24.1528452Z\",\"creationTime\":\"2021-05-25T07:16:17.3125756Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:16:17.3405747Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadaeast.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"cli-test-job-1\",\"url\":\"https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1\",\"eTag\":\"0x8D92024FDFE56FD\",\"lastModified\":\"2021-05-26T09:02:30.1851389Z\",\"creationTime\":\"2021-05-26T09:02:23.335434Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.3774303Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \ \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n \ },\"jobManagerTask\":{\r\n \"id\":\"JobManager\",\"commandLine\":\"cmd /c set AZ_BATCH_TASK_ID\",\"environmentSettings\":[\r\n {\r\n \"name\":\"CLI_TEST_VAR\",\"value\":\"CLI_TEST_VAR_VALUE\"\r\n @@ -610,7 +610,7 @@ interactions: \ },\"requiredSlots\":1,\"userIdentity\":{\r\n \"autoUser\":{\r\n \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n \ }\r\n },\"runExclusive\":true,\"allowLowPriorityNode\":true,\"killJobOnCompletion\":true\r\n \ },\"poolInfo\":{\r\n \"poolId\":\"xplatJobForTaskTests\"\r\n },\"executionInfo\":{\r\n - \ \"startTime\":\"2021-05-25T07:16:17.3405747Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2021-05-26T09:02:23.3774303Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -618,13 +618,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:16:25 GMT + - Wed, 26 May 2021 09:02:30 GMT etag: - - '0x8D91F4D01212684' + - '0x8D92024FDFE56FD' last-modified: - - Tue, 25 May 2021 07:16:24 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - c1bad69b-bbc1-4dfc-91a8-f1cf6769b197 + - 0072c738-2d46-4dea-8b5f-6956bc876afd server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pool_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pool_cmd.yaml index c3213de3c77..edb0eb6beb0 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pool_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pool_cmd.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '22' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/5ba00821-abb2-490d-b45e-0b57dd14f680?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/d1292c08-9531-468e-809d-185a073ecc0a?api-version=2021-01-01 pragma: - no-cache server: @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,29 +61,28 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/5ba00821-abb2-490d-b45e-0b57dd14f680?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/d1292c08-9531-468e-809d-185a073ecc0a?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:18 GMT etag: - - '"0x8D9117BCE4873C2"' + - '"0x8D92024F760973D"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:08 GMT + - Wed, 26 May 2021 09:02:19 GMT pragma: - no-cache server: @@ -116,31 +112,28 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2865' + - '2920' content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:20 GMT etag: - - '"0x8D9117BC71F68B6"' + - '"0x8D92024F04B5D6C"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:15:56 GMT + - Wed, 26 May 2021 09:02:07 GMT pragma: - no-cache server: @@ -172,15 +165,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"8qLQXFFFAYKZ8f/Pvq4NCV3btSL17eSNSjPX9SdIjt97fW+ql1KVGVYYhEd1PIwvo2L5sgnhqbE3fuwHdhLR5A==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"W6C9ZJxE7XzW9f6LuNUHoghNRwNiazK5fwdXF/oeJ6OS+y58hzblXfruNHAFTf1YPTNM96F225l7CnYZcQrz+Q==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -189,7 +179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:10 GMT + - Wed, 26 May 2021 09:02:21 GMT expires: - '-1' pragma: @@ -226,12 +216,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:52 GMT + - Wed, 26 May 2021 09:02:22 GMT return-client-request-id: - 'false' method: POST @@ -241,19 +231,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/xplatCreatedPool + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/xplatCreatedPool dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:22 GMT etag: - - '0x8D9117BD0094E30' + - '0x8D92024F9D347E3' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:23 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool request-id: - - c3b98aba-3b62-44ac-bb18-7825853c6d14 + - e3e23520-727c-4791-bc9c-c18c0ee1c918 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -281,12 +271,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Wed, 26 May 2021 09:02:23 GMT return-client-request-id: - 'false' method: POST @@ -295,7 +285,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidPropertyValue\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"The value provided for one of the properties - in the request body is invalid.\\nRequestId:0b23c85d-6e8c-4b39-b47d-dec9c167c2c1\\nTime:2021-05-07T17:16:12.2747959Z\"\r\n + in the request body is invalid.\\nRequestId:c8faa9bc-05c5-4dd0-8635-5ffe0e6da7d2\\nTime:2021-05-26T09:02:24.3005806Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\":\"imageReference\"\r\n \ },{\r\n \"key\":\"Reason\",\"value\":\"The specified imageReference with publisher a offer b sku c is not supported.\"\r\n }\r\n ]\r\n}" @@ -307,9 +297,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:24 GMT request-id: - - 0b23c85d-6e8c-4b39-b47d-dec9c167c2c1 + - c8faa9bc-05c5-4dd0-8635-5ffe0e6da7d2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -336,12 +326,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:53 GMT + - Wed, 26 May 2021 09:02:24 GMT return-client-request-id: - 'false' method: POST @@ -350,7 +340,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidPropertyValue\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"The value provided for one of the properties - in the request body is invalid.\\nRequestId:66256165-d90b-4c1d-9458-3b95d1ab79dc\\nTime:2021-05-07T17:16:12.6716972Z\"\r\n + in the request body is invalid.\\nRequestId:1777431e-a046-466a-99c4-c6ef8baa90a3\\nTime:2021-05-26T09:02:25.4091454Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\":\"virtualMachineImageId\"\r\n \ },{\r\n \"key\":\"PropertyValue\",\"value\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_rg/providers/Microsoft.Compute/images/custom_image\"\r\n \ },{\r\n \"key\":\"Reason\",\"value\":\"The specified resource id @@ -365,9 +355,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - 66256165-d90b-4c1d-9458-3b95d1ab79dc + - 1777431e-a046-466a-99c4-c6ef8baa90a3 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -395,12 +385,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:15:54 GMT + - Wed, 26 May 2021 09:02:25 GMT return-client-request-id: - 'false' method: POST @@ -410,19 +400,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/pool_image1 + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/pool_image1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:12 GMT + - Wed, 26 May 2021 09:02:26 GMT etag: - - '0x8D9117BD0DC0834' + - '0x8D92024FBE89503' last-modified: - - Fri, 07 May 2021 17:16:13 GMT + - Wed, 26 May 2021 09:02:26 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/pool_image1 request-id: - - 2c903096-8d40-4c81-babc-9f9bf1227558 + - d3b8f233-1f55-4b59-8d11-cab46413ee0e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -444,19 +434,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:17:54 GMT + - Wed, 26 May 2021 09:04:27 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9117BD0094E30\",\"lastModified\":\"2021-05-07T17:16:11.8556208Z\",\"creationTime\":\"2021-05-07T17:16:11.8556208Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.8556208Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:16:13.1386392Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D92024F9D347E3\",\"lastModified\":\"2021-05-26T09:02:23.1920611Z\",\"creationTime\":\"2021-05-26T09:02:23.1920611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.1920611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:24.6530767Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \ \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n \ },\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n @@ -468,13 +458,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:18:13 GMT + - Wed, 26 May 2021 09:04:27 GMT etag: - - '0x8D9117BD0094E30' + - '0x8D92024F9D347E3' last-modified: - - Fri, 07 May 2021 17:16:11 GMT + - Wed, 26 May 2021 09:02:23 GMT request-id: - - e97d19f8-8332-4188-a35c-6208b4f2f80c + - 8ee82585-658b-4d36-b393-d67868d87215 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -500,12 +490,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:17:55 GMT + - Wed, 26 May 2021 09:04:28 GMT return-client-request-id: - 'false' method: POST @@ -515,17 +505,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/xplatCreatedPool/resize + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/xplatCreatedPool/resize dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:18:13 GMT + - Wed, 26 May 2021 09:04:28 GMT etag: - - '0x8D9117C1905874D' + - '0x8D9202544C781B2' last-modified: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:28 GMT request-id: - - 0cf0ca44-b6fc-4cdb-9b1d-eddb0919ca50 + - a64857f3-1666-4ad7-b222-63b49dc6d73d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -547,19 +537,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:17:55 GMT + - Wed, 26 May 2021 09:04:29 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9117C1905874D\",\"lastModified\":\"2021-05-07T17:18:14.3045453Z\",\"creationTime\":\"2021-05-07T17:16:11.8556208Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.8556208Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-07T17:18:14.3045453Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9202544C781B2\",\"lastModified\":\"2021-05-26T09:04:28.9440178Z\",\"creationTime\":\"2021-05-26T09:02:23.1920611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.1920611Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-26T09:04:28.9440178Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \ \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n \ },\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n @@ -571,13 +561,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:29 GMT etag: - - '0x8D9117C1905874D' + - '0x8D9202544C781B2' last-modified: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:28 GMT request-id: - - da0a66b8-bd34-4de3-ae2e-37a92218d21f + - d4531069-1af3-4e6e-8a54-20c10a525a62 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -599,12 +589,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:17:56 GMT + - Wed, 26 May 2021 09:04:30 GMT return-client-request-id: - 'false' method: GET @@ -624,9 +614,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:30 GMT request-id: - - b11d4a79-c754-4764-8690-cee0cf203895 + - dd0e9f83-e188-4742-8fe8-a10aa5583d2a server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -650,12 +640,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:17:56 GMT + - Wed, 26 May 2021 09:04:31 GMT return-client-request-id: - 'false' method: POST @@ -665,17 +655,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/xplatCreatedPool/stopresize + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/xplatCreatedPool/stopresize dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:18:15 GMT + - Wed, 26 May 2021 09:04:32 GMT etag: - - '0x8D9117C1905874D' + - '0x8D9202544C781B2' last-modified: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:28 GMT request-id: - - ecace525-ab8c-4603-8614-684ae2601660 + - b4de0c8b-cfdf-4fa8-8851-fc40cd3fed4e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -697,19 +687,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:56 GMT + - Wed, 26 May 2021 09:06:32 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9117C1905874D\",\"lastModified\":\"2021-05-07T17:18:14.3045453Z\",\"creationTime\":\"2021-05-07T17:16:11.8556208Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.8556208Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:18:19.5369969Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9202544C781B2\",\"lastModified\":\"2021-05-26T09:04:28.9440178Z\",\"creationTime\":\"2021-05-26T09:02:23.1920611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.1920611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:04:34.1863344Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n \ {\r\n \"code\":\"ResizeStopped\",\"message\":\"Desired number of low priority nodes could not be allocated due to a stop resize operation\"\r\n \ }\r\n ],\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n @@ -724,13 +714,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:33 GMT etag: - - '0x8D9117C1905874D' + - '0x8D9202544C781B2' last-modified: - - Fri, 07 May 2021 17:18:14 GMT + - Wed, 26 May 2021 09:04:28 GMT request-id: - - c5a07ea2-a958-42b3-850b-c401fb83520d + - 6751774d-8d89-4cc2-b29f-d9dd400b3119 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -758,12 +748,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:57 GMT + - Wed, 26 May 2021 09:06:33 GMT method: POST uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2020-09-01.12.0 response: @@ -773,17 +763,17 @@ interactions: content-length: - '0' dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:34 GMT etag: - - '0x8D9117C61E548C7' + - '0x8D920258F839FBC' last-modified: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:34 GMT request-id: - - a86e2ba4-6a34-4c12-8d5e-553b33594c0a + - e0284225-eaa2-4ccb-a1fc-ce617d8eddee server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -803,17 +793,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:57 GMT + - Wed, 26 May 2021 09:06:34 GMT method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2020-09-01.12.0 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9117C61E548C7\",\"lastModified\":\"2021-05-07T17:20:16.5669063Z\",\"creationTime\":\"2021-05-07T17:16:11.8556208Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.8556208Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:18:19.5369969Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D920258F839FBC\",\"lastModified\":\"2021-05-26T09:06:34.328262Z\",\"creationTime\":\"2021-05-26T09:02:23.1920611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.1920611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:04:34.1863344Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n \ {\r\n \"code\":\"ResizeStopped\",\"message\":\"Desired number of low priority nodes could not be allocated due to a stop resize operation\"\r\n \ }\r\n ],\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n @@ -829,13 +819,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:34 GMT etag: - - '0x8D9117C61E548C7' + - '0x8D920258F839FBC' last-modified: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:34 GMT request-id: - - 925bb627-a184-44ac-b486-dc827f4d74a7 + - 07f93c0c-e89d-4d1b-80fe-378958229a46 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -863,12 +853,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:58 GMT + - Wed, 26 May 2021 09:06:34 GMT method: POST uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2020-09-01.12.0 response: @@ -878,17 +868,17 @@ interactions: content-length: - '0' dataserviceid: - - https://clibatchrknn4yrcyuqura36.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties + - https://clibatcharuetiq5rnznsesq.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:34 GMT etag: - - '0x8D9117C623322EE' + - '0x8D9202590671479' last-modified: - - Fri, 07 May 2021 17:20:17 GMT + - Wed, 26 May 2021 09:06:35 GMT request-id: - - c74c8625-baaa-44f2-9b0b-85128fc12dd9 + - e809e539-a920-4b36-a041-d226c472ccfe server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -908,17 +898,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:58 GMT + - Wed, 26 May 2021 09:06:36 GMT method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2020-09-01.12.0 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9117C623322EE\",\"lastModified\":\"2021-05-07T17:20:17.0771182Z\",\"creationTime\":\"2021-05-07T17:16:11.8556208Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:11.8556208Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-07T17:18:19.5369969Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"xplatCreatedPool\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool\",\"eTag\":\"0x8D9202590671479\",\"lastModified\":\"2021-05-26T09:06:35.8189177Z\",\"creationTime\":\"2021-05-26T09:02:23.1920611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.1920611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:04:34.1863344Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":3,\"resizeErrors\":[\r\n \ {\r\n \"code\":\"ResizeStopped\",\"message\":\"Desired number of low priority nodes could not be allocated due to a stop resize operation\"\r\n \ }\r\n ],\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n @@ -935,13 +925,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:35 GMT etag: - - '0x8D9117C623322EE' + - '0x8D9202590671479' last-modified: - - Fri, 07 May 2021 17:20:17 GMT + - Wed, 26 May 2021 09:06:35 GMT request-id: - - 145b1cbb-3914-41db-9bd2-adff9fd3aab3 + - 7a6cf01c-b835-46da-8e28-6d92ab7a945c server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -965,12 +955,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:19:58 GMT + - Wed, 26 May 2021 09:06:36 GMT return-client-request-id: - 'false' method: DELETE @@ -982,9 +972,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:20:16 GMT + - Wed, 26 May 2021 09:06:37 GMT request-id: - - 497854e2-d129-4d0c-8d80-1968ab3a2369 + - 780437bd-1877-45bc-9c23-06e313385f36 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml index b10df9f1134..2d7910ec450 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_pools_and_nodes.yaml @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 25 May 2021 07:17:37 GMT + - Wed, 26 May 2021 09:02:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f22912b9-7e73-465c-82e0-cfb082765a72?api-version=2021-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/3d2e8321-b258-4256-ac7d-090025c41062?api-version=2021-01-01 pragma: - no-cache server: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -61,9 +61,9 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f22912b9-7e73-465c-82e0-cfb082765a72?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/3d2e8321-b258-4256-ac7d-090025c41062?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"westus","properties":{"accountEndpoint":"clibatch000002.westus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -76,13 +76,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:17:52 GMT + - Wed, 26 May 2021 09:02:18 GMT etag: - - '"0x8D91F4D36508791"' + - '"0x8D92024F7B6FD8B"' expires: - '-1' last-modified: - - Tue, 25 May 2021 07:17:53 GMT + - Wed, 26 May 2021 09:02:19 GMT pragma: - no-cache server: @@ -114,12 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"veryFakedStorageAccountKey==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"HrsAr3/Pc7yB8vMZMPlUffKes/wCY1GQesO0SxjW3bnrD947DtvUoFd90KsM8i4o+eyq+/dfXG+EYYY5SdTHNg==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:17:54 GMT + - Wed, 26 May 2021 09:02:20 GMT expires: - '-1' pragma: @@ -162,7 +162,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: @@ -177,13 +177,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 07:17:55 GMT + - Wed, 26 May 2021 09:02:21 GMT etag: - - '"0x8D91F4D2F4C80A3"' + - '"0x8D92024F0A3CD65"' expires: - '-1' last-modified: - - Tue, 25 May 2021 07:17:41 GMT + - Wed, 26 May 2021 09:02:07 GMT pragma: - no-cache server: @@ -219,7 +219,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:17:57 GMT + - Wed, 26 May 2021 09:02:22 GMT return-client-request-id: - 'false' method: POST @@ -229,19 +229,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-paas dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:17:57 GMT + - Wed, 26 May 2021 09:02:22 GMT etag: - - '0x8D91F4D38C5895D' + - '0x8D92024F9D96258' last-modified: - - Tue, 25 May 2021 07:17:57 GMT + - Wed, 26 May 2021 09:02:23 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas request-id: - - 20d7fc57-bc0d-40ac-821d-1bb0910d0d01 + - 47f1d6d5-4dd8-4274-9d11-a5d5ff835c4c server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -274,7 +274,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:17:59 GMT + - Wed, 26 May 2021 09:02:23 GMT return-client-request-id: - 'false' method: POST @@ -284,19 +284,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-iaas dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:17:58 GMT + - Wed, 26 May 2021 09:02:24 GMT etag: - - '0x8D91F4D3990F070' + - '0x8D92024FAA146E1' last-modified: - - Tue, 25 May 2021 07:17:58 GMT + - Wed, 26 May 2021 09:02:24 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas request-id: - - 98e2d782-c061-4137-89c7-1c857e4908f0 + - 793c7f6c-2fa8-4bfd-93d2-92748eb5c958 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -331,7 +331,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:24 GMT return-client-request-id: - 'false' method: POST @@ -341,19 +341,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:25 GMT etag: - - '0x8D91F4D3A53089C' + - '0x8D92024FB624DA5' last-modified: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:25 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json request-id: - - e5a01e55-badb-438d-b3d8-1c317b322e6e + - b7f94931-cbbe-45fc-a52c-1f38af53b1d6 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -380,14 +380,14 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:01 GMT + - Wed, 26 May 2021 09:02:26 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D91F4D3A53089C\",\"lastModified\":\"2021-05-25T07:18:00.1098908Z\",\"creationTime\":\"2021-05-25T07:18:00.1098908Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D92024FB624DA5\",\"lastModified\":\"2021-05-26T09:02:25.8070949Z\",\"creationTime\":\"2021-05-26T09:02:25.8070949Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:25.8070949Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:25.8070949Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"username\":\"cliTestUser\"\r\n \ },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n },\"userAccounts\":[\r\n \ {\r\n \"name\":\"cliTestUser\",\"elevationLevel\":\"admin\",\"windowsUserConfiguration\":{\r\n @@ -400,13 +400,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:26 GMT etag: - - '0x8D91F4D3A53089C' + - '0x8D92024FB624DA5' last-modified: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - fd46e2c0-6c92-4a6a-a1a1-eb7637fadcde + - 0958a866-3719-4343-bcc5-25ef6fc91f3f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -433,7 +433,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:02 GMT + - Wed, 26 May 2021 09:02:27 GMT return-client-request-id: - 'false' method: GET @@ -441,18 +441,18 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools\",\"value\":[\r\n - \ {\r\n \"id\":\"azure-cli-test-iaas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas\",\"eTag\":\"0x8D91F4D3990F070\",\"lastModified\":\"2021-05-25T07:17:58.8378736Z\",\"creationTime\":\"2021-05-25T07:17:58.8378736Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:58.8378736Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.7329077Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ {\r\n \"id\":\"azure-cli-test-iaas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas\",\"eTag\":\"0x8D92024FAA146E1\",\"lastModified\":\"2021-05-26T09:02:24.5420769Z\",\"creationTime\":\"2021-05-26T09:02:24.5420769Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:24.5420769Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:26.0290955Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n \ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04.0-LTS\",\"version\":\"latest\"\r\n \ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\"\r\n }\r\n },{\r\n - \ \"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D91F4D3A53089C\",\"lastModified\":\"2021-05-25T07:18:00.1098908Z\",\"creationTime\":\"2021-05-25T07:18:00.1098908Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-25T07:18:00.1098908Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + \ \"id\":\"azure-cli-test-json\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json\",\"eTag\":\"0x8D92024FB624DA5\",\"lastModified\":\"2021-05-26T09:02:25.8070949Z\",\"creationTime\":\"2021-05-26T09:02:25.8070949Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:25.8070949Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:25.8070949Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \ \"commandLine\":\"cmd /c echo test\",\"userIdentity\":{\r\n \"username\":\"cliTestUser\"\r\n \ },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n },\"userAccounts\":[\r\n \ {\r\n \"name\":\"cliTestUser\",\"elevationLevel\":\"admin\",\"windowsUserConfiguration\":{\r\n \ \"loginMode\":\"interactive\"\r\n }\r\n }\r\n \ ],\"taskSlotsPerNode\":3,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n - \ }\r\n },{\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D91F4D38C5895D\",\"lastModified\":\"2021-05-25T07:17:57.5048541Z\",\"creationTime\":\"2021-05-25T07:17:57.5048541Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:57.5048541Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:17:59.9738851Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ }\r\n },{\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D92024F9D96258\",\"lastModified\":\"2021-05-26T09:02:23.23206Z\",\"creationTime\":\"2021-05-26T09:02:23.23206Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.23206Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:24.5580758Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \ \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}" headers: @@ -461,9 +461,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:01 GMT + - Wed, 26 May 2021 09:02:28 GMT request-id: - - 1a8fe0b7-8326-48c1-a3c4-d2e83535f207 + - fc463a38-03c7-4d8d-af10-41c335d549ba server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -490,7 +490,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:04 GMT + - Wed, 26 May 2021 09:02:28 GMT return-client-request-id: - 'false' method: GET @@ -498,7 +498,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools\",\"value\":[\r\n - \ {\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D91F4D38C5895D\",\"lastModified\":\"2021-05-25T07:17:57.5048541Z\",\"creationTime\":\"2021-05-25T07:17:57.5048541Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-25T07:17:57.5048541Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-25T07:17:59.9738851Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n + \ {\r\n \"id\":\"azure-cli-test-paas\",\"url\":\"https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas\",\"eTag\":\"0x8D92024F9D96258\",\"lastModified\":\"2021-05-26T09:02:23.23206Z\",\"creationTime\":\"2021-05-26T09:02:23.23206Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:23.23206Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-05-26T09:02:24.5580758Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"taskSlotsPerNode\":1,\"taskSchedulingPolicy\":{\r\n \ \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \ \"osFamily\":\"4\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}" headers: @@ -507,9 +507,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:02 GMT + - Wed, 26 May 2021 09:02:28 GMT request-id: - - 7efd8b8c-e06a-4db6-b322-c37a43b07a4d + - a7957d82-ec76-4039-9389-55638b735bc7 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -540,7 +540,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:05 GMT + - Wed, 26 May 2021 09:02:29 GMT return-client-request-id: - 'false' method: POST @@ -550,17 +550,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas/resize + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-paas/resize dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:03 GMT + - Wed, 26 May 2021 09:02:30 GMT etag: - - '0x8D91F4D3D19B459' + - '0x8D92024FE1A7046' last-modified: - - Tue, 25 May 2021 07:18:04 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - 9542c61b-d556-4e74-b6c4-623f5ec338da + - 9f495bb1-6b8c-4011-8c3b-05c332cde6c0 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -587,7 +587,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:06 GMT + - Wed, 26 May 2021 09:02:30 GMT return-client-request-id: - 'false' method: GET @@ -601,13 +601,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:05 GMT + - Wed, 26 May 2021 09:02:31 GMT etag: - - '0x8D91F4D3D19B459' + - '0x8D92024FE1A7046' last-modified: - - Tue, 25 May 2021 07:18:04 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - c5ab62ba-5ac3-4ecd-836e-12edb2d52885 + - 5500483b-b4f9-4c6b-9134-d3344ff0659b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -636,7 +636,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:07 GMT + - Wed, 26 May 2021 09:02:31 GMT return-client-request-id: - 'false' method: POST @@ -646,17 +646,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:06 GMT + - Wed, 26 May 2021 09:02:31 GMT etag: - - '0x8D91F4D3D19B459' + - '0x8D92024FE1A7046' last-modified: - - Tue, 25 May 2021 07:18:04 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - 3a90a178-21c5-4ce7-a156-c763ed063203 + - 62e5c943-f8c6-4fed-ae69-0d203a083d76 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -687,7 +687,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:08 GMT + - Wed, 26 May 2021 09:02:32 GMT return-client-request-id: - 'false' method: POST @@ -697,17 +697,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:07 GMT + - Wed, 26 May 2021 09:02:32 GMT etag: - - '0x8D91F4D3F189C97' + - '0x8D920250026F104' last-modified: - - Tue, 25 May 2021 07:18:08 GMT + - Wed, 26 May 2021 09:02:33 GMT request-id: - - f85c242e-c1d5-4349-b623-ddac813a6da0 + - 94488231-567f-451f-aeca-cf5be1ba1de4 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -734,7 +734,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:09 GMT + - Wed, 26 May 2021 09:02:34 GMT return-client-request-id: - 'false' method: GET @@ -748,13 +748,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:09 GMT + - Wed, 26 May 2021 09:02:34 GMT etag: - - '0x8D91F4D3F189C97' + - '0x8D920250026F104' last-modified: - - Tue, 25 May 2021 07:18:08 GMT + - Wed, 26 May 2021 09:02:33 GMT request-id: - - 8a68f445-c835-4e99-b045-15e55d4f1415 + - 846b85bf-99db-48e7-8e04-0fd206dc20e6 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -785,25 +785,25 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:10 GMT + - Wed, 26 May 2021 09:02:35 GMT return-client-request-id: - 'false' method: POST uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2021-05-25T07:18:10.4268106Z\",\"results\":\"$TargetDedicatedNodes=0;$TargetLowPriorityNodes=3;$NodeDeallocationOption=requeue\"\r\n}" + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2021-05-26T09:02:36.0722028Z\",\"results\":\"$TargetDedicatedNodes=0;$TargetLowPriorityNodes=3;$NodeDeallocationOption=requeue\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:10 GMT + - Wed, 26 May 2021 09:02:36 GMT request-id: - - bd236401-7a15-4605-b558-f17ed38d3f97 + - aca8ed50-52f1-419c-94f6-d32d1e2260ba server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -832,7 +832,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:11 GMT + - Wed, 26 May 2021 09:02:36 GMT return-client-request-id: - 'false' method: POST @@ -842,17 +842,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:11 GMT + - Wed, 26 May 2021 09:02:36 GMT etag: - - '0x8D91F4D3F189C97' + - '0x8D920250026F104' last-modified: - - Tue, 25 May 2021 07:18:08 GMT + - Wed, 26 May 2021 09:02:33 GMT request-id: - - 6879262d-0ef4-48cf-adf1-3a5026eb1c01 + - cb19f913-bfea-4d4c-96fe-9c44c4d98eb7 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -879,7 +879,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:13 GMT + - Wed, 26 May 2021 09:02:37 GMT return-client-request-id: - 'false' method: GET @@ -893,13 +893,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:11 GMT + - Wed, 26 May 2021 09:02:38 GMT etag: - - '0x8D91F4D3F189C97' + - '0x8D920250026F104' last-modified: - - Tue, 25 May 2021 07:18:08 GMT + - Wed, 26 May 2021 09:02:33 GMT request-id: - - 82244361-8224-4a2c-8c8f-cba3f25f0106 + - 8a781cfc-11a1-4994-965f-1f6c24b68038 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -926,7 +926,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:14 GMT + - Wed, 26 May 2021 09:02:38 GMT return-client-request-id: - 'false' method: GET @@ -941,9 +941,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:13 GMT + - Wed, 26 May 2021 09:02:39 GMT request-id: - - e419d20d-46a7-4bcc-9799-6d84eec63502 + - 84179ef4-4a52-4c28-9d56-d0606cdb75ea server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -970,7 +970,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:15 GMT + - Wed, 26 May 2021 09:02:39 GMT return-client-request-id: - 'false' method: GET @@ -986,13 +986,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:14 GMT + - Wed, 26 May 2021 09:02:40 GMT etag: - - '0x8D91F4D3A53089C' + - '0x8D92024FB624DA5' last-modified: - - Tue, 25 May 2021 07:18:00 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - d147528f-508b-4970-ba83-82d20cd6160b + - d5410c29-4075-440c-8c8b-ec16e2c2fec2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1023,7 +1023,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:16 GMT + - Wed, 26 May 2021 09:02:40 GMT return-client-request-id: - 'false' method: PATCH @@ -1033,17 +1033,17 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchabtx7zw5nmu43osj.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchg3r2jen7nuycxv2b.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:16 GMT + - Wed, 26 May 2021 09:02:41 GMT etag: - - '0x8D91F4D43F95169' + - '0x8D9202504D511A5' last-modified: - - Tue, 25 May 2021 07:18:16 GMT + - Wed, 26 May 2021 09:02:41 GMT request-id: - - b81fdeee-cfd5-49d9-ae90-43d7087adf4d + - 58f74eb2-beef-4358-9966-c9a0809f8772 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1070,7 +1070,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:17 GMT + - Wed, 26 May 2021 09:02:41 GMT return-client-request-id: - 'false' method: GET @@ -1087,13 +1087,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:17 GMT + - Wed, 26 May 2021 09:02:42 GMT etag: - - '0x8D91F4D43F95169' + - '0x8D9202504D511A5' last-modified: - - Tue, 25 May 2021 07:18:16 GMT + - Wed, 26 May 2021 09:02:41 GMT request-id: - - 1f3793ba-c9bf-4b14-924c-36fdb69fd23b + - 7ea522ba-eba6-441a-8f8d-07d4e4439432 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1120,7 +1120,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:18 GMT + - Wed, 26 May 2021 09:02:43 GMT return-client-request-id: - 'false' method: GET @@ -1356,9 +1356,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:18 GMT + - Wed, 26 May 2021 09:02:43 GMT request-id: - - 774707f7-6552-448f-8e3b-60f5a842268d + - 66308c79-9ce4-4be3-aaa0-cd1b2bdfa61f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1387,7 +1387,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:20 GMT + - Wed, 26 May 2021 09:02:44 GMT return-client-request-id: - 'false' method: DELETE @@ -1399,9 +1399,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:19 GMT + - Wed, 26 May 2021 09:02:44 GMT request-id: - - 2424e39c-ae04-4106-9cf7-f95f41a93583 + - d33b2817-dfe5-4545-9f6c-ff055933f14b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1433,7 +1433,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:21 GMT + - Wed, 26 May 2021 09:02:45 GMT return-client-request-id: - 'false' method: POST @@ -1442,7 +1442,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidApplicationPackageReferences\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"One or more of the specified application - package references are invalid.\\nRequestId:5c6b30d3-e14d-45d4-be75-d7a8bd74a698\\nTime:2021-05-25T07:18:21.0929817Z\"\r\n + package references are invalid.\\nRequestId:4a358ccf-0f6e-4055-9362-0d553fbc3a2f\\nTime:2021-05-26T09:02:46.4006715Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"does-not-exist\",\"value\":\"The specified application package does not exist.\"\r\n }\r\n ]\r\n}" headers: @@ -1453,9 +1453,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:20 GMT + - Wed, 26 May 2021 09:02:46 GMT request-id: - - 5c6b30d3-e14d-45d4-be75-d7a8bd74a698 + - 4a358ccf-0f6e-4055-9362-0d553fbc3a2f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1484,7 +1484,7 @@ interactions: accept-language: - en-US ocp-date: - - Tue, 25 May 2021 07:18:22 GMT + - Wed, 26 May 2021 09:02:46 GMT return-client-request-id: - 'false' method: PATCH @@ -1493,7 +1493,7 @@ interactions: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidApplicationPackageReferences\",\"message\":{\r\n \ \"lang\":\"en-US\",\"value\":\"One or more of the specified application - package references are invalid.\\nRequestId:b235b97b-0daf-4590-a6dc-50619d63fc90\\nTime:2021-05-25T07:18:22.2297104Z\"\r\n + package references are invalid.\\nRequestId:8d027571-28ac-4def-b7f2-307e98a761a3\\nTime:2021-05-26T09:02:47.5010448Z\"\r\n \ },\"values\":[\r\n {\r\n \"key\":\"does-not-exist\",\"value\":\"The specified application package does not exist.\"\r\n }\r\n ]\r\n}" headers: @@ -1504,9 +1504,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 25 May 2021 07:18:21 GMT + - Wed, 26 May 2021 09:02:47 GMT request-id: - - b235b97b-0daf-4590-a6dc-50619d63fc90 + - 8d027571-28ac-4def-b7f2-307e98a761a3 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_task_create_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_task_create_cmd.yaml index bd002cae144..42c4775a812 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_task_create_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_task_create_cmd.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '29' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/0c8b226d-b79f-40d5-9c83-6f1bce55c120?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/81e360b6-d9c1-4709-83c9-b69dc528bad1?api-version=2021-01-01 pragma: - no-cache server: @@ -46,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,10 +61,9 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/0c8b226d-b79f-40d5-9c83-6f1bce55c120?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/81e360b6-d9c1-4709-83c9-b69dc528bad1?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadacentral","properties":{"accountEndpoint":"clibatch000002.canadacentral.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -80,13 +76,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:33 GMT + - Wed, 26 May 2021 09:02:18 GMT etag: - - '"0x8D9117BDDB2883C"' + - '"0x8D92024F7B251CC"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:34 GMT + - Wed, 26 May 2021 09:02:19 GMT pragma: - no-cache server: @@ -118,15 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2021-01-01 response: body: - string: '{"accountName":"clibatch000002","primary":"Bi0un8DsLOdRENsqjRLPR2Ua4RBRgzP2Q/OHTsw9tJPLbqQlNkrs/ltFdqui3TBEtTLBJbqigYu1ye1/lQLofg==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"pg/C5XcFLnUTp9jOOXRGSik/yFC2vF2/fMDAEUXgaGBGAe1awTg0IVIiKFehH3Bz8aJt951pMmOBznxnygYZ/Q==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -135,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:35 GMT + - Wed, 26 May 2021 09:02:21 GMT expires: - '-1' pragma: @@ -169,12 +162,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadacentral","properties":{"accountEndpoint":"clibatch000002.canadacentral.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":500,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":500},{"name":"standardDv2Family","coreQuota":250},{"name":"standardDv3Family","coreQuota":500},{"name":"standardEv3Family","coreQuota":500},{"name":"standardDSv2Family","coreQuota":250},{"name":"standardDSv3Family","coreQuota":500},{"name":"standardESv3Family","coreQuota":500},{"name":"standardFSv2Family","coreQuota":100},{"name":"standardNCFamily","coreQuota":24},{"name":"standardNVFamily","coreQuota":24},{"name":"standardDDv4Family","coreQuota":100},{"name":"standardDDSv4Family","coreQuota":100},{"name":"standardEDv4Family","coreQuota":100},{"name":"standardEDSv4Family","coreQuota":100},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -187,13 +177,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 May 2021 17:16:35 GMT + - Wed, 26 May 2021 09:02:22 GMT etag: - - '"0x8D9117BD6D1D6B4"' + - '"0x8D92024F0CFD5D2"' expires: - '-1' last-modified: - - Fri, 07 May 2021 17:16:23 GMT + - Wed, 26 May 2021 09:02:08 GMT pragma: - no-cache server: @@ -227,12 +217,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:16 GMT + - Wed, 26 May 2021 09:02:23 GMT return-client-request-id: - 'false' method: POST @@ -242,19 +232,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchxeukmtfo6ug4iwjo.canadacentral.batch.azure.com/jobs/job-1 + - https://clibatchlhb7fh3ce7icozpf.canadacentral.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:24 GMT etag: - - '0x8D9117BDEAAB4D0' + - '0x8D92024FAB60686' last-modified: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:24 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/job-1 request-id: - - b37121d0-cd4c-45ba-acc9-2d17875f1a84 + - c3093567-a7a3-45c9-b24a-32101318c681 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -285,12 +275,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:17 GMT + - Wed, 26 May 2021 09:02:25 GMT method: POST uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2020-09-01.12.0 response: @@ -298,19 +288,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchxeukmtfo6ug4iwjo.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask + - https://clibatchlhb7fh3ce7icozpf.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:25 GMT etag: - - '0x8D9117BDECFCBFE' + - '0x8D92024FB7CB905' last-modified: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:25 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask request-id: - - df2befbe-f242-4804-9758-df3975d3d8b4 + - 9f9e0222-6d32-4081-b989-d0d04220a8f7 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -332,17 +322,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:26 GMT method: GET uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2020-09-01.12.0 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"xplatTask\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask\",\"eTag\":\"0x8D9117BDECFCBFE\",\"creationTime\":\"2021-05-07T17:16:36.6445566Z\",\"lastModified\":\"2021-05-07T17:16:36.6445566Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:36.6445566Z\",\"commandLine\":\"cmd + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"xplatTask\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask\",\"eTag\":\"0x8D92024FB7CB905\",\"creationTime\":\"2021-05-26T09:02:25.9802373Z\",\"lastModified\":\"2021-05-26T09:02:25.9802373Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:25.9802373Z\",\"commandLine\":\"cmd /c dir /s\",\"environmentSettings\":[\r\n {\r\n \"name\":\"env1\",\"value\":\"value1\"\r\n \ },{\r\n \"name\":\"env2\",\"value\":\"value2\"\r\n }\r\n ],\"userIdentity\":{\r\n \ \"autoUser\":{\r\n \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n @@ -357,13 +347,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:25 GMT etag: - - '0x8D9117BDECFCBFE' + - '0x8D92024FB7CB905' last-modified: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - 1f29c8c6-c02f-4652-b4f1-bdd6ad21df93 + - 45d6dfb0-f5a5-435b-929b-4a9d0cb5b180 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -385,19 +375,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:26 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2020-09-01.12.0&timeout=30 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"xplatTask\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask\",\"eTag\":\"0x8D9117BDECFCBFE\",\"creationTime\":\"2021-05-07T17:16:36.6445566Z\",\"lastModified\":\"2021-05-07T17:16:36.6445566Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:36.6445566Z\",\"commandLine\":\"cmd + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"xplatTask\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask\",\"eTag\":\"0x8D92024FB7CB905\",\"creationTime\":\"2021-05-26T09:02:25.9802373Z\",\"lastModified\":\"2021-05-26T09:02:25.9802373Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:25.9802373Z\",\"commandLine\":\"cmd /c dir /s\",\"environmentSettings\":[\r\n {\r\n \"name\":\"env1\",\"value\":\"value1\"\r\n \ },{\r\n \"name\":\"env2\",\"value\":\"value2\"\r\n }\r\n ],\"userIdentity\":{\r\n \ \"autoUser\":{\r\n \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n @@ -412,13 +402,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:26 GMT etag: - - '0x8D9117BDECFCBFE' + - '0x8D92024FB7CB905' last-modified: - - Fri, 07 May 2021 17:16:36 GMT + - Wed, 26 May 2021 09:02:25 GMT request-id: - - dfb5c16f-5ed0-42ee-95e1-ba9b6dbcaa78 + - 92e93d31-e642-4271-86a8-9e0499930004 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -442,12 +432,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:27 GMT return-client-request-id: - 'false' method: DELETE @@ -459,9 +449,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Wed, 26 May 2021 09:02:28 GMT request-id: - - 93dec2be-f9c7-4906-980f-0f3135f58079 + - 78d2f59b-c4a9-40b2-8f88-72b3f75d64ec server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -487,12 +477,12 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:29 GMT method: POST uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2020-09-01.12.0 response: @@ -500,19 +490,19 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchxeukmtfo6ug4iwjo.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa + - https://clibatchlhb7fh3ce7icozpf.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Wed, 26 May 2021 09:02:30 GMT etag: - - '0x8D9117BDF4A72C8' + - '0x8D92024FE0D5E19' last-modified: - - Fri, 07 May 2021 17:16:37 GMT + - Wed, 26 May 2021 09:02:30 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa request-id: - - 570bb17c-886c-4d98-9b0f-a18bb6d6163b + - 5fc51ac6-7738-4215-9c5a-a979449ff503 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -534,17 +524,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:18 GMT + - Wed, 26 May 2021 09:02:30 GMT method: GET uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa?api-version=2020-09-01.12.0 response: body: - string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"aaa\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa\",\"eTag\":\"0x8D9117BDF4A72C8\",\"creationTime\":\"2021-05-07T17:16:37.4483656Z\",\"lastModified\":\"2021-05-07T17:16:37.4483656Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-07T17:16:37.4483656Z\",\"commandLine\":\"ping + string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"aaa\",\"url\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa\",\"eTag\":\"0x8D92024FE0D5E19\",\"creationTime\":\"2021-05-26T09:02:30.2836249Z\",\"lastModified\":\"2021-05-26T09:02:30.2836249Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-05-26T09:02:30.2836249Z\",\"commandLine\":\"ping 127.0.0.1 -n 30\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":5\r\n \ },\"requiredSlots\":1,\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n @@ -555,13 +545,13 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:37 GMT + - Wed, 26 May 2021 09:02:30 GMT etag: - - '0x8D9117BDF4A72C8' + - '0x8D92024FE0D5E19' last-modified: - - Fri, 07 May 2021 17:16:37 GMT + - Wed, 26 May 2021 09:02:30 GMT request-id: - - 2a19a7e4-e8ae-4393-a434-3266bdad334b + - 24039d25-f3d7-4a8f-b143-77b808b26122 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -583,12 +573,12 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:28 GMT + - Wed, 26 May 2021 09:02:40 GMT return-client-request-id: - 'false' method: GET @@ -605,9 +595,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:47 GMT + - Wed, 26 May 2021 09:02:47 GMT request-id: - - 3f585eee-54f0-4bc2-bb19-752655d8af5b + - f96c7bf6-5a72-41fd-b4df-549cecee4dda server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -631,12 +621,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:29 GMT + - Wed, 26 May 2021 09:02:47 GMT return-client-request-id: - 'false' method: DELETE @@ -648,9 +638,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:47 GMT + - Wed, 26 May 2021 09:02:48 GMT request-id: - - 559ffd69-65e2-47e3-b0e4-941ea1995535 + - 82e1bb36-f5ca-4cf7-a0af-399085e9ab38 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -683,20 +673,20 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:29 GMT + - Wed, 26 May 2021 09:02:48 GMT method: POST uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/addtaskcollection?api-version=2020-09-01.12.0 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#taskaddresult\",\"value\":[\r\n - \ {\r\n \"status\":\"Success\",\"taskId\":\"xplatTask3\",\"eTag\":\"0x8D9117BE5D18612\",\"lastModified\":\"2021-05-07T17:16:48.399925Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask3\"\r\n - \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask2\",\"eTag\":\"0x8D9117BE5D21EFF\",\"lastModified\":\"2021-05-07T17:16:48.4038399Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask2\"\r\n - \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask1\",\"eTag\":\"0x8D9117BE5D50528\",\"lastModified\":\"2021-05-07T17:16:48.4228392Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask1\"\r\n + \ {\r\n \"status\":\"Success\",\"taskId\":\"xplatTask3\",\"eTag\":\"0x8D9202509C797FC\",\"lastModified\":\"2021-05-26T09:02:49.959014Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask3\"\r\n + \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask2\",\"eTag\":\"0x8D9202509C91E53\",\"lastModified\":\"2021-05-26T09:02:49.9690067Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask2\"\r\n + \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask1\",\"eTag\":\"0x8D9202509C9457B\",\"lastModified\":\"2021-05-26T09:02:49.9700091Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask1\"\r\n \ }\r\n ]\r\n}" headers: content-type: @@ -704,9 +694,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:48 GMT + - Wed, 26 May 2021 09:02:49 GMT request-id: - - 9c1d6fe2-757e-4765-ac3e-eae577780d3e + - ad52bee3-a54a-4fde-88ed-9b07ee1f1f98 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -730,12 +720,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.3 (macOS-10.15.7-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-batch/10.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Fri, 07 May 2021 17:16:31 GMT + - Wed, 26 May 2021 09:02:51 GMT return-client-request-id: - 'false' method: DELETE @@ -747,9 +737,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 07 May 2021 17:16:50 GMT + - Wed, 26 May 2021 09:02:52 GMT request-id: - - 85b1fb2a-4b3c-40e5-8d5b-16c31ba524bd + - 844d614c-9f3d-4fb2-a20c-93ce6bffc3f8 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: From 56854c9def8d30fa7038533d2cc075ce84f88394 Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Thu, 27 May 2021 14:46:51 +0800 Subject: [PATCH 9/9] Fix batch test in network --- .../resource_providers/batch_provider.py | 7 +- ...t_private_link_resource_batch_account.yaml | 419 +++++++++++------- 2 files changed, 256 insertions(+), 170 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py index d21fc247d4f..15b04b070e8 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py @@ -5,6 +5,7 @@ from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.mgmt.batch import BatchManagement from azure.mgmt.batch.models import PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStatus +from azure.mgmt.batch.models import PrivateEndpointConnection from knack.log import get_logger from . import GeneralPrivateEndpointClient @@ -32,14 +33,16 @@ def _update_private_endpoint_connection_status(self, status=PrivateLinkServiceConnectionStatus.rejected, description=description) + parameters = PrivateEndpointConnection(private_link_service_connection_state=new_status) + client = get_mgmt_service_client( cmd.cli_ctx, BatchManagement).private_endpoint_connection - return client.update( + return client.begin_update( resource_group_name=resource_group_name, account_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name, - private_link_service_connection_state=new_status) + parameters=parameters) def remove_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): logger.error("Microsoft.Batch/batchAccounts does not currently support deleting private endpoint " diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index 1bb16ccfb9c..34dccece7a8 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -13,16 +13,13 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n -l --public-network-access User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2021-01-01 response: body: string: '' @@ -32,11 +29,11 @@ interactions: content-length: - '0' date: - - Fri, 14 May 2021 07:29:07 GMT + - Thu, 27 May 2021 06:43:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/1980c6e4-7857-4d3f-81bf-3ab65f23fcc2?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/2a685dff-8734-4d97-9280-db9113005f99?api-version=2021-01-01 pragma: - no-cache server: @@ -46,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' status: code: 202 message: Accepted @@ -54,7 +51,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -64,10 +61,9 @@ interactions: ParameterSetName: - -g -n -l --public-network-access User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/1980c6e4-7857-4d3f-81bf-3ab65f23fcc2?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/2a685dff-8734-4d97-9280-db9113005f99?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch","name":"testplinksbatch","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testplinksbatch.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard @@ -80,13 +76,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:23 GMT + - Thu, 27 May 2021 06:43:51 GMT etag: - - '"0x8D916A9FF53A412"' + - '"0x8D920DAC9E84ACD"' expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:23 GMT + - Thu, 27 May 2021 06:43:51 GMT pragma: - no-cache server: @@ -116,12 +112,12 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-27T06:43:25Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -130,7 +126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:24 GMT + - Thu, 27 May 2021 06:43:51 GMT expires: - '-1' pragma: @@ -165,21 +161,21 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"cae0f1b4-ba44-4e84-9dfc-25ab273d3731\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"381a9bf6-0f46-4302-9e3c-013433bc16b3\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"15d2ed28-1252-48da-a44a-cd8bf910a1b1\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fe04049b-341a-447a-b1bc-2267f18c11b8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"cae0f1b4-ba44-4e84-9dfc-25ab273d3731\\\"\",\r\n + \ \"etag\": \"W/\\\"381a9bf6-0f46-4302-9e3c-013433bc16b3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -190,7 +186,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/5ee1f89f-1464-410b-8d9f-3e75aa6ae500?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/65906955-2b6f-4bdb-9fd9-0712950f9744?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -198,7 +194,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:28 GMT + - Thu, 27 May 2021 06:43:58 GMT expires: - '-1' pragma: @@ -211,9 +207,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4c6e8b71-33f8-40f8-bf7e-30a7b630d3b5 + - c514d5f8-29d7-4ece-bbd7-89ac15486e1c x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' status: code: 201 message: Created @@ -231,9 +227,9 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/5ee1f89f-1464-410b-8d9f-3e75aa6ae500?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/65906955-2b6f-4bdb-9fd9-0712950f9744?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -245,7 +241,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:31 GMT + - Thu, 27 May 2021 06:44:01 GMT expires: - '-1' pragma: @@ -262,7 +258,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dc2891ad-9ea7-4c64-9b80-e12eb8a44ea7 + - d7570efe-4fb6-4143-bc48-4cb0a140253b status: code: 200 message: OK @@ -280,21 +276,21 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"c02a4193-fc31-4b76-a6c5-067bdfcd005a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"92b6e949-b26b-44b9-933e-2ec68eae460d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"15d2ed28-1252-48da-a44a-cd8bf910a1b1\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fe04049b-341a-447a-b1bc-2267f18c11b8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"c02a4193-fc31-4b76-a6c5-067bdfcd005a\\\"\",\r\n + \ \"etag\": \"W/\\\"92b6e949-b26b-44b9-933e-2ec68eae460d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -309,9 +305,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:31 GMT + - Thu, 27 May 2021 06:44:01 GMT etag: - - W/"c02a4193-fc31-4b76-a6c5-067bdfcd005a" + - W/"92b6e949-b26b-44b9-933e-2ec68eae460d" expires: - '-1' pragma: @@ -328,7 +324,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e706d0a6-8ba4-42c2-aecc-6fb9085526ba + - a5c3c30c-2b38-4e21-a7a7-f84da626e21b status: code: 200 message: OK @@ -346,13 +342,13 @@ interactions: ParameterSetName: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"c02a4193-fc31-4b76-a6c5-067bdfcd005a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"92b6e949-b26b-44b9-933e-2ec68eae460d\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -365,9 +361,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:32 GMT + - Thu, 27 May 2021 06:44:03 GMT etag: - - W/"c02a4193-fc31-4b76-a6c5-067bdfcd005a" + - W/"92b6e949-b26b-44b9-933e-2ec68eae460d" expires: - '-1' pragma: @@ -384,7 +380,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1283d52a-fc85-425f-b11f-6276a0d4af3e + - 250a8bbb-77db-4d53-8c08-1ab9ce56f8ba status: code: 200 message: OK @@ -409,20 +405,20 @@ interactions: ParameterSetName: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"0c29cff3-1773-48cc-9dd6-9500e9a03d55\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"2c0a3a7d-30b5-4575-abeb-268c6093c32c\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/18fc37f2-d750-49b8-9f0e-47defd1c491f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/7d85cb3c-9225-4072-8368-3d83ee87ac26?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -430,7 +426,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:33 GMT + - Thu, 27 May 2021 06:44:03 GMT expires: - '-1' pragma: @@ -447,9 +443,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e53cffc5-e8d4-49d8-8e4a-09d44ea8b911 + - b14270cf-f470-401b-a7c7-56a0f815c30d x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1198' status: code: 200 message: OK @@ -467,9 +463,9 @@ interactions: ParameterSetName: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/18fc37f2-d750-49b8-9f0e-47defd1c491f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/7d85cb3c-9225-4072-8368-3d83ee87ac26?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -481,7 +477,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:36 GMT + - Thu, 27 May 2021 06:44:07 GMT expires: - '-1' pragma: @@ -498,7 +494,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e5d00d20-ea29-4b90-9123-74833ced92b0 + - a397b9fd-ac40-4953-abee-c971e97ff71d status: code: 200 message: OK @@ -516,13 +512,13 @@ interactions: ParameterSetName: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"96f3ecc7-99e8-4d01-a536-acf73c3e4136\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"695181e6-4439-4cc3-8cbc-9f780c38d28f\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -535,9 +531,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:37 GMT + - Thu, 27 May 2021 06:44:07 GMT etag: - - W/"96f3ecc7-99e8-4d01-a536-acf73c3e4136" + - W/"695181e6-4439-4cc3-8cbc-9f780c38d28f" expires: - '-1' pragma: @@ -554,7 +550,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b971f298-7aa4-4327-b916-638535744097 + - ba5aa517-3da7-4ecc-8d64-a2d9d967b4ee status: code: 200 message: OK @@ -573,12 +569,12 @@ interactions: - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name --manual-request User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:28:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-27T06:43:25Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -587,7 +583,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:38 GMT + - Thu, 27 May 2021 06:44:07 GMT expires: - '-1' pragma: @@ -624,19 +620,19 @@ interactions: - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name --manual-request User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"7c5ad4df-9865-4c47-a8a3-48039ac1dd04\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"90a853e3-447f-4861-a2d0-3d61f00c074a\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"b9f7165a-d372-4b3b-a2c2-4f62e9e73f67\",\r\n \"privateLinkServiceConnections\": + \"c780ad4e-fc37-4f8f-8618-746d314e7edf\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"7c5ad4df-9865-4c47-a8a3-48039ac1dd04\\\"\",\r\n + \ \"etag\": \"W/\\\"90a853e3-447f-4861-a2d0-3d61f00c074a\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n @@ -644,13 +640,13 @@ interactions: \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.d631bb05-3ecf-4c90-9bac-a0fb9581360d\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3e83a57a-80cc-48f3-8547-d6c91c3eec12\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a8956af0-523b-42ab-9daf-ddcc479c4337?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/35dd9403-ef17-4ccd-b4b8-de70b5716ef0?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -658,7 +654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:15 GMT expires: - '-1' pragma: @@ -671,9 +667,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e887e3fe-0bbc-438f-88b9-3c033df88fd9 + - e8a4892c-f94e-4623-bd1b-70db2c31d374 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -692,9 +688,109 @@ interactions: - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name --manual-request User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/35dd9403-ef17-4ccd-b4b8-de70b5716ef0?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 May 2021 06:44:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9f4b1288-978a-4d5d-b88b-5bcbcf794209 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/35dd9403-ef17-4ccd-b4b8-de70b5716ef0?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 27 May 2021 06:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 1340cd33-1df5-4ab1-848c-05f37b82db7f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a8956af0-523b-42ab-9daf-ddcc479c4337?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/35dd9403-ef17-4ccd-b4b8-de70b5716ef0?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -706,7 +802,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:56 GMT + - Thu, 27 May 2021 06:44:56 GMT expires: - '-1' pragma: @@ -723,7 +819,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b6aa953d-322a-444a-ab06-48d15fe03d05 + - 539d1a7a-4bff-4a76-9db4-7d1e32d2d67a status: code: 200 message: OK @@ -742,19 +838,19 @@ interactions: - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name --manual-request User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"4d0bf5ae-535a-4a5c-b1aa-cf04632ff15a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"67773215-d7d9-4363-aad5-4ba30451390f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"b9f7165a-d372-4b3b-a2c2-4f62e9e73f67\",\r\n \"privateLinkServiceConnections\": + \"c780ad4e-fc37-4f8f-8618-746d314e7edf\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"4d0bf5ae-535a-4a5c-b1aa-cf04632ff15a\\\"\",\r\n + \ \"etag\": \"W/\\\"67773215-d7d9-4363-aad5-4ba30451390f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n @@ -763,7 +859,7 @@ interactions: \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.d631bb05-3ecf-4c90-9bac-a0fb9581360d\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3e83a57a-80cc-48f3-8547-d6c91c3eec12\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: cache-control: @@ -773,9 +869,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:56 GMT + - Thu, 27 May 2021 06:44:56 GMT etag: - - W/"4d0bf5ae-535a-4a5c-b1aa-cf04632ff15a" + - W/"67773215-d7d9-4363-aad5-4ba30451390f" expires: - '-1' pragma: @@ -792,7 +888,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5478063f-0101-4032-90d6-2b170e7ac420 + - f18e2399-f85b-40a4-9543-470e8a7afe2b status: code: 200 message: OK @@ -810,12 +906,12 @@ interactions: ParameterSetName: - --name --resource-group --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) AZURECLI/2.24.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections?api-version=2020-05-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual approval still required","actionsRequired":"Manual approval request"}}}]}' headers: cache-control: @@ -825,7 +921,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:58 GMT + - Thu, 27 May 2021 06:44:59 GMT expires: - '-1' pragma: @@ -857,16 +953,13 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2021-01-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch","name":"testplinksbatch","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testplinksbatch.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardDDv4Family","coreQuota":0},{"name":"standardDDSv4Family","coreQuota":0},{"name":"standardEDv4Family","coreQuota":0},{"name":"standardEDSv4Family","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0},{"name":"standardMSv2Family","coreQuota":0},{"name":"standardEIv3Family","coreQuota":0},{"name":"standardNVSv4Family","coreQuota":0},{"name":"Standard - NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"provisioningState":"Succeeded","privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"provisioningState":"Succeeded","privateLinkServiceConnectionState":{"status":"Pending","description":"Manual approval still required","actionsRequired":"Manual approval request"}}}],"encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: @@ -876,13 +969,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:29:59 GMT + - Thu, 27 May 2021 06:45:00 GMT etag: - - '"0x8D916A9F99B96E1"' + - '"0x8D920DAC4A8360D"' expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:14 GMT + - Thu, 27 May 2021 06:43:42 GMT pragma: - no-cache server: @@ -913,23 +1006,20 @@ interactions: Content-Length: - '113' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$0bee1e89-a77c-42b0-99eb-e322bf402e68?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$7c5498ce-2c42-424f-92d7-019becd239ff?api-version=2021-01-01 cache-control: - no-cache content-length: @@ -937,15 +1027,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:01 GMT + - Thu, 27 May 2021 06:45:02 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$0bee1e89-a77c-42b0-99eb-e322bf402e68?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$7c5498ce-2c42-424f-92d7-019becd239ff?api-version=2021-01-01 pragma: - no-cache server: @@ -955,7 +1045,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1199' status: code: 202 message: Accepted @@ -963,7 +1053,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -973,10 +1063,9 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$0bee1e89-a77c-42b0-99eb-e322bf402e68?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$7c5498ce-2c42-424f-92d7-019becd239ff?api-version=2021-01-01 response: body: string: '{"status":"Succeeded","retryAfter":0}' @@ -988,7 +1077,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:17 GMT + - Thu, 27 May 2021 06:45:17 GMT expires: - '-1' pragma: @@ -1010,7 +1099,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1020,13 +1109,12 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1036,13 +1124,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:17 GMT + - Thu, 27 May 2021 06:45:17 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT pragma: - no-cache server: @@ -1072,12 +1160,12 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1087,13 +1175,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:18 GMT + - Thu, 27 May 2021 06:45:19 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT pragma: - no-cache server: @@ -1124,23 +1212,20 @@ interactions: Content-Length: - '113' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$68f8ef9e-1be3-4bd9-b41e-04ca8476ccb1?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$d074d620-0952-474d-a49b-be43b55e824a?api-version=2021-01-01 cache-control: - no-cache content-length: @@ -1148,15 +1233,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:20 GMT + - Thu, 27 May 2021 06:45:21 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$68f8ef9e-1be3-4bd9-b41e-04ca8476ccb1?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$d074d620-0952-474d-a49b-be43b55e824a?api-version=2021-01-01 pragma: - no-cache server: @@ -1166,7 +1251,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 202 message: Accepted @@ -1174,7 +1259,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1184,10 +1269,9 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67$68f8ef9e-1be3-4bd9-b41e-04ca8476ccb1?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf$d074d620-0952-474d-a49b-be43b55e824a?api-version=2021-01-01 response: body: string: '{"status":"Succeeded","retryAfter":0}' @@ -1199,7 +1283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:36 GMT + - Thu, 27 May 2021 06:45:36 GMT expires: - '-1' pragma: @@ -1221,7 +1305,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1231,13 +1315,12 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - AZURECLI/2.24.0 azsdk-python-mgmt-batch/15.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2021-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1247,13 +1330,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:36 GMT + - Thu, 27 May 2021 06:45:36 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT pragma: - no-cache server: @@ -1283,12 +1366,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","name":"priv_endpoint000004.b9f7165a-d372-4b3b-a2c2-4f62e9e73f67","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D916AA0C9707A8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","name":"priv_endpoint000004.c780ad4e-fc37-4f8f-8618-746d314e7edf","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D920DAE14E5C7B\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1298,13 +1381,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:38 GMT + - Thu, 27 May 2021 06:45:38 GMT etag: - - W/"0x8D916AA0C9707A8" + - W/"0x8D920DAE14E5C7B" expires: - '-1' last-modified: - - Fri, 14 May 2021 07:29:46 GMT + - Thu, 27 May 2021 06:44:30 GMT pragma: - no-cache server: @@ -1336,7 +1419,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2021-02-01 response: @@ -1346,17 +1429,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/8d70f175-57f3-42e0-a33b-382d38b22672?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/88b747da-5988-4e16-9bc0-9d458e3c14cc?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:30:39 GMT + - Thu, 27 May 2021 06:45:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/8d70f175-57f3-42e0-a33b-382d38b22672?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/88b747da-5988-4e16-9bc0-9d458e3c14cc?api-version=2021-02-01 pragma: - no-cache server: @@ -1367,9 +1450,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2012f964-421d-47bf-a6a7-cf1ab3cf2086 + - 8b20e7b2-468e-4c71-9bb8-277b78a183c0 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -1387,9 +1470,9 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/8d70f175-57f3-42e0-a33b-382d38b22672?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/88b747da-5988-4e16-9bc0-9d458e3c14cc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1401,7 +1484,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:30:50 GMT + - Thu, 27 May 2021 06:45:50 GMT expires: - '-1' pragma: @@ -1418,7 +1501,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fb286129-2c52-4c8b-b724-8773ab0af022 + - 7aa30eee-9ed3-47cc-89e5-b5bddebd7c24 status: code: 200 message: OK