diff --git a/src/azure-cli/azure/cli/command_modules/batch/_command_type.py b/src/azure-cli/azure/cli/command_modules/batch/_command_type.py index ce9c0ade378..5b5fbf7728a 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_command_type.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_command_type.py @@ -82,7 +82,7 @@ def find_param_type(model, param): :returns: str """ # Search for the :type param_name: in the docstring - pattern = r":type {}:(.*?)\n(\s*:param |\s*:rtype:|\s*:raises:|\s*\"{{3}})".format(param) + pattern = rf":type {param}:(.*?)\n(\s*:param |\s*:rtype:|\s*:raises:|\s*\"{{3}})" param_type = re.search(pattern, model.__doc__, re.DOTALL) return re.sub(r"\n\s*", "", param_type.group(1).strip()) @@ -94,7 +94,7 @@ def find_param_help(model, param): :returns: str """ # Search for :param param_name: in the docstring - pattern = r":param {}:(.*?)\n\s*:type ".format(param) + pattern = rf":param {param}:(.*?)\n\s*:type " param_doc = re.search(pattern, model.__doc__, re.DOTALL) return re.sub(r"\n\s*", " ", param_doc.group(1).strip()) @@ -182,7 +182,7 @@ def format_options_name(operation): operation = operation.split('#')[-1] op_class, op_function = operation.split('.') op_class = operations_name(op_class) - return "{}_{}_options".format(op_class, op_function) + return f"{op_class}_{op_function}_options" class BatchArgumentTree: @@ -292,7 +292,7 @@ def deserialize_json(self, kwargs, json_obj): # Use from_dict in order to deserialize with case insensitive kwargs[self._request_param['name']] = model_type.from_dict(json_obj) except DeserializationError as error: - message += ": {}".format(error) + message += f": {error}" raise ValueError(message.format(self._request_param['model'])) else: if kwargs[self._request_param['name']] is None: @@ -408,7 +408,7 @@ def parse(self, namespace): except EnvironmentError: raise ValueError("Cannot access JSON request file: " + namespace.json_file) except ValueError as err: - raise ValueError("Invalid JSON file: {}".format(err)) + raise ValueError(f"Invalid JSON file: {err}") other_values = [arg_name(n) for n in self._arg_tree if getattr(namespace, n)] if other_values: message = "--json-file cannot be combined with:\n" @@ -431,7 +431,7 @@ class AzureBatchDataPlaneCommand: def __init__(self, operation, command_loader, client_factory=None, validator=None, **kwargs): if not isinstance(operation, str): - raise ValueError("Operation must be a string. Got '{}'".format(operation)) + raise ValueError(f"Operation must be a string. Got '{operation}'") self._flatten = kwargs.pop('flatten', pformat.FLATTEN) # Number of object levels to flatten self._head_cmd = False @@ -521,7 +521,7 @@ def _execute_command(kwargs): message = ex.error.message.value if ex.error.values: for detail in ex.error.values: - message += "\n{}: {}".format(detail.key, detail.value) + message += f"\n{detail.key}: {detail.value}" raise CLIError(message) except AttributeError: raise CLIError(ex) @@ -764,10 +764,10 @@ def _load_transformed_arguments(self, handler): for flattened_arg in self.parser.compile_args(): args.append(flattened_arg) param = 'json_file' - docstring = "A file containing the {} specification in JSON " \ + docstring = f"A file containing the {arg[0].replace('_', ' ')} specification in JSON " \ "(formatted to match the respective REST API body). " \ - "If this parameter is specified, all '{} Arguments'" \ - " are ignored.".format(arg[0].replace('_', ' '), group_title(arg[0])) + "If this parameter is specified, all '{group_title(arg[0])} Arguments'" \ + " are ignored." args.append((param, CLICommandArgument(param, options_list=[arg_name(param)], required=False, @@ -828,7 +828,7 @@ def batch_command(self, name, method_name=None, command_type=None, **kwargs): merged_kwargs.update(kwargs) operations_tmpl = merged_kwargs.get('operations_tmpl') - command_name = '{} {}'.format(self.group_name, name) if self.group_name else name + command_name = f'{self.group_name} {name}' if self.group_name else name operation = operations_tmpl.format(method_name) if operations_tmpl else None command = AzureBatchDataPlaneCommand(operation, self.command_loader, **merged_kwargs) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_completers.py b/src/azure-cli/azure/cli/command_modules/batch/_completers.py index 65cdce3c081..8a47f5e6ca4 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_completers.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_completers.py @@ -20,11 +20,8 @@ def load_supported_images(cmd, prefix, namespace): # pylint: disable=unused-arg client = account_client_factory(cmd.cli_ctx, client_creds) skus = client.list_supported_images() for sku in skus: - all_images.append("{}:{}:{}:{}".format( - sku.image_reference['publisher'], - sku.image_reference['offer'], - sku.image_reference['sku'], - sku.image_reference['version'])) + all_images.append(f"{sku.image_reference['publisher']}:{sku.image_reference['offer']}" + + f":{sku.image_reference['sku']}:{sku.image_reference['version']}") return all_images except (ClientRequestError, BatchErrorException): return [] diff --git a/src/azure-cli/azure/cli/command_modules/batch/_exception_handler.py b/src/azure-cli/azure/cli/command_modules/batch/_exception_handler.py index 5b5eb52f37a..74075115247 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_exception_handler.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_exception_handler.py @@ -16,7 +16,7 @@ def batch_exception_handler(ex): message = ex.error.message.value if ex.error.values: for detail in ex.error.values: - message += "\n{}: {}".format(detail.key, detail.value) + message += f"\n{detail.key}: {detail.value}" raise CLIError(message) except AttributeError: raise CLIError(ex) 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 2810121c1b6..e15bd6ec1aa 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -102,8 +102,8 @@ def load_arguments(self, _): 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.") 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 local filesystem path of the application package in zip format to upload to Azure Storage.', completer=FilesCompleter()) + with self.argument_context(f'batch application package {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('f_ormat', options_list=('--format',), help="The format of the application package binary file.") @@ -115,7 +115,7 @@ def load_arguments(self, _): c.argument('location_name', get_location_type(self.cli_ctx), help='The region for which to display the available Batch VM SKUs.') for command in ['list', 'show', 'create', 'set', 'delete', 'package']: - with self.argument_context('batch application {}'.format(command)) as c: + with self.argument_context(f'batch application {command}') as c: c.argument('account_name', batch_name_type, options_list=('--name', '-n'), validator=application_enabled) # TODO: Refactor so the help text can be extracted automatically @@ -151,7 +151,7 @@ def load_arguments(self, _): c.argument('job_schedule_id', help='The ID of the job schedule from which you want to get a list of jobs. If omitted, lists all jobs in the account.') for command in ['job create', 'job set', 'job reset', 'job-schedule create', 'job-schedule set', 'job-schedule reset']: - with self.argument_context('batch {}'.format(command)) as c: + with self.argument_context(f'batch {command}') as c: c.argument('pool_id', options_list=('--pool-id',), help='The id of an existing pool. All the tasks of the job will run on the specified pool.') with self.argument_context('batch pool create') as c: 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 be744f152d2..c6a8661133f 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_validators.py @@ -134,8 +134,8 @@ def storage_account_id(cmd, namespace): acc = storage_client.storage_accounts.get_properties(namespace.resource_group_name, namespace.storage_account) if not acc: - raise ValueError("Storage account named '{}' not found in the resource group '{}'.". - format(namespace.storage_account, namespace.resource_group_name)) + raise ValueError(f"Storage account named '{namespace.storage_account}'" + + f" not found in the resource group '{namespace.resource_group_name}'.") namespace.storage_account = acc.id # pylint: disable=no-member @@ -156,12 +156,11 @@ def keyvault_id(cmd, namespace): keyvault_client = get_mgmt_service_client(cmd.cli_ctx, ResourceType.MGMT_KEYVAULT) vault = keyvault_client.vaults.get(kv_rg, kv_name) if not vault: - raise ValueError("KeyVault named '{}' not found in the resource group '{}'.". - format(kv_name, kv_rg)) + raise ValueError(f"KeyVault named '{kv_name}' not found in the resource group '{kv_rg}'.") namespace.keyvault = vault.id # pylint: disable=no-member namespace.keyvault_url = vault.properties.vault_uri except Exception as exp: - raise ValueError('Invalid KeyVault reference: {}\n{}'.format(namespace.keyvault, exp)) + raise ValueError(f'Invalid KeyVault reference: {namespace.keyvault}\n{exp}') def application_enabled(cmd, namespace): @@ -172,10 +171,9 @@ def application_enabled(cmd, namespace): client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient) 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)) + raise ValueError(f"Batch account '{namespace.account_name}' not found.") if not acc.auto_storage or not acc.auto_storage.storage_account_id: # pylint: disable=no-member - raise ValueError("Batch account '{}' needs auto-storage enabled.". - format(namespace.account_name)) + raise ValueError(f"Batch account '{namespace.account_name}' needs auto-storage enabled.") def validate_pool_resize_parameters(namespace): @@ -192,7 +190,7 @@ def validate_json_file(namespace): except EnvironmentError: raise ValueError("Cannot access JSON request file: " + namespace.json_file) except ValueError as err: - raise ValueError("Invalid JSON file: {}".format(err)) + raise ValueError(f"Invalid JSON file: {err}") def validate_cert_file(namespace): @@ -218,7 +216,7 @@ def validate_options(namespace): if start or end: start = start if start else 0 end = end if end else "" - namespace.ocp_range = "bytes={}-{}".format(start, end) + namespace.ocp_range = f"bytes={start}-{end}" def validate_file_destination(namespace): @@ -241,7 +239,7 @@ def validate_file_destination(namespace): message = "Directory {} does not exist, and cannot be created: {}" raise ValueError(message.format(file_dir, exp)) if os.path.isfile(file_path): - raise ValueError("File {} already exists.".format(file_path)) + raise ValueError(f"File {file_path} already exists.") namespace.destination = file_path # CUSTOM REQUEST VALIDATORS @@ -325,7 +323,7 @@ def validate_client_parameters(cmd, namespace): client.batch_account.get_keys(rg, # pylint: disable=no-member namespace.account_name).primary else: - raise ValueError("Batch account '{}' not found.".format(namespace.account_name)) + raise ValueError(f"Batch account '{namespace.account_name}' not found.") else: if not namespace.account_name: raise ValueError("Specify batch account in command line or environment variable.") 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 82ae68e9fef..69df1647e69 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/commands.py +++ b/src/azure-cli/azure/cli/command_modules/batch/commands.py @@ -43,10 +43,10 @@ def get_mgmt_type(name): ) def get_mgmt_factory(name): - return getattr(factories, "mgmt_{}_client_factory".format(name)) + return getattr(factories, f"mgmt_{name}_client_factory") def get_data_factory(name): - return getattr(factories, "{}_client_factory".format(name)) + return getattr(factories, f"{name}_client_factory") # Mgmt Account Operations with self.command_group('batch account', get_mgmt_type('batch_account'), client_factory=get_mgmt_factory('batch_account')) 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 8b260c28b33..21d35ddc672 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -137,7 +137,7 @@ def login_account(cmd, client, resource_group_name, account_name, shared_key_aut account_name=account_name) cmd.cli_ctx.config.set_value('batch', 'account', account.name) cmd.cli_ctx.config.set_value('batch', 'endpoint', - 'https://{}/'.format(account.account_endpoint)) + f'https://{account.account_endpoint}/') if shared_key_auth: keys = client.get_keys(resource_group_name=resource_group_name, @@ -147,7 +147,7 @@ def login_account(cmd, client, resource_group_name, account_name, shared_key_aut if show: return { 'account': account.name, - 'endpoint': 'https://{}/'.format(account.account_endpoint), + 'endpoint': f'https://{account.account_endpoint}/', 'primaryKey': keys.primary, 'secondaryKey': keys.secondary } @@ -162,7 +162,7 @@ def login_account(cmd, client, resource_group_name, account_name, shared_key_aut creds, subscription, tenant = profile.get_raw_token(resource=resource) return { 'account': account.name, - 'endpoint': 'https://{}/'.format(account.account_endpoint), + 'endpoint': f'https://{account.account_endpoint}/', 'tokenType': creds[0], 'accessToken': creds[1], 'expiresOn': creds[2]['expiresOn'], @@ -312,7 +312,7 @@ def update_pool(client, except DeserializationError: pass if not param: - raise ValueError("JSON file '{}' is not in correct format.".format(json_file)) + raise ValueError(f"JSON file '{json_file}' is not in correct format.") if param.certificate_references is None: param.certificate_references = [] @@ -376,7 +376,7 @@ def create_task(client, for json_task in json_obj: tasks.append(TaskAddParameter.from_dict(json_task)) except (DeserializationError, TypeError): - raise ValueError("JSON file '{}' is not formatted correctly.".format(json_file)) + raise ValueError(f"JSON file '{json_file}' is not formatted correctly.") else: if command_line is None or task_id is None: raise ValueError("Missing required arguments.\nEither --json-file, " 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 b55bbecc8ac..b05a3eddffe 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 @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:50 GMT + - Thu, 03 Feb 2022 04:23:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f2519b45-92c6-43c8-8523-25077a958b08?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/7ca11cfb-3d92-4386-b753-842d7a8245b4?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/f2519b45-92c6-43c8-8523-25077a958b08?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/7ca11cfb-3d92-4386-b753-842d7a8245b4?api-version=2021-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3110' + - '3288' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:05 GMT + - Thu, 03 Feb 2022 04:23:39 GMT etag: - - '"0x8D956200A634FE1"' + - '"0x8D9E6CCF4040665"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:06 GMT + - Thu, 03 Feb 2022 04:23:39 GMT pragma: - no-cache server: @@ -115,12 +115,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"L/de94c0KnnGKf0ML4BQWCRpRowJeISb5DVSx5EB/og2yKLjFJYsTuEq58UtxL7vI2a59U+VN1iJjmTrAbQ4TQ==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"J/qrM66f68YxZc1GuoRNsSrrbEB8IqBhiBoGsAxUM1CiT8gs1uyDvhzAq0tNphemtEuJYZVH2xYX9OEpFUaYfA==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:39 GMT expires: - '-1' pragma: @@ -163,29 +163,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3110' + - '3288' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:40 GMT etag: - - '"0x8D9562003884E2A"' + - '"0x8D9E6CCED024142"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:54 GMT + - Thu, 03 Feb 2022 04:23:27 GMT pragma: - no-cache server: @@ -217,28 +217,26 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:07 GMT method: POST - uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2021-06-01.14.0 + uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2022-01-01.15.0 response: body: string: '' headers: dataserviceid: - - https://clibatchjwre7htng5q5zahj.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) + - https://clibatchuysodt66dqjzpfxw.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:41 GMT location: - https://clibatch000002.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) request-id: - - 8088b0cb-3056-4e73-ac2c-edb70e4c7a2f + - 776c689e-da70-4dba-97c8-907267307165 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -260,26 +258,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT method: GET - uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2021-06-01.14.0 + uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2022-01-01.15.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-08-03T01:43:08.3377119Z\",\"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\":\"2022-02-03T04:23:41.4978121Z\",\"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: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:41 GMT request-id: - - ed096ea4-4988-4fa6-94d5-c43c045a2b57 + - 45288466-ed40-4b6c-ad26-c30102632d2f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -301,20 +297,18 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 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-08-03T01:43:08.3377119Z\",\"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\":\"2022-02-03T04:23:41.4978121Z\",\"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: @@ -322,9 +316,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:41 GMT request-id: - - a6f80232-c9f7-409d-acd3-cfdfd6a94e36 + - d2260e2e-4f72-42f4-8ade-b21c13f14fec server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -348,14 +342,12 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT method: DELETE - uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2021-06-01.14.0 + uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2022-01-01.15.0 response: body: string: '' @@ -363,9 +355,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:42 GMT request-id: - - 28473c9e-a24d-47c6-a908-6b07855a7b60 + - 32dfc409-cab2-4746-86ef-3aa264b5ae6e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -387,28 +379,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2022-01-01.15.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-08-03T01:43:09.5493276Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-08-03T01:43:08.3377119Z\",\"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\":\"2022-02-03T04:23:42.5277679Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2022-02-03T04:23:41.4978121Z\",\"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: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:42 GMT request-id: - - 699cc849-668d-425e-a6c8-493362bcc5ce + - 541f1900-6578-44a3-a185-4cf7b69449f8 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: 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 f4af4c692dc..0f539b8f3a0 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 @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:52 GMT + - Thu, 03 Feb 2022 04:23:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e6e33e10-f58a-4a25-834b-293b3bcc3f9b?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/49b1213d-7247-4c57-bfce-7074cd896555?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e6e33e10-f58a-4a25-834b-293b3bcc3f9b?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/49b1213d-7247-4c57-bfce-7074cd896555?api-version=2021-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3272' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:37 GMT etag: - - '"0x8D956200B494BE0"' + - '"0x8D9E6CCF3AAF63F"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:38 GMT pragma: - no-cache server: @@ -115,12 +115,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"zd54nlQX5C05vBcovNaQ+xMhlujJijHS7h1PuYtc59/sLtACBgf3l5RjdyQkixWZPSM5gpo/SZMPdI0uA/6L/A==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"4OmJuFRPYCwqvoLuMHbZSsU4wDmkAjZm1hw/ncwJm3M417oxXdKRhR6RiW3st9AHg3zzpjYBdEWHJmkPJFQeFw==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:39 GMT expires: - '-1' pragma: @@ -163,29 +163,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3272' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:39 GMT etag: - - '"0x8D9562004401902"' + - '"0x8D9E6CCECBCB9D0"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:55 GMT + - Thu, 03 Feb 2022 04:23:26 GMT pragma: - no-cache server: @@ -239,34 +239,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/jobschedules?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobschedules?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchr3bpan74eezi2bgm.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests + - https://clibatch7exwbfbnfvs4chm7.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 04:23:39 GMT etag: - - '0x8D956200CB8B642' + - '0x8D9E6CCF4FD02DF' last-modified: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 04:23:40 GMT location: - https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests request-id: - - bc1623a7-e4d2-434c-9fbd-010992186222 + - e47597d8-bc20-49cd-b5d1-b2d6d33b84a9 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -309,34 +307,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:10 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/jobs?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobs?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchr3bpan74eezi2bgm.westus.batch.azure.com/jobs/job-1 + - https://clibatch7exwbfbnfvs4chm7.westus.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 04:23:40 GMT etag: - - '0x8D956200D761DA9' + - '0x8D9E6CCF5457B60' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:41 GMT location: - https://clibatch000002.westus.batch.azure.com/jobs/job-1 request-id: - - cab233fa-f2d8-4a46-b87c-5d4d624e031a + - 28683118-6de9-4dd8-a187-ee307c379316 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -358,20 +354,18 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:11 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests/jobs?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests/jobs?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 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\":\"0x8D956200CCDC4E7\",\"lastModified\":\"2021-08-03T01:43:10.3389927Z\",\"creationTime\":\"2021-08-03T01:43:10.2929926Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-08-03T01:43:10.4580005Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-08-03T01:43:10.3389927Z\",\"priority\":1,\"maxParallelTasks\":-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\":\"0x8D9E6CCF5103D2B\",\"lastModified\":\"2022-02-03T04:23:40.8834859Z\",\"creationTime\":\"2022-02-03T04:23:40.8084809Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2022-02-03T04:23:40.9737049Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2022-02-03T04:23:40.8834859Z\",\"priority\":1,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -409,7 +403,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-08-03T01:43:10.3389927Z\",\"endTime\":\"2021-08-03T01:43:10.4580005Z\",\"poolId\":\"TestSpecPrefix_FD4E6196-FFCC-4E87-9991-442240962084\",\"schedulingError\":{\r\n + \ ],\"executionInfo\":{\r\n \"startTime\":\"2022-02-03T04:23:40.8834859Z\",\"endTime\":\"2022-02-03T04:23:40.9737049Z\",\"poolId\":\"TestSpecPrefix_9CC105F6-2A40-4270-9E88-9C3F0D7DC1B9\",\"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 @@ -422,9 +416,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:40 GMT request-id: - - c8e50c9a-1908-4bfa-ab55-6c8853ea6679 + - d432dda0-0984-41c8-9bd4-8f1e55d96a27 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -446,20 +440,18 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:11 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/jobs?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobs?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 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\":\"0x8D956200D761DA9\",\"lastModified\":\"2021-08-03T01:43:11.4422697Z\",\"creationTime\":\"2021-08-03T01:43:11.3822673Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:11.4422697Z\",\"priority\":1,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"constraints\":{\r\n + \ {\r\n \"id\":\"xplatJob\",\"displayName\":\"displayName\",\"url\":\"https://clibatch000002.westus.batch.azure.com/jobs/xplatJob\",\"eTag\":\"0x8D9E6CCF5457B60\",\"lastModified\":\"2022-02-03T04:23:41.2324192Z\",\"creationTime\":\"2022-02-03T04:23:41.1934187Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T04:23:41.2324192Z\",\"priority\":1,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -488,9 +480,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-08-03T01:43:11.4422697Z\",\"poolId\":\"xplatTestPool\"\r\n + \ }\r\n ],\"executionInfo\":{\r\n \"startTime\":\"2022-02-03T04:23:41.2324192Z\",\"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\":\"0x8D956200CCDC4E7\",\"lastModified\":\"2021-08-03T01:43:10.3389927Z\",\"creationTime\":\"2021-08-03T01:43:10.2929926Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2021-08-03T01:43:10.4580005Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2021-08-03T01:43:10.3389927Z\",\"priority\":1,\"maxParallelTasks\":-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\":\"0x8D9E6CCF5103D2B\",\"lastModified\":\"2022-02-03T04:23:40.8834859Z\",\"creationTime\":\"2022-02-03T04:23:40.8084809Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2022-02-03T04:23:40.9737049Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2022-02-03T04:23:40.8834859Z\",\"priority\":1,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -528,7 +520,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-08-03T01:43:10.3389927Z\",\"endTime\":\"2021-08-03T01:43:10.4580005Z\",\"poolId\":\"TestSpecPrefix_FD4E6196-FFCC-4E87-9991-442240962084\",\"schedulingError\":{\r\n + \ ],\"executionInfo\":{\r\n \"startTime\":\"2022-02-03T04:23:40.8834859Z\",\"endTime\":\"2022-02-03T04:23:40.9737049Z\",\"poolId\":\"TestSpecPrefix_9CC105F6-2A40-4270-9E88-9C3F0D7DC1B9\",\"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 @@ -541,9 +533,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:41 GMT request-id: - - 1f81b61d-471e-4cf7-9f92-ee4bc0cf08c0 + - 0d456805-490c-41fe-8539-129585004b26 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -567,16 +559,14 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:12 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.westus.batch.azure.com/jobs/xplatJob?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobs/xplatJob?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -584,9 +574,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:12 GMT + - Thu, 03 Feb 2022 04:23:42 GMT request-id: - - ce94e723-d9ae-40b6-85c9-a217d1df774a + - 16e18ca2-a746-4784-88b3-f6b753837004 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -610,16 +600,14 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:15 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/jobschedules/xplatJobScheduleJobTests?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -627,9 +615,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:15 GMT + - Thu, 03 Feb 2022 04:23:44 GMT request-id: - - e81020bc-792a-47ee-9c7a-4ee7d4001636 + - 057a6f6e-64b3-4d3c-91fa-99bf695d018b 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 dfedf7077e9..fef4380f926 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.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:50 GMT + - Thu, 03 Feb 2022 04:23:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/c3608786-8139-4689-95a5-a6d6f51e7582?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/65777de9-554c-48ea-9cd7-4940a9e86657?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/c3608786-8139-4689-95a5-a6d6f51e7582?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/65777de9-554c-48ea-9cd7-4940a9e86657?api-version=2021-06-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":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":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3102' + - '3280' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:06 GMT + - Thu, 03 Feb 2022 04:23:38 GMT etag: - - '"0x8D956200A73684F"' + - '"0x8D9E6CCF3EA4536"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:06 GMT + - Thu, 03 Feb 2022 04:23:38 GMT pragma: - no-cache server: @@ -115,12 +115,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"ReGEWnON+QqK5nmxrBJMd1rZUes24Zlgz1QLk91su1sl31qBiBkwgfJsOuVva+1LEN8w50LeCxZH3z0991WioQ==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"QBeusbFygZL7k5Z7zN0xor4MVTm/i/ndmhDU7b7vvMBu/gRtm+hWVRKyHH1TxnTjpP6FW9FZlEXH6AEL8Fni5w==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:39 GMT expires: - '-1' pragma: @@ -163,29 +163,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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":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":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3102' + - '3280' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 04:23:39 GMT etag: - - '"0x8D9562003745AC2"' + - '"0x8D9E6CCECF5CCB6"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:54 GMT + - Thu, 03 Feb 2022 04:23:27 GMT pragma: - no-cache server: @@ -216,34 +216,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.canadaeast.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchv56lsn7a2wapa775.canadaeast.batch.azure.com/pools/xplatJobForTaskTests + - https://clibatchjv33aakifcxrzisl.canadaeast.batch.azure.com/pools/xplatJobForTaskTests dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:41 GMT etag: - - '0x8D956200BBAAEE1' + - '0x8D9E6CCF5B1336A' last-modified: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:41 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/pools/xplatJobForTaskTests request-id: - - 6a15373e-f090-4b86-a17e-16a76be85982 + - 72171990-309c-4ef9-b5e3-68cef148d558 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -272,34 +270,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchv56lsn7a2wapa775.canadaeast.batch.azure.com/jobs/job-1 + - https://clibatchjv33aakifcxrzisl.canadaeast.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:42 GMT etag: - - '0x8D956200C47F392' + - '0x8D9E6CCF65384B9' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:43 GMT location: - https://clibatch000002.canadaeast.batch.azure.com/jobs/job-1 request-id: - - 53db039b-c023-40ce-accf-0eb2d3753bad + - 08260b23-2da0-4a41-a416-af094c14fa0a server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -321,19 +317,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.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\":\"0x8D956200C47F392\",\"lastModified\":\"2021-08-03T01:43:09.462005Z\",\"creationTime\":\"2021-08-03T01:43:09.4059996Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.462005Z\",\"priority\":0,\"maxParallelTasks\":-1,\"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\":\"0x8D9E6CCF65384B9\",\"lastModified\":\"2022-02-03T04:23:43.0021305Z\",\"creationTime\":\"2022-02-03T04:23:42.9721271Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T04:23:43.0021305Z\",\"priority\":0,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -342,7 +336,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-08-03T01:43:09.462005Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2022-02-03T04:23:43.0021305Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -350,13 +344,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:44 GMT etag: - - '0x8D956200C47F392' + - '0x8D9E6CCF65384B9' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:43 GMT request-id: - - 2b811081-1a32-43c4-a7cd-d60300eeefe9 + - 8edc93b1-f31c-413a-b1cf-f710656fabbd server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -383,32 +377,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: PATCH - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchv56lsn7a2wapa775.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchjv33aakifcxrzisl.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:44 GMT etag: - - '0x8D956200C978F6D' + - '0x8D9E6CCF76BB09F' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:44 GMT request-id: - - c326f016-b467-4a42-a3f6-90c50bc56c2b + - 9b227c58-0eea-41fb-bc41-e7a25be1dcf2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -430,19 +422,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.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\":\"0x8D956200C978F6D\",\"lastModified\":\"2021-08-03T01:43:09.9837293Z\",\"creationTime\":\"2021-08-03T01:43:09.4059996Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.462005Z\",\"priority\":0,\"maxParallelTasks\":-1,\"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\":\"0x8D9E6CCF76BB09F\",\"lastModified\":\"2022-02-03T04:23:44.8382623Z\",\"creationTime\":\"2022-02-03T04:23:42.9721271Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T04:23:43.0021305Z\",\"priority\":0,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -451,7 +441,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-08-03T01:43:09.462005Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2022-02-03T04:23:43.0021305Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -459,13 +449,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:45 GMT etag: - - '0x8D956200C978F6D' + - '0x8D9E6CCF76BB09F' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 04:23:44 GMT request-id: - - 2032df50-5819-495e-8e27-2b4848d2d926 + - 75f73a21-785c-4cba-b499-4eaca53d1df5 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -492,23 +482,21 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 If-Unmodified-Since: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 04:23:42 GMT User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:10 GMT return-client-request-id: - 'false' method: PUT - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.0&timeout=30 response: 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:997a84cd-a2d1-445c-b806-85038ab7238a\\nTime:2021-08-03T01:43:10.4664942Z\"\r\n + header(s) is not met.\\nRequestId:6a6ebce4-e376-46f0-99dd-719292f8d8a4\\nTime:2022-02-03T04:23:46.6334960Z\"\r\n \ }\r\n}" headers: content-length: @@ -518,9 +506,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 04:23:46 GMT request-id: - - 997a84cd-a2d1-445c-b806-85038ab7238a + - 6a6ebce4-e376-46f0-99dd-719292f8d8a4 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -545,32 +533,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:10 GMT return-client-request-id: - 'false' method: PUT - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchv56lsn7a2wapa775.canadaeast.batch.azure.com/jobs/cli-test-job-1 + - https://clibatchjv33aakifcxrzisl.canadaeast.batch.azure.com/jobs/cli-test-job-1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:47 GMT etag: - - '0x8D956200D824C84' + - '0x8D9E6CCF8CF4DB2' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:47 GMT request-id: - - b61e2200-0a7b-4ce2-af3c-8088fd8e1943 + - d78e762b-900f-42de-be5d-5720ddd80262 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -592,19 +578,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:11 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadaeast.batch.azure.com/jobs/cli-test-job-1?api-version=2022-01-01.15.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\":\"0x8D956200D824C84\",\"lastModified\":\"2021-08-03T01:43:11.5221124Z\",\"creationTime\":\"2021-08-03T01:43:09.4059996Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.462005Z\",\"priority\":0,\"maxParallelTasks\":-1,\"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\":\"0x8D9E6CCF8CF4DB2\",\"lastModified\":\"2022-02-03T04:23:47.1688114Z\",\"creationTime\":\"2022-02-03T04:23:42.9721271Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T04:23:43.0021305Z\",\"priority\":0,\"maxParallelTasks\":-1,\"usesTaskDependencies\":false,\"allowTaskPreemption\":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 @@ -612,7 +596,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-08-03T01:43:09.462005Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n + \ \"startTime\":\"2022-02-03T04:23:43.0021305Z\",\"poolId\":\"xplatJobForTaskTests\"\r\n \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\"\r\n}" headers: content-type: @@ -620,13 +604,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:46 GMT etag: - - '0x8D956200D824C84' + - '0x8D9E6CCF8CF4DB2' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 04:23:47 GMT request-id: - - 0fdddffa-3ef5-4c0c-84fc-e235b37b25cc + - 9de8b979-5308-4252-873a-93779cf93547 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 aeb9cfd1ca0..51ecbe86c5f 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 @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:51 GMT + - Fri, 04 Feb 2022 19:43:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/c56dc89c-219d-412c-bc6a-ff4fe7c65f57?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/5c1a09ef-afcc-4288-aa66-c97cd9c61d1c?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/c56dc89c-219d-412c-bc6a-ff4fe7c65f57?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/5c1a09ef-afcc-4288-aa66-c97cd9c61d1c?api-version=2021-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3183' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:06 GMT + - Fri, 04 Feb 2022 19:43:42 GMT etag: - - '"0x8D956200B060A5C"' + - '"0x8D9E816A5F97641"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:07 GMT + - Fri, 04 Feb 2022 19:43:42 GMT pragma: - no-cache server: @@ -113,29 +113,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3183' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Fri, 04 Feb 2022 19:43:42 GMT etag: - - '"0x8D9562003B87E64"' + - '"0x8D9E8169EF30BD8"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:55 GMT + - Fri, 04 Feb 2022 19:43:30 GMT pragma: - no-cache server: @@ -167,21 +167,21 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"hSZEoAcMKDGxewvZ7S1CEfXP+xyHSZhT8YisBQawHJH/emyfzuhXtFw44OfD1veACRqYBKH0Bdig7CSsa1HLyQ==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"GlZiox5jrZViwe/OcZEvb3HUcntOVSTa6d6dcZQCZhhNaQD17jjPxi8mZy08B2IRGntl3Uzemp8uScof08Dn7Q==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache content-length: - - '246' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:43:42 GMT expires: - '-1' pragma: @@ -218,34 +218,34 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:43:42 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/xplatCreatedPool + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/xplatCreatedPool dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:43:42 GMT etag: - - '0x8D956200C5D5E3B' + - '0x8D9E816A697279F' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:43 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool request-id: - - 3973f124-b8b8-4c4e-a04f-8579c0cea874 + - b9cb884b-aa43-4dd9-848c-8f50bb88e3ce server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -273,35 +273,35 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:43 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: 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:0014a171-fbda-4113-ad96-9a60f257af3b\\nTime:2021-08-03T01:43:10.0128315Z\"\r\n + in the request body is invalid.\\nRequestId:fe22e94d-8b79-4edd-ad66-b81c99b1eda3\\nTime:2022-02-04T19:43:43.4136626Z\"\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}" headers: content-length: - - '597' + - '587' content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:42 GMT request-id: - - 0014a171-fbda-4113-ad96-9a60f257af3b + - fe22e94d-8b79-4edd-ad66-b81c99b1eda3 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -328,21 +328,21 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:43 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: 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:5e764561-20e4-4830-b283-d93ec5d23fd8\\nTime:2021-08-03T01:43:10.3852200Z\"\r\n + in the request body is invalid.\\nRequestId:8dd76b5b-bcb4-4f41-8fa6-33f5f2881863\\nTime:2022-02-04T19:43:43.6073181Z\"\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 @@ -351,15 +351,15 @@ interactions: \ }\r\n ]\r\n}" headers: content-length: - - '1073' + - '1063' content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:42 GMT request-id: - - 5e764561-20e4-4830-b283-d93ec5d23fd8 + - 8dd76b5b-bcb4-4f41-8fa6-33f5f2881863 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -387,34 +387,34 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Fri, 04 Feb 2022 19:43:43 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/pool_image1 + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/pool_image1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Fri, 04 Feb 2022 19:43:43 GMT etag: - - '0x8D956200D9FA309' + - '0x8D9E816A7199E83' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Fri, 04 Feb 2022 19:43:44 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/pool_image1 request-id: - - 8914d877-58f0-49e8-9d4f-38fee6ef2014 + - 70fe8a50-1475-4ff6-a865-0461a7bce5d7 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -436,19 +436,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:45:11 GMT + - Fri, 04 Feb 2022 19:45:44 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.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\":\"0x8D956200C5D5E3B\",\"lastModified\":\"2021-08-03T01:43:09.6023611Z\",\"creationTime\":\"2021-08-03T01:43:09.6023611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6023611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.4413799Z\",\"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\":\"0x8D9E816A697279F\",\"lastModified\":\"2022-02-04T19:43:43.1484319Z\",\"creationTime\":\"2022-02-04T19:43:43.1484319Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:43:43.1484319Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-04T19:43:44.8814578Z\",\"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 @@ -460,13 +460,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:45:11 GMT + - Fri, 04 Feb 2022 19:45:43 GMT etag: - - '0x8D956200C5D5E3B' + - '0x8D9E816A697279F' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:43:43 GMT request-id: - - 47f4d8ff-a295-47bc-a4bb-adfe10bc71f3 + - 140980eb-0c06-436e-b0fb-b1b63c1ed8b3 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -492,32 +492,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/resize?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/resize?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/xplatCreatedPool/resize + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/xplatCreatedPool/resize dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT etag: - - '0x8D9562055A97C6E' + - '0x8D9E816EEE55DCB' last-modified: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT request-id: - - 5184235a-6052-47b6-91f3-9edb1802f822 + - df6739fb-8397-49cd-95fb-6fb83b2fba60 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -539,19 +539,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.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\":\"0x8D9562055A97C6E\",\"lastModified\":\"2021-08-03T01:45:12.5748846Z\",\"creationTime\":\"2021-08-03T01:43:09.6023611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6023611Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-08-03T01:45:12.5748846Z\",\"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\":\"0x8D9E816EEE55DCB\",\"lastModified\":\"2022-02-04T19:45:44.4569547Z\",\"creationTime\":\"2022-02-04T19:43:43.1484319Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:43:43.1484319Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2022-02-04T19:45:44.4569547Z\",\"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 @@ -563,13 +563,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT etag: - - '0x8D9562055A97C6E' + - '0x8D9E816EEE55DCB' last-modified: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT request-id: - - 45e18d35-3c84-413b-90cc-8214604e6b37 + - 20e761ad-1fa7-44b8-81c4-6cff121c00da server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -591,16 +591,16 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:45:13 GMT + - Fri, 04 Feb 2022 19:45:44 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/nodecounts?api-version=2021-06-01.14.0&maxresults=10&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/nodecounts?api-version=2022-01-01.15.0&maxresults=10&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n @@ -616,9 +616,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:45:13 GMT + - Fri, 04 Feb 2022 19:45:44 GMT request-id: - - 905cff2d-3eaf-4c23-8bc0-225eb76e9586 + - d87ad06e-843b-485a-841e-83973b16d938 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -642,32 +642,32 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:45:13 GMT + - Fri, 04 Feb 2022 19:45:45 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/stopresize?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/stopresize?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/xplatCreatedPool/stopresize + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/xplatCreatedPool/stopresize dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:45:13 GMT + - Fri, 04 Feb 2022 19:45:44 GMT etag: - - '0x8D9562055A97C6E' + - '0x8D9E816EEE55DCB' last-modified: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT request-id: - - 324a2f28-5260-4268-89a3-938b897bbf58 + - 5c94602d-1d30-4126-a5c7-097490ac153f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -689,19 +689,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:14 GMT + - Fri, 04 Feb 2022 19:47:45 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.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\":\"0x8D9562055A97C6E\",\"lastModified\":\"2021-08-03T01:45:12.5748846Z\",\"creationTime\":\"2021-08-03T01:43:09.6023611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6023611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:45:17.8316913Z\",\"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\":\"0x8D9E816EEE55DCB\",\"lastModified\":\"2022-02-04T19:45:44.4569547Z\",\"creationTime\":\"2022-02-04T19:43:43.1484319Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:43:43.1484319Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-04T19:45:46.3080053Z\",\"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 @@ -716,13 +716,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:13 GMT + - Fri, 04 Feb 2022 19:47:44 GMT etag: - - '0x8D9562055A97C6E' + - '0x8D9E816EEE55DCB' last-modified: - - Tue, 03 Aug 2021 01:45:12 GMT + - Fri, 04 Feb 2022 19:45:44 GMT request-id: - - edb99bf9-79bc-4856-a585-21cead492c5d + - 3b6d6656-2b3a-4a83-988e-8250eb915306 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -750,14 +750,14 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:14 GMT + - Fri, 04 Feb 2022 19:47:45 GMT method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2021-06-01.14.0 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2022-01-01.15.0 response: body: string: '' @@ -765,17 +765,17 @@ interactions: content-length: - '0' dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:14 GMT + - Fri, 04 Feb 2022 19:47:44 GMT etag: - - '0x8D956209EC8466E' + - '0x8D9E8173732DC95' last-modified: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:45 GMT request-id: - - 28abd823-3fcc-44d3-b9c7-dc374b39806a + - feddec75-9341-4706-8bf4-8f35761dbd11 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -795,17 +795,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:45 GMT method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.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\":\"0x8D956209EC8466E\",\"lastModified\":\"2021-08-03T01:47:15.2503406Z\",\"creationTime\":\"2021-08-03T01:43:09.6023611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6023611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:45:17.8316913Z\",\"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\":\"0x8D9E8173732DC95\",\"lastModified\":\"2022-02-04T19:47:45.7607829Z\",\"creationTime\":\"2022-02-04T19:43:43.1484319Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:43:43.1484319Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-04T19:45:46.3080053Z\",\"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 @@ -820,13 +820,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:14 GMT + - Fri, 04 Feb 2022 19:47:44 GMT etag: - - '0x8D956209EC8466E' + - '0x8D9E8173732DC95' last-modified: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:45 GMT request-id: - - 34fcd828-0bce-4814-be47-089e730fe90b + - b52d1205-9100-447f-82f8-696f95228e1f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -854,14 +854,14 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:45 GMT method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2021-06-01.14.0 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties?api-version=2022-01-01.15.0 response: body: string: '' @@ -869,17 +869,17 @@ interactions: content-length: - '0' dataserviceid: - - https://clibatch4xjmh35lzao5ukbq.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties + - https://clibatchgw7n2hiuuwm5mlo6.westus.batch.azure.com/pools/xplatCreatedPool/updateproperties dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT etag: - - '0x8D956209F269724' + - '0x8D9E817375FE046' last-modified: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT request-id: - - 4613908e-6861-4186-be76-da82d294de74 + - 6ac41589-9950-47c7-9bb3-25874083e8b5 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -899,17 +899,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.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\":\"0x8D956209F269724\",\"lastModified\":\"2021-08-03T01:47:15.8684452Z\",\"creationTime\":\"2021-08-03T01:43:09.6023611Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6023611Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:45:17.8316913Z\",\"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\":\"0x8D9E817375FE046\",\"lastModified\":\"2022-02-04T19:47:46.0557894Z\",\"creationTime\":\"2022-02-04T19:43:43.1484319Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:43:43.1484319Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-04T19:45:46.3080053Z\",\"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 @@ -926,13 +926,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT etag: - - '0x8D956209F269724' + - '0x8D9E817375FE046' last-modified: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT request-id: - - d98580bc-9fca-456e-b270-702a03a20a31 + - 775a2afe-57e1-4a14-8bc5-dc43ee08dfdf server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -956,16 +956,16 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:47:15 GMT + - Fri, 04 Feb 2022 19:47:46 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/xplatCreatedPool?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -973,9 +973,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:47:16 GMT + - Fri, 04 Feb 2022 19:47:46 GMT request-id: - - 9ff9f655-4bb7-4bf9-883d-6dfe96f718fe + - b0aa2c05-191e-45a7-9727-67b01f03a7db 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 74295874bdd..dfbba8151e4 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.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:51 GMT + - Thu, 03 Feb 2022 05:06:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/b6a07359-1580-4bec-b922-7d6d27479d52?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63779304-ef67-472c-a249-9c0185c3bbff?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/b6a07359-1580-4bec-b922-7d6d27479d52?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/63779304-ef67-472c-a249-9c0185c3bbff?api-version=2021-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3272' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:06 GMT + - Thu, 03 Feb 2022 05:07:14 GMT etag: - - '"0x8D956200A6AA108"' + - '"0x8D9E6D30B54C706"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:06 GMT + - Thu, 03 Feb 2022 05:07:15 GMT pragma: - no-cache server: @@ -115,12 +115,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"ZB0bH399qfzUqU6JxL0cNp9Dg806cqdhQqJvAkhPayoWmkNo7Sueq/P+hX9KtYt7cu13H4ZZvgSANgV1DJfreQ==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"jHDJc5/9hgqTqim/88aSYDzlqx2p0zHGxKMHFeUbwSJoW8Y9jRcvubM6Rdb4YBafZ0M9gn51KkFujcA6wH3vQQ==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 05:07:15 GMT expires: - '-1' pragma: @@ -163,29 +163,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.29.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3094' + - '3272' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Thu, 03 Feb 2022 05:07:15 GMT etag: - - '"0x8D956200373DFF3"' + - '"0x8D9E6D305C8AD87"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:54 GMT + - Thu, 03 Feb 2022 05:07:05 GMT pragma: - no-cache server: @@ -216,34 +216,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-paas + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-paas dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Thu, 03 Feb 2022 05:07:16 GMT etag: - - '0x8D956200C5DFA30' + - '0x8D9E6D30C435431' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Thu, 03 Feb 2022 05:07:16 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas request-id: - - c59232b1-dd0b-4794-aee7-6674326d380e + - 09e9ce56-a837-4c01-ade8-962e785c439a server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -258,7 +256,7 @@ interactions: - request: body: '{"id": "azure-cli-test-iaas", "vmSize": "Standard_A1", "virtualMachineConfiguration": {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "16.04.0-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}}' + "18.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 18.04"}}' headers: Accept: - application/json @@ -267,38 +265,36 @@ interactions: Connection: - keep-alive Content-Length: - - '225' + - '223' Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-iaas + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-iaas dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 05:07:16 GMT etag: - - '0x8D956200CC93F8A' + - '0x8D9E6D30C9719B1' last-modified: - - Tue, 03 Aug 2021 01:43:10 GMT + - Thu, 03 Feb 2022 05:07:17 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas request-id: - - 70fedb4d-62db-4d40-a885-f7e572720624 + - 26f015cc-ceff-4431-ba4f-f2aeed3b846d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -328,34 +324,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:10 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:17 GMT etag: - - '0x8D956200D8CDE54' + - '0x8D9E6D30CD7A551' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:17 GMT location: - https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json request-id: - - 280dac01-9e77-4531-b536-0ce667555cbb + - 05fe4b06-34f7-4143-ad1b-58f164fd689a server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -377,19 +371,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:11 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2022-01-01.15.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\":\"0x8D956200D8CDE54\",\"lastModified\":\"2021-08-03T01:43:11.5913812Z\",\"creationTime\":\"2021-08-03T01:43:11.5913812Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:11.5913812Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.5913812Z\",\"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\":\"0x8D9E6D30CD7A551\",\"lastModified\":\"2022-02-03T05:07:17.7582929Z\",\"creationTime\":\"2022-02-03T05:07:17.7582929Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T05:07:17.7582929Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2022-02-03T05:07:17.7582929Z\",\"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 @@ -402,13 +394,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:17 GMT etag: - - '0x8D956200D8CDE54' + - '0x8D9E6D30CD7A551' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:17 GMT request-id: - - 346288a0-b609-43cb-9d8b-7b35a2b110ab + - 0787a774-81ae-490e-af77-506ee62d8a3d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -430,31 +422,29 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:12 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 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\":\"0x8D956200CC93F8A\",\"lastModified\":\"2021-08-03T01:43:10.3093642Z\",\"creationTime\":\"2021-08-03T01:43:10.3093642Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:10.3093642Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.9133847Z\",\"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\":\"0x8D9E6D30C9719B1\",\"lastModified\":\"2022-02-03T05:07:17.3352881Z\",\"creationTime\":\"2022-02-03T05:07:17.3352881Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T05:07:17.3352881Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2022-02-03T05:07:17.3352881Z\",\"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\":\"0x8D956200D8CDE54\",\"lastModified\":\"2021-08-03T01:43:11.5913812Z\",\"creationTime\":\"2021-08-03T01:43:11.5913812Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:11.5913812Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.5913812Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n + \ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"18.04-LTS\",\"version\":\"latest\"\r\n + \ },\"nodeAgentSKUId\":\"batch.node.ubuntu 18.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\":\"0x8D9E6D30CD7A551\",\"lastModified\":\"2022-02-03T05:07:17.7582929Z\",\"creationTime\":\"2022-02-03T05:07:17.7582929Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T05:07:17.7582929Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2022-02-03T05:07:17.7582929Z\",\"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\":\"0x8D956200C5DFA30\",\"lastModified\":\"2021-08-03T01:43:09.6063536Z\",\"creationTime\":\"2021-08-03T01:43:09.6063536Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6063536Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.4073776Z\",\"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\":\"0x8D9E6D30C435431\",\"lastModified\":\"2022-02-03T05:07:16.7862833Z\",\"creationTime\":\"2022-02-03T05:07:16.7862833Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T05:07:16.7862833Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-03T05:07:17.9682972Z\",\"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: @@ -463,9 +453,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:18 GMT request-id: - - c0b1d567-1fd8-4f5f-9f44-abffefd28868 + - 0ca6c60c-25e0-4cb9-a025-d125654d86a8 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -487,20 +477,18 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:12 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&$filter=id%20eq%20%27azure-cli-test-paas%27&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&$filter=id%20eq%20%27azure-cli-test-paas%27&maxresults=1000&timeout=30 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\":\"0x8D956200C5DFA30\",\"lastModified\":\"2021-08-03T01:43:09.6063536Z\",\"creationTime\":\"2021-08-03T01:43:09.6063536Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.6063536Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2021-08-03T01:43:11.4073776Z\",\"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\":\"0x8D9E6D30C435431\",\"lastModified\":\"2022-02-03T05:07:16.7862833Z\",\"creationTime\":\"2022-02-03T05:07:16.7862833Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-03T05:07:16.7862833Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2022-02-03T05:07:17.9682972Z\",\"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: @@ -509,9 +497,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:12 GMT + - Thu, 03 Feb 2022 05:07:18 GMT request-id: - - a0d8a4d7-34ba-478f-9a5b-6bd1bf437c59 + - 0de29347-c911-47ae-90e1-55589576e702 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -537,32 +525,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:13 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas/resize?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas/resize?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-paas/resize + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-paas/resize dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:12 GMT + - Thu, 03 Feb 2022 05:07:18 GMT etag: - - '0x8D956200EC47509' + - '0x8D9E6D30DA6DCF6' last-modified: - - Tue, 03 Aug 2021 01:43:13 GMT + - Thu, 03 Feb 2022 05:07:19 GMT request-id: - - 9f9f1ac2-d371-48af-aed8-7b87c5415922 + - a0c50799-773b-4a71-9446-a86ab66e2e00 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -584,16 +570,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:13 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas?api-version=2021-06-01.14.0&$select=allocationState%2C%20targetLowPriorityNodes&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas?api-version=2022-01-01.15.0&$select=allocationState%2C%20targetLowPriorityNodes&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"allocationState\":\"resizing\",\"targetLowPriorityNodes\":5\r\n}" @@ -603,13 +587,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:13 GMT + - Thu, 03 Feb 2022 05:07:18 GMT etag: - - '0x8D956200EC47509' + - '0x8D9E6D30DA6DCF6' last-modified: - - Tue, 03 Aug 2021 01:43:13 GMT + - Thu, 03 Feb 2022 05:07:19 GMT request-id: - - a8e3b4e7-56ed-4178-afba-38c1071525a3 + - a888f721-7c7e-4f68-8ba0-74ba2b13ff9a server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -633,32 +617,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:13 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-paas/stopresize dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:13 GMT + - Thu, 03 Feb 2022 05:07:19 GMT etag: - - '0x8D956200EC47509' + - '0x8D9E6D30DA6DCF6' last-modified: - - Tue, 03 Aug 2021 01:43:13 GMT + - Thu, 03 Feb 2022 05:07:19 GMT request-id: - - 13412656-9f26-4b9b-8027-24255e97fe4a + - df88c4f6-13d5-42ed-b03b-db81b2175792 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -684,32 +666,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:14 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-iaas/enableautoscale dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:14 GMT + - Thu, 03 Feb 2022 05:07:19 GMT etag: - - '0x8D956200F9867A4' + - '0x8D9E6D30E2FBCB2' last-modified: - - Tue, 03 Aug 2021 01:43:15 GMT + - Thu, 03 Feb 2022 05:07:20 GMT request-id: - - 697b5d0d-6454-43fa-bd64-884c8db6bc08 + - d803788c-dace-42d3-a350-1a7f512cc700 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -731,16 +711,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:14 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2021-06-01.14.0&$select=enableAutoScale&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2022-01-01.15.0&$select=enableAutoScale&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"enableAutoScale\":true\r\n}" @@ -750,13 +728,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:16 GMT + - Thu, 03 Feb 2022 05:07:20 GMT etag: - - '0x8D956200F9867A4' + - '0x8D9E6D30E2FBCB2' last-modified: - - Tue, 03 Aug 2021 01:43:15 GMT + - Thu, 03 Feb 2022 05:07:20 GMT request-id: - - 41f8b193-0a97-49de-b6a5-89693b215f6e + - 85238df6-1dcb-4628-9c05-07bdc5820ab9 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -782,30 +760,28 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:16 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale?api-version=2022-01-01.15.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-08-03T01:43:17.1634998Z\",\"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\":\"2022-02-03T05:07:20.6137873Z\",\"results\":\"$TargetDedicatedNodes=0;$TargetLowPriorityNodes=3;$NodeDeallocationOption=requeue\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-iaas/evaluateautoscale dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:17 GMT + - Thu, 03 Feb 2022 05:07:19 GMT request-id: - - f0cfb0c0-5ac7-4115-8bb3-e74371410330 + - e0dceb0e-e470-421f-b524-06f05205b22c server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -829,32 +805,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:17 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-iaas/disableautoscale dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:17 GMT + - Thu, 03 Feb 2022 05:07:20 GMT etag: - - '0x8D956200F9867A4' + - '0x8D9E6D30E2FBCB2' last-modified: - - Tue, 03 Aug 2021 01:43:15 GMT + - Thu, 03 Feb 2022 05:07:20 GMT request-id: - - 4ec60b17-6983-45be-9cb1-bb0d2e18f8e3 + - 92107649-13aa-4f61-950f-0c53656d4a62 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -876,16 +850,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:17 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2021-06-01.14.0&$select=enableAutoScale&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2022-01-01.15.0&$select=enableAutoScale&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"enableAutoScale\":false\r\n}" @@ -895,13 +867,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:17 GMT + - Thu, 03 Feb 2022 05:07:20 GMT etag: - - '0x8D956200F9867A4' + - '0x8D9E6D30E2FBCB2' last-modified: - - Tue, 03 Aug 2021 01:43:15 GMT + - Thu, 03 Feb 2022 05:07:20 GMT request-id: - - b9fb3814-b01f-43fc-b19b-a475d664d23a + - 132c1d7c-b32d-4c49-b85f-939edfa1d440 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -923,16 +895,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:17 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/poolusagemetrics?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/poolusagemetrics?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[]\r\n}" @@ -942,9 +912,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:17 GMT + - Thu, 03 Feb 2022 05:07:21 GMT request-id: - - 7eef868e-9d5e-4727-8e5f-d327b60f0a98 + - 9a70df8a-6bec-488f-a7a8-8766bdffd32e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -966,16 +936,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:18 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2021-06-01.14.0&$select=startTask&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2022-01-01.15.0&$select=startTask&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"startTask\":{\r\n @@ -987,13 +955,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:19 GMT + - Thu, 03 Feb 2022 05:07:21 GMT etag: - - '0x8D956200D8CDE54' + - '0x8D9E6D30CD7A551' last-modified: - - Tue, 03 Aug 2021 01:43:11 GMT + - Thu, 03 Feb 2022 05:07:17 GMT request-id: - - 4e49e63e-0c74-4724-a7ba-e631b19c9a00 + - f55ed7b8-96c0-449a-a6a9-8e5b29ce6899 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1019,32 +987,30 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:19 GMT return-client-request-id: - 'false' method: PATCH - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchkywhtp7gibkxwdu2.westus.batch.azure.com/pools/azure-cli-test-json + - https://clibatchrw7cq5fhlb7q7be3.westus.batch.azure.com/pools/azure-cli-test-json dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:19 GMT + - Thu, 03 Feb 2022 05:07:21 GMT etag: - - '0x8D9562012768D3D' + - '0x8D9E6D30F618326' last-modified: - - Tue, 03 Aug 2021 01:43:19 GMT + - Thu, 03 Feb 2022 05:07:22 GMT request-id: - - e3202200-3178-41c5-9ba3-5cf66ccb3693 + - 987a5482-74e3-457a-aea8-1b97e04aae10 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1066,16 +1032,14 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:19 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2021-06-01.14.0&$select=startTask&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-json?api-version=2022-01-01.15.0&$select=startTask&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#pools/@Element\",\"startTask\":{\r\n @@ -1088,13 +1052,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:19 GMT + - Thu, 03 Feb 2022 05:07:22 GMT etag: - - '0x8D9562012768D3D' + - '0x8D9E6D30F618326' last-modified: - - Tue, 03 Aug 2021 01:43:19 GMT + - Thu, 03 Feb 2022 05:07:22 GMT request-id: - - 9d0b2b7f-c3e0-49ec-94b8-da7f5760ecbb + - 8d5db7f1-6d8d-454a-a253-72afe066149e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1116,20 +1080,23 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:20 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.westus.batch.azure.com/supportedimages?api-version=2021-06-01.14.0&maxresults=1000&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/supportedimages?api-version=2022-01-01.15.0&maxresults=1000&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.westus.batch.azure.com/$metadata#supportedimages\",\"value\":[\r\n - \ {\r\n \"imageReference\":{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n + \ {\r\n \"imageReference\":{\r\n \"publisher\":\"almalinux\",\"offer\":\"almalinux\",\"sku\":\"8_4\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.el + 8\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"almalinux\",\"offer\":\"almalinux\",\"sku\":\"8_4-gen2\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.el + 8\",\"capabilities\":[\r\n \"Generation2VMImage\"\r\n ],\"osType\":\"linux\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.centos 7\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows @@ -1291,19 +1258,43 @@ interactions: \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2019-datacenter-with-containers-smalldisk\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n + \ \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-core\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n + \ \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-core-g2\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"capabilities\":[\r\n \"Generation2VMImage\"\r\n ],\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-core-smalldisk\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n + \ \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-core-smalldisk-g2\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"capabilities\":[\r\n \"Generation2VMImage\"\r\n ],\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-g2\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"capabilities\":[\r\n \"Generation2VMImage\"\r\n ],\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-smalldisk\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"verified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n + \ \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"2022-datacenter-smalldisk-g2\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows + amd64\",\"capabilities\":[\r\n \"Generation2VMImage\"\r\n ],\"osType\":\"windows\"\r\n \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"datacenter-core-2004-with-containers-smalldisk\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"batchSupportEndOfLife\":\"2022-01-14T00:00:00Z\",\"osType\":\"windows\"\r\n \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"datacenter-core-20h2-with-containers-smalldisk\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows - amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"osType\":\"windows\"\r\n + amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"batchSupportEndOfLife\":\"2022-06-10T00:00:00Z\",\"osType\":\"windows\"\r\n \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"datacenter-core-20h2-with-containers-smalldisk-g2\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows amd64\",\"capabilities\":[\r\n \"DockerCompatible\",\"Generation2VMImage\"\r\n - \ ],\"osType\":\"windows\"\r\n },{\r\n \"imageReference\":{\r\n - \ \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"datacenter-core-20h2-with-containers-smalldisk-gs\",\"version\":\"latest\"\r\n + \ ],\"batchSupportEndOfLife\":\"2022-06-10T00:00:00Z\",\"osType\":\"windows\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"microsoftwindowsserver\",\"offer\":\"windowsserver\",\"sku\":\"datacenter-core-20h2-with-containers-smalldisk-gs\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.windows - amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"osType\":\"windows\"\r\n + amd64\",\"capabilities\":[\r\n \"DockerCompatible\"\r\n ],\"batchSupportEndOfLife\":\"2022-06-10T00:00:00Z\",\"osType\":\"windows\"\r\n \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"openlogic\",\"offer\":\"centos\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos 7\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"openlogic\",\"offer\":\"centos\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n @@ -1351,12 +1342,12 @@ interactions: \ \"publisher\":\"openlogic\",\"offer\":\"centos-hpc\",\"sku\":\"8_1\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos 8\",\"capabilities\":[\r\n \"SupportsRDMAOnly\",\"IntelMPIRuntimeInstalled\"\r\n - \ ],\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n - \ \"publisher\":\"openlogic\",\"offer\":\"centos-hpc\",\"sku\":\"8_1-gen2\",\"version\":\"latest\"\r\n + \ ],\"batchSupportEndOfLife\":\"2021-12-31T00:00:00Z\",\"osType\":\"linux\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"openlogic\",\"offer\":\"centos-hpc\",\"sku\":\"8_1-gen2\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos 8\",\"capabilities\":[\r\n \"SupportsRDMAOnly\",\"IntelMPIRuntimeInstalled\",\"Generation2VMImage\"\r\n - \ ],\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n - \ \"publisher\":\"oracle\",\"offer\":\"oracle-linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n + \ ],\"batchSupportEndOfLife\":\"2021-12-31T00:00:00Z\",\"osType\":\"linux\"\r\n + \ },{\r\n \"imageReference\":{\r\n \"publisher\":\"oracle\",\"offer\":\"oracle-linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos 7\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n \"publisher\":\"oracle\",\"offer\":\"oracle-linux\",\"sku\":\"78\",\"version\":\"latest\"\r\n \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.centos @@ -1367,16 +1358,19 @@ interactions: \ },\"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}" + 18.04\",\"osType\":\"linux\"\r\n },{\r\n \"imageReference\":{\r\n + \ \"publisher\":\"xilinx\",\"offer\":\"xilinx_alveo_u250_deployment_vm_ubuntu2004_062421\",\"sku\":\"xilinx_alveo_u250_deployment_vm_ubuntu_2004_062421\",\"version\":\"latest\"\r\n + \ },\"verificationType\":\"unverified\",\"nodeAgentSKUId\":\"batch.node.ubuntu + 20.04\",\"osType\":\"linux\"\r\n }\r\n ]\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:20 GMT + - Thu, 03 Feb 2022 05:07:22 GMT request-id: - - 6ed68e74-30d7-462a-8a94-9b4f65e6ee79 + - a9d24bca-c598-4c0e-9381-5847822abb56 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1400,16 +1394,14 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:21 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-iaas?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -1417,9 +1409,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:21 GMT + - Thu, 03 Feb 2022 05:07:23 GMT request-id: - - f989ec57-2118-48a9-af9a-16acbfe3b847 + - a20c2a2f-e2ec-4539-a836-595b9ec6bb21 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1446,21 +1438,19 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:21 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools?api-version=2022-01-01.15.0&timeout=30 response: 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:b11e5fb5-345f-4dbe-873b-48ff15bffe3f\\nTime:2021-08-03T01:43:22.5367388Z\"\r\n + package references are invalid.\\nRequestId:0417b238-feff-4786-9423-11b5e7195187\\nTime:2022-02-03T05:07:23.6053571Z\"\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: @@ -1471,9 +1461,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:21 GMT + - Thu, 03 Feb 2022 05:07:23 GMT request-id: - - b11e5fb5-345f-4dbe-873b-48ff15bffe3f + - 0417b238-feff-4786-9423-11b5e7195187 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -1497,21 +1487,19 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US - ocp-date: - - Tue, 03 Aug 2021 01:43:22 GMT return-client-request-id: - 'false' method: PATCH - uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.westus.batch.azure.com/pools/azure-cli-test-paas?api-version=2022-01-01.15.0&timeout=30 response: 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:be77e30f-3865-411a-be5a-2c96315b983b\\nTime:2021-08-03T01:43:22.9290435Z\"\r\n + package references are invalid.\\nRequestId:8b2ac3e6-5c8e-4c9c-9eb8-55ee24c19c8d\\nTime:2022-02-03T05:07:23.9485008Z\"\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: @@ -1522,9 +1510,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:22 GMT + - Thu, 03 Feb 2022 05:07:23 GMT request-id: - - be77e30f-3865-411a-be5a-2c96315b983b + - 8b2ac3e6-5c8e-4c9c-9eb8-55ee24c19c8d 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 a05aa6ba8cb..f31dd0965b3 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 @@ -17,7 +17,7 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: @@ -29,11 +29,11 @@ interactions: content-length: - '0' date: - - Tue, 03 Aug 2021 01:42:50 GMT + - Fri, 04 Feb 2022 19:40:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/d184eb78-8f31-4d3a-b47b-8f95257dc803?api-version=2021-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b736603-53d7-44ea-ab9e-0b0956a4e557?api-version=2021-06-01 pragma: - no-cache server: @@ -61,29 +61,29 @@ interactions: ParameterSetName: - -n -g -l User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/d184eb78-8f31-4d3a-b47b-8f95257dc803?api-version=2021-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b736603-53d7-44ea-ab9e-0b0956a4e557?api-version=2021-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3108' + - '3197' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:05 GMT + - Fri, 04 Feb 2022 19:41:07 GMT etag: - - '"0x8D956200A739875"' + - '"0x8D9E8164A31FD67"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:43:06 GMT + - Fri, 04 Feb 2022 19:41:08 GMT pragma: - no-cache server: @@ -115,21 +115,21 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-01 response: body: - string: '{"accountName":"clibatch000002","primary":"gKrjR2jXlzC+ih0UTp4cLiuEl06KOVAUpKZptT1/5lBgf1OcLlAHcciwB4b2wHPOdk2rKDntuk6nyoCpN1xTqA==","secondary":"fakeBatchAccountKey0=="}' + string: '{"accountName":"clibatch000002","primary":"vqaNiM723CToitzEPu/t0EBOS+OnY//tpy8NFL9Rriml6sHHiTu+EYDgzA8m/m+6uNHK68WwbwMOy27ri+fybA==","secondary":"fakeBatchAccountKey0=="}' headers: cache-control: - no-cache content-length: - - '246' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:06 GMT + - Fri, 04 Feb 2022 19:41:08 GMT expires: - '-1' pragma: @@ -163,29 +163,29 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-batch/16.0.0 Python/3.9.4 (macOS-11.4-x86_64-i386-64bit) + - AZURECLI/2.33.0 azsdk-python-mgmt-batch/16.0.0 Python/3.8.6 (Windows-10-10.0.22000-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-06-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 NCASv3_T4 Family","coreQuota":0},{"name":"standardXEIDSv4Family","coreQuota":0},{"name":"Standard - NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' + NDASv4_A100 Family","coreQuota":0},{"name":"standardDCSv2Family","coreQuota":0},{"name":"standardHBv3Family","coreQuota":0},{"name":"standardNPSFamily","coreQuota":0},{"name":"standardFXMDVSFamily","coreQuota":0},{"name":"standardDdv5Family","coreQuota":0},{"name":"standardDdsv5Family","coreQuota":0},{"name":"standardEdv5Family","coreQuota":0},{"name":"standardEdsv5Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":true,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"},"allowedAuthenticationModes":["SharedKey","AAD","TaskAuthenticationToken"]},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '3108' + - '3197' content-type: - application/json; charset=utf-8 date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Fri, 04 Feb 2022 19:41:08 GMT etag: - - '"0x8D956200387E28A"' + - '"0x8D9E81643469C41"' expires: - '-1' last-modified: - - Tue, 03 Aug 2021 01:42:54 GMT + - Fri, 04 Feb 2022 19:40:56 GMT pragma: - no-cache server: @@ -219,34 +219,34 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:07 GMT + - Fri, 04 Feb 2022 19:41:09 GMT return-client-request-id: - 'false' method: POST - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' headers: dataserviceid: - - https://clibatchzndtwlnyn5neonyb.canadacentral.batch.azure.com/jobs/job-1 + - https://clibatchyh3bia6c5cwt3ae6.canadacentral.batch.azure.com/jobs/job-1 dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:41:09 GMT etag: - - '0x8D956200BABD681' + - '0x8D9E8164B5EC545' last-modified: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:41:10 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/job-1 request-id: - - 7c0b6bc6-8b98-412e-b21b-4fd958c213d9 + - 2e436747-b027-4de2-80cf-df2ea7c66a09 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -277,32 +277,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:41:10 GMT method: POST - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2021-06-01.14.0 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2022-01-01.15.0 response: body: string: '' headers: dataserviceid: - - https://clibatchzndtwlnyn5neonyb.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask + - https://clibatchyh3bia6c5cwt3ae6.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:41:09 GMT etag: - - '0x8D956200C1A242E' + - '0x8D9E8164BA0CB21' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:10 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask request-id: - - 14883719-b17f-4b06-95ba-8924e2213972 + - 58a94f0f-a3cf-4f77-ab5d-2e429e50033b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -324,17 +324,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:10 GMT method: GET - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2021-06-01.14.0 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2022-01-01.15.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\":\"0x8D956200C1A242E\",\"creationTime\":\"2021-08-03T01:43:09.1617838Z\",\"lastModified\":\"2021-08-03T01:43:09.1617838Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.1617838Z\",\"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\":\"0x8D9E8164BA0CB21\",\"creationTime\":\"2022-02-04T19:41:10.5389345Z\",\"lastModified\":\"2022-02-04T19:41:10.5389345Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:41:10.5389345Z\",\"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 @@ -349,13 +349,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:08 GMT + - Fri, 04 Feb 2022 19:41:09 GMT etag: - - '0x8D956200C1A242E' + - '0x8D9E8164BA0CB21' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:10 GMT request-id: - - ee002524-f30b-4a2b-ab66-4306fc419583 + - 5e7f16a6-2f21-45f8-af1c-cef5509f1222 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -377,19 +377,19 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:11 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2022-01-01.15.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\":\"0x8D956200C1A242E\",\"creationTime\":\"2021-08-03T01:43:09.1617838Z\",\"lastModified\":\"2021-08-03T01:43:09.1617838Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:09.1617838Z\",\"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\":\"0x8D9E8164BA0CB21\",\"creationTime\":\"2022-02-04T19:41:10.5389345Z\",\"lastModified\":\"2022-02-04T19:41:10.5389345Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:41:10.5389345Z\",\"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 @@ -404,13 +404,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:11 GMT etag: - - '0x8D956200C1A242E' + - '0x8D9E8164BA0CB21' last-modified: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:10 GMT request-id: - - 01aa725b-4a1e-4c58-9aba-f3facbbceaab + - ef923d77-547a-4fde-8d26-34947dd7f22c server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -434,16 +434,16 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:11 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -451,9 +451,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:11 GMT request-id: - - f959c0a9-ca9e-4297-b5bd-e7f43cf6527e + - 99a05497-d272-45be-b998-709df782750d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -479,32 +479,32 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:11 GMT method: POST - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2021-06-01.14.0 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks?api-version=2022-01-01.15.0 response: body: string: '' headers: dataserviceid: - - https://clibatchzndtwlnyn5neonyb.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa + - https://clibatchyh3bia6c5cwt3ae6.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Fri, 04 Feb 2022 19:41:12 GMT etag: - - '0x8D956200C9E0A3F' + - '0x8D9E8164C899E7E' last-modified: - - Tue, 03 Aug 2021 01:43:10 GMT + - Fri, 04 Feb 2022 19:41:12 GMT location: - https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa request-id: - - 305b706b-5396-414e-9a5c-e2161e431c11 + - bbe33d51-e2fa-4cb3-9b72-33b401a29520 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -526,17 +526,17 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:09 GMT + - Fri, 04 Feb 2022 19:41:12 GMT method: GET - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa?api-version=2021-06-01.14.0 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa?api-version=2022-01-01.15.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\":\"0x8D956200C9E0A3F\",\"creationTime\":\"2021-08-03T01:43:10.0261951Z\",\"lastModified\":\"2021-08-03T01:43:10.0261951Z\",\"state\":\"active\",\"stateTransitionTime\":\"2021-08-03T01:43:10.0261951Z\",\"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\":\"0x8D9E8164C899E7E\",\"creationTime\":\"2022-02-04T19:41:12.0647806Z\",\"lastModified\":\"2022-02-04T19:41:12.0647806Z\",\"state\":\"active\",\"stateTransitionTime\":\"2022-02-04T19:41:12.0647806Z\",\"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 @@ -547,13 +547,13 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:10 GMT + - Fri, 04 Feb 2022 19:41:12 GMT etag: - - '0x8D956200C9E0A3F' + - '0x8D9E8164C899E7E' last-modified: - - Tue, 03 Aug 2021 01:43:10 GMT + - Fri, 04 Feb 2022 19:41:12 GMT request-id: - - 172a1394-8f99-408b-be99-73567a6cf25d + - f5460f57-ee34-43ad-9ae8-cf9bec9b9ba4 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -575,16 +575,16 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:19 GMT + - Fri, 04 Feb 2022 19:41:22 GMT return-client-request-id: - 'false' method: GET - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/taskcounts?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/taskcounts?api-version=2022-01-01.15.0&timeout=30 response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.canadacentral.batch.azure.com/$metadata#taskcountsresult/@Element\",\"taskCounts\":{\r\n @@ -597,9 +597,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:20 GMT + - Fri, 04 Feb 2022 19:41:21 GMT request-id: - - cdffec1a-405b-442c-9162-6f8fe1383dde + - 07662b20-ebfb-4b1f-b31d-ec1feacc143b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -623,16 +623,16 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:20 GMT + - Fri, 04 Feb 2022 19:41:22 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/aaa?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -640,9 +640,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:20 GMT + - Fri, 04 Feb 2022 19:41:23 GMT request-id: - - 54aea83a-a133-434f-930c-fcd4f6b43d01 + - 893b5e4b-ef12-4583-b7b0-aaba8ab2ce2d server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -675,20 +675,20 @@ interactions: Content-Type: - application/json; odata=minimalmetadata; charset=utf-8 User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:20 GMT + - Fri, 04 Feb 2022 19:41:23 GMT method: POST - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/addtaskcollection?api-version=2021-06-01.14.0 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/addtaskcollection?api-version=2022-01-01.15.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\":\"0x8D956201379C48E\",\"lastModified\":\"2021-08-03T01:43:21.5325326Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask3\"\r\n - \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask2\",\"eTag\":\"0x8D95620137CA9E8\",\"lastModified\":\"2021-08-03T01:43:21.5515112Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask2\"\r\n - \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask1\",\"eTag\":\"0x8D95620137CF80B\",\"lastModified\":\"2021-08-03T01:43:21.5535115Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask1\"\r\n + \ {\r\n \"status\":\"Success\",\"taskId\":\"xplatTask3\",\"eTag\":\"0x8D9E816535F9C2D\",\"lastModified\":\"2022-02-04T19:41:23.5335213Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask3\"\r\n + \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask2\",\"eTag\":\"0x8D9E8165360ACEE\",\"lastModified\":\"2022-02-04T19:41:23.5405038Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask2\"\r\n + \ },{\r\n \"status\":\"Success\",\"taskId\":\"xplatTask1\",\"eTag\":\"0x8D9E8165361E57D\",\"lastModified\":\"2022-02-04T19:41:23.5485053Z\",\"location\":\"https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests/tasks/xplatTask1\"\r\n \ }\r\n ]\r\n}" headers: content-type: @@ -696,9 +696,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:21 GMT + - Fri, 04 Feb 2022 19:41:22 GMT request-id: - - 11758569-cfdc-45a3-be27-93a1896f7bce + - ecde6a4f-c78c-4f75-b39b-0577e0f4ccf2 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -722,16 +722,16 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.9.4 (macOS-11.4-x86_64-i386-64bit) msrest/0.6.21 msrest_azure/0.6.3 - azure-batch/11.0.0 Azure-SDK-For-Python + - python/3.8.6 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-batch/12.0.0 Azure-SDK-For-Python accept-language: - en-US ocp-date: - - Tue, 03 Aug 2021 01:43:23 GMT + - Fri, 04 Feb 2022 19:41:25 GMT return-client-request-id: - 'false' method: DELETE - uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests?api-version=2021-06-01.14.0&timeout=30 + uri: https://clibatch000002.canadacentral.batch.azure.com/jobs/xplatJobForTaskTests?api-version=2022-01-01.15.0&timeout=30 response: body: string: '' @@ -739,9 +739,9 @@ interactions: dataserviceversion: - '3.0' date: - - Tue, 03 Aug 2021 01:43:23 GMT + - Fri, 04 Feb 2022 19:41:25 GMT request-id: - - 7bac80b0-053d-4343-b08a-164966e57c5b + - 5a30f22a-5550-4ed0-88c5-3be574c5f29f server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_commands.py b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_commands.py index 28206743abb..4db2f63c68c 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_commands.py +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/test_batch_commands.py @@ -554,7 +554,7 @@ def test_batch_get_model_attrs(self): attrs = list(self.command_job._get_attrs(models.JobManagerTask, 'job.job_manager_task')) self.assertEqual(len(attrs), 7) attrs = list(self.command_job._get_attrs(models.JobAddParameter, 'job')) - self.assertEqual(len(attrs), 8) + self.assertEqual(len(attrs), 9) def test_batch_load_arguments(self): # pylint: disable=too-many-statements @@ -572,7 +572,7 @@ def test_batch_load_arguments(self): self.assertTrue('account_endpoint' in [a for a, _ in args]) handler = operations._job_operations.JobOperations.add args = list(self.command_job._load_transformed_arguments(handler)) - self.assertEqual(len(args), 18) + self.assertEqual(len(args), 19) self.assertFalse('yes' in [a for a, _ in args]) self.assertTrue('json_file' in [a for a, _ in args]) self.assertFalse('destination' in [a for a, _ in args]) @@ -605,7 +605,7 @@ def test_batch_load_arguments(self): self.assertFalse('destination' in [a for a, _ in args]) handler = operations._job_schedule_operations.JobScheduleOperations.add args = [a for a, _ in self.command_conflicts._load_transformed_arguments(handler)] - self.assertEqual(len(args), 22) + self.assertEqual(len(args), 23) self.assertTrue('id' in args) self.assertTrue('job_manager_task_id' in args) self.assertFalse('job_manager_task_max_wall_clock_time' in args) 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 605447f36fc..4a42cd70888 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 @@ -304,8 +304,8 @@ def test_batch_pools_and_nodes( # test create iaas pool using parameters self.batch_cmd('batch pool create --id {pool_i} --vm-size Standard_A1 ' - '--image Canonical:UbuntuServer:16.04.0-LTS ' - '--node-agent-sku-id "batch.node.ubuntu 16.04"') + '--image Canonical:UbuntuServer:18.04-LTS ' + '--node-agent-sku-id "batch.node.ubuntu 18.04"') # test create pool with missing parameters with self.assertRaises(SystemExit): diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 6055977277b..162204b86b6 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -3,7 +3,7 @@ applicationinsights==0.11.9 argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 -azure-batch==11.0.0 +azure-batch==12.0.0 azure-cli-core==2.33.0 azure-cli-telemetry==1.0.6 azure-cli==2.33.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index b9225fb64d0..a06203293d1 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -3,7 +3,7 @@ applicationinsights==0.11.9 argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 -azure-batch==11.0.0 +azure-batch==12.0.0 azure-cli-core==2.33.0 azure-cli-telemetry==1.0.6 azure-cli==2.33.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index c0bd2da9186..3c952a0db06 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -3,7 +3,7 @@ applicationinsights==0.11.7 argcomplete==1.11.1 asn1crypto==0.24.0 azure-appconfiguration==1.1.1 -azure-batch==11.0.0 +azure-batch==12.0.0 azure-cli-core==2.33.0 azure-cli-telemetry==1.0.6 azure-cli==2.33.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 37f9031b6ce..f2f45a5b345 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -53,7 +53,7 @@ DEPENDENCIES = [ 'antlr4-python3-runtime~=4.7.2', 'azure-appconfiguration~=1.1.1', - 'azure-batch~=11.0.0', + 'azure-batch~=12.0.0', 'azure-cli-core=={}'.format(VERSION), 'azure-cosmos~=3.0,>=3.0.2', 'azure-datalake-store~=0.0.49',