From 2c3a46e0e251e8d73f41cf42e22b1b4471d51475 Mon Sep 17 00:00:00 2001 From: Daniel Miller Date: Mon, 27 Apr 2020 01:13:19 -0700 Subject: [PATCH 01/13] {Docs} Remove stale reference in README to closed issue about extensions (#12771) --- doc/extensions/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/extensions/README.md b/doc/extensions/README.md index 2b6d1a01aef..46dd325ddbf 100644 --- a/doc/extensions/README.md +++ b/doc/extensions/README.md @@ -12,8 +12,6 @@ What is an Extension? - Currently, we support one extension type, a [Python Wheel](http://pythonwheels.com/). - All extension documentation here refers to this type of extension. -> Extensions should be built with wheel `0.29.0` or `0.30.0` until [#6441](https://github.com/Azure/azure-cli/issues/6441) is resolved - What an Extension is not ------------------------ From e560ccf5b591fc1d389929bb7c4bafd692537d04 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Mon, 11 May 2020 15:44:20 -0700 Subject: [PATCH 02/13] squash --- .../command_modules/batch/_client_factory.py | 8 + .../cli/command_modules/batch/_params.py | 6 + .../azure/cli/command_modules/batch/custom.py | 26 +- .../recordings/test_batch_account_cmd.yaml | 985 ------------------ .../test_batch_application_cmd.yaml | 431 ++++---- .../test_batch_certificate_cmd.yaml | 82 +- .../test_batch_general_arm_cmd.yaml | 216 ++-- .../recordings/test_batch_job_list_cmd.yaml | 4 +- .../recordings/test_batch_jobs_and_tasks.yaml | 10 +- .../recordings/test_batch_network_cmd.yaml | 361 +++++++ .../recordings/test_batch_pool_cmd.yaml | 4 +- .../test_batch_pools_and_nodes.yaml | 4 +- .../test_batch_task_create_cmd.yaml | 10 +- .../batch/tests/latest/test_batch_commands.py | 1 + .../custom.py | 2 +- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 19 files changed, 789 insertions(+), 1369 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml diff --git a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py index b2ed633adca..5778fbffb38 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py @@ -22,6 +22,14 @@ def mgmt_location_client_factory(cli_ctx, _): return batch_client_factory(cli_ctx).location +def mgmt_private_link_resource_client_factory(cli_ctx, _): + return batch_client_factory(cli_ctx).private_link_resource + + +def mgmt_private_endpoint_connection_client_factory(cli_ctx, _): + return batch_client_factory(cli_ctx).private_endpoint_connection + + def application_client_factory(cli_ctx, kwargs): return batch_data_service_factory(cli_ctx, kwargs).application 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 daa0ea63193..d9bfe271a52 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -51,11 +51,17 @@ def load_arguments(self, _): c.argument('tags', tags_type, help="Space-separated tags in 'key[=value]' format.") c.argument('storage_account', help='The storage account name or resource ID to be used for auto storage.', validator=storage_account_id) c.argument('keyvault', help='The KeyVault name or resource ID to be used for an account with a pool allocation mode of \'User Subscription\'.', validator=keyvault_id) + c.argument('public_network_access', help="The network access type for accessing Azure Batch account. Values can either be enabled or disabled.") + c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault') + c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. ' + 'Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') c.ignore('keyvault_url') with self.argument_context('batch account set') as c: c.argument('tags', tags_type) c.argument('storage_account', help='The storage account name or resource ID to be used for auto storage.', validator=storage_account_id) + c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault') + c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. ' 'Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') with self.argument_context('batch account keys renew') as c: c.argument('key_name', arg_type=get_enum_type(AccountKeyType)) 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 3f6b9f65e33..dff64db158a 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -14,13 +14,14 @@ from azure.mgmt.batch import BatchManagementClient from azure.mgmt.batch.models import (BatchAccountCreateParameters, AutoStorageBaseProperties, - Application) + Application, EncryptionProperties, KeyVaultProperties) from azure.mgmt.batch.operations import (ApplicationPackageOperations) from azure.batch.models import (CertificateAddParameter, PoolStopResizeOptions, PoolResizeParameter, PoolResizeOptions, JobListOptions, JobListFromJobScheduleOptions, TaskAddParameter, TaskAddCollectionParameter, TaskConstraints, - PoolUpdatePropertiesParameter, StartTask, AffinityInformation) + PoolUpdatePropertiesParameter, StartTask, AffinityInformation, + ) from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.cli.core.profiles import get_sdk, ResourceType @@ -73,12 +74,29 @@ def get_account(cmd, client, resource_group_name=None, account_name=None): @transfer_doc(AutoStorageBaseProperties) def create_account(client, resource_group_name, account_name, location, tags=None, storage_account=None, - keyvault=None, keyvault_url=None, no_wait=False): + keyvault=None, keyvault_url=None, no_wait=False, public_network_access=None, + encryption_key_source=None, encryption_key_identifier=None): properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None + if public_network_access and public_network_access != "Enabled" and public_network_access != "Disabled": + raise ValueError("The --public-network-access must be either Enabled or Disabled") + if (encryption_key_source and + encryption_key_source != "Microsoft.Batch" and + encryption_key_source != "Microsoft.KeyVault"): + raise ValueError("The --encryption-key-source must be either Microsoft.Batch or Microsoft.KeyVault") + if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: + raise ValueError("The --encryption-key-identifier property is required when " + "--encryption-key-source is set to Microsoft.KeyVault") + encryption_key_identifier = KeyVaultProperties(key_identifier=encryption_key_identifier) \ + if encryption_key_identifier else None + encryption = EncryptionProperties( + key_source=encryption_key_source, + encryption_key_identifier=encryption_key_identifier) if encryption_key_source else None parameters = BatchAccountCreateParameters(location=location, tags=tags, - auto_storage=properties) + auto_storage=properties, + public_network_access=public_network_access, + encryption=encryption) if keyvault: parameters.key_vault_reference = {'id': keyvault, 'url': keyvault_url} parameters.pool_allocation_mode = 'UserSubscription' diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml deleted file mode 100644 index c1d132e3d65..00000000000 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_account_cmd.yaml +++ /dev/null @@ -1,985 +0,0 @@ -interactions: -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "northeurope"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - Content-Length: - - '79' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l --sku - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-storage/4.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1?api-version=2019-04-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - content-type: - - text/plain; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:03:08 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --sku - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-storage/4.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - content-type: - - text/plain; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:03:25 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --sku - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-storage/4.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - content-type: - - text/plain; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:03:28 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --sku - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-storage/4.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/51e1224c-e369-4ce8-b5fe-7d631ff58c23?monitor=true&api-version=2019-04-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-08-15T20:03:07.4953988Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-08-15T20:03:07.4953988Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-08-15T20:03:07.4329251Z","primaryEndpoints":{"blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' - headers: - cache-control: - - no-cache - content-length: - - '1154' - content-type: - - application/json - date: - - Thu, 15 Aug 2019 20:03:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "northeurope"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - Content-Length: - - '27' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Thu, 15 Aug 2019 20:03:35 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/e90c1fbd-be64-49e5-a5ff-552150ff8fa8?api-version=2019-08-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/e90c1fbd-be64-49e5-a5ff-552150ff8fa8?api-version=2019-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' - headers: - cache-control: - - no-cache - content-length: - - '1928' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:03:51 GMT - etag: - - '"0x8D721BBB179C39B"' - expires: - - '-1' - last-modified: - - Thu, 15 Aug 2019 20:03:51 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account set - Connection: - - keep-alive - ParameterSetName: - - -g -n --storage-account - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-storage/4.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1?api-version=2019-04-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-08-15T20:03:07.4953988Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-08-15T20:03:07.4953988Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-08-15T20:03:07.4329251Z","primaryEndpoints":{"blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' - headers: - cache-control: - - no-cache - content-length: - - '1154' - content-type: - - application/json - date: - - Thu, 15 Aug 2019 20:05:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: 'b''{"properties": {"autoStorage": {"storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1"}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account set - Connection: - - keep-alive - Content-Length: - - '264' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --storage-account - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-08-15T20:05:34.499688Z"},"poolAllocationMode":"BatchService"}}' - headers: - cache-control: - - no-cache - content-length: - - '2217' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:34 GMT - etag: - - '"0x8D721BBEECB90A3"' - expires: - - '-1' - last-modified: - - Thu, 15 Aug 2019 20:05:34 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-08-15T20:05:34.499688Z"},"poolAllocationMode":"BatchService"}}' - headers: - cache-control: - - no-cache - content-length: - - '2217' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:34 GMT - etag: - - '"0x8D721BBEEC97A10"' - expires: - - '-1' - last-modified: - - Thu, 15 Aug 2019 20:05:34 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account autostorage-keys sync - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/syncAutoStorageKeys?api-version=2019-08-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - date: - - Thu, 15 Aug 2019 20:05:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account keys list - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2019-08-01 - response: - body: - string: '{"accountName":"clibatchtest1","primary":"uFEfo5Asg80a2rZejLgyNmX40tJ1PCMtiE9de2ZjLrEF1ih9xUJaCKTkkHYueVjVG2ADpvjaF93DSlgHbRy7cw==","secondary":"jUp9TNoQOcuZS/+QuM2vxcR9c9A14+1lvxJmn3uJPvLJKpn+sDxh6crpi9vwtl+5KJ+kBPOGXbMSZR1uPIhWXw=="}' - headers: - cache-control: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: '{"keyName": "Primary"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account keys renew - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --key-name - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/regenerateKeys?api-version=2019-08-01 - response: - body: - string: '{"accountName":"clibatchtest1","primary":"2Jx0vEdtGSkGJA17AFPBGyu2Lfsx5nfHabujyejIU19NZs78XDDPCXftCkeyBh7BhXSQmdgBrVHrV7QyfG1pMQ==","secondary":"jUp9TNoQOcuZS/+QuM2vxcR9c9A14+1lvxJmn3uJPvLJKpn+sDxh6crpi9vwtl+5KJ+kBPOGXbMSZR1uPIhWXw=="}' - headers: - cache-control: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account login - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-08-15T20:05:37.3495296Z"},"poolAllocationMode":"BatchService"}}' - headers: - cache-control: - - no-cache - content-length: - - '2218' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:38 GMT - etag: - - '"0x8D721BBF170F0BB"' - expires: - - '-1' - last-modified: - - Thu, 15 Aug 2019 20:05:38 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account login - Connection: - - keep-alive - ParameterSetName: - - -g -n --shared-key-auth - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-08-15T20:05:37.3495296Z"},"poolAllocationMode":"BatchService"}}' - headers: - cache-control: - - no-cache - content-length: - - '2218' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:40 GMT - etag: - - '"0x8D721BBF170F0BB"' - expires: - - '-1' - last-modified: - - Thu, 15 Aug 2019 20:05:38 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account login - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n --shared-key-auth - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 azure-mgmt-batch/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2019-08-01 - response: - body: - string: '{"accountName":"clibatchtest1","primary":"2Jx0vEdtGSkGJA17AFPBGyu2Lfsx5nfHabujyejIU19NZs78XDDPCXftCkeyBh7BhXSQmdgBrVHrV7QyfG1pMQ==","secondary":"jUp9TNoQOcuZS/+QuM2vxcR9c9A14+1lvxJmn3uJPvLJKpn+sDxh6crpi9vwtl+5KJ+kBPOGXbMSZR1uPIhWXw=="}' - headers: - cache-control: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 resourcemanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"northeurope","tags":{"product":"azurecli","cause":"automation","date":"2019-08-15T20:02:59Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '389' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:40 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "northeurope", "properties": {"publicIPAllocationMethod": - "Dynamic", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - Content-Length: - - '143' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - --name --resource-group - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 networkmanagementclient/3.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/clitest.rg000001ip?api-version=2019-09-01 - response: - body: - string: "{\r\n \"name\": \"clitest.rg000001ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/clitest.rg000001ip\",\r\n - \ \"etag\": \"W/\\\"7ef8b139-e9f4-4e56-8fe3-54aa3231f334\\\"\",\r\n \"location\": - \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"e0469420-6845-4c4d-97ae-09eb0cccf410\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n - \ }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/northeurope/operations/c335015f-fac9-4d38-99d8-70452f10754e?api-version=2019-09-01 - cache-control: - - no-cache - content-length: - - '832' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 472ee48b-f37b-4c7d-be62-9b5d59de1dd1 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 networkmanagementclient/3.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/northeurope/operations/c335015f-fac9-4d38-99d8-70452f10754e?api-version=2019-09-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - da7af0fe-01cd-4a60-ae12-39f48e317239 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network public-ip create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - python/3.6.5 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.1 networkmanagementclient/3.0.0 - Azure-SDK-For-Python AZURECLI/2.0.71 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/clitest.rg000001ip?api-version=2019-09-01 - response: - body: - string: "{\r\n \"name\": \"clitest.rg000001ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/clitest.rg000001ip\",\r\n - \ \"etag\": \"W/\\\"b89e9abd-b233-42a2-84d6-dff1020020c9\\\"\",\r\n \"location\": - \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"e0469420-6845-4c4d-97ae-09eb0cccf410\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n - \ }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '833' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Aug 2019 20:05:46 GMT - etag: - - W/"b89e9abd-b233-42a2-84d6-dff1020020c9" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 32f13ed0-bb9b-4693-be1d-240d3cd9eeeb - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml index b12465462a7..dfe8e4fdce1 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "ukwest"}' + body: '{"sku": {"name": "Standard_LRS"}, "kind": "StorageV2", "location": "ukwest"}' headers: Accept: - application/json @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive Content-Length: - - '74' + - '76' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -34,11 +34,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 27 Dec 2019 14:00:42 GMT + - Mon, 04 May 2020 22:17:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/e816cd21-25f5-4bae-97f9-ec068dcb168f?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/b2a47e32-6c42-4e9c-8ead-145113242923?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 202 message: Accepted @@ -66,22 +66,22 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/e816cd21-25f5-4bae-97f9-ec068dcb168f?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/b2a47e32-6c42-4e9c-8ead-145113242923?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-12-27T14:00:42.0497286Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-12-27T14:00:42.0497286Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-12-27T14:00:42.0184633Z","primaryEndpoints":{"blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:17:07.5300164Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '1176' + - '1359' content-type: - application/json date: - - Fri, 27 Dec 2019 14:00:59 GMT + - Mon, 04 May 2020 22:17:24 GMT expires: - '-1' pragma: @@ -113,24 +113,24 @@ interactions: ParameterSetName: - -g -n -l --storage-account User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-12-27T14:00:42.0497286Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-12-27T14:00:42.0497286Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-12-27T14:00:42.0184633Z","primaryEndpoints":{"blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:17:07.5300164Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '1176' + - '1359' content-type: - application/json date: - - Fri, 27 Dec 2019 14:01:02 GMT + - Mon, 04 May 2020 22:17:27 GMT expires: - '-1' pragma: @@ -150,7 +150,8 @@ interactions: message: OK - request: body: 'b''{"location": "ukwest", "properties": {"autoStorage": {"storageAccountId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7"}}}''' + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7"}, + "publicNetworkAccess": "Enabled"}}''' headers: Accept: - application/json @@ -161,18 +162,18 @@ interactions: Connection: - keep-alive Content-Length: - - '286' + - '320' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l --storage-account User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: string: '' @@ -182,11 +183,11 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:01:09 GMT + - Mon, 04 May 2020 22:17:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/ec86be1e-0ee5-4b33-9a4e-98e5b3bb25da?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/15a6036d-22b3-49df-a4a6-e343a04951ea?api-version=2020-03-01 pragma: - no-cache server: @@ -196,7 +197,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 202 message: Accepted @@ -214,28 +215,28 @@ interactions: ParameterSetName: - -g -n -l --storage-account User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/ec86be1e-0ee5-4b33-9a4e-98e5b3bb25da?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/15a6036d-22b3-49df-a4a6-e343a04951ea?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:26 GMT + - Mon, 04 May 2020 22:17:49 GMT etag: - - '"0x8D78AD543C234E4"' + - '"0x8D7F078FB2B8D8D"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:26 GMT + - Mon, 04 May 2020 22:17:49 GMT pragma: - no-cache server: @@ -265,30 +266,30 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:28 GMT + - Mon, 04 May 2020 22:17:50 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -322,15 +323,15 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D78AD546173E13\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -339,13 +340,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:30 GMT + - Mon, 04 May 2020 22:17:51 GMT etag: - - W/"0x8D78AD546173E13" + - W/"0x8D7F078FC6BE9BB" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:30 GMT + - Mon, 04 May 2020 22:17:51 GMT pragma: - no-cache server: @@ -359,7 +360,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1199' status: code: 200 message: OK @@ -377,30 +378,30 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:31 GMT + - Mon, 04 May 2020 22:17:52 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -430,15 +431,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-03-01 response: body: - string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D78AD546173E13\"","properties":{"allowUpdates":true}}]}' + string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}]}' headers: cache-control: - no-cache @@ -447,7 +448,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:32 GMT + - Mon, 04 May 2020 22:17:53 GMT expires: - '-1' pragma: @@ -479,30 +480,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:33 GMT + - Mon, 04 May 2020 22:17:54 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -532,15 +533,15 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D78AD546173E13\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -549,13 +550,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:34 GMT + - Mon, 04 May 2020 22:17:55 GMT etag: - - W/"0x8D78AD546173E13" + - W/"0x8D7F078FC6BE9BB" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:30 GMT + - Mon, 04 May 2020 22:17:51 GMT pragma: - no-cache server: @@ -589,15 +590,15 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D78AD54979F15E\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=9rpSRf%2Bk1HPTEpZblL6eEz2uAAZjm62lIwBPJAarqIw%3D&st=2019-12-27T13%3A56%3A36Z&se=2019-12-27T18%3A01%3A36Z&sp=rw","storageUrlExpiry":"2019-12-27T18:01:36.1837836Z","state":"Pending"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F078FF628275\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=CkYncMEBfmIkXE2ir0eNps0Pc5nZDXMEoap%2F1dLcR50%3D&st=2020-05-04T22%3A12%3A56Z&se=2020-05-05T02%3A17%3A56Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:56.7667505Z","state":"Pending"}}' headers: cache-control: - no-cache @@ -606,13 +607,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:35 GMT + - Mon, 04 May 2020 22:17:56 GMT etag: - - W/"0x8D78AD54979F15E" + - W/"0x8D7F078FF628275" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:36 GMT + - Mon, 04 May 2020 22:17:56 GMT pragma: - no-cache server: @@ -626,7 +627,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 200 message: OK @@ -638,15 +639,15 @@ interactions: Content-Length: - '29' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.4; Windows 10) + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.5; Windows 10) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 27 Dec 2019 14:01:36 GMT + - Mon, 04 May 2020 22:17:56 GMT x-ms-version: - '2018-11-09' method: PUT - uri: https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=9rpSRf%2Bk1HPTEpZblL6eEz2uAAZjm62lIwBPJAarqIw%3D&st=2019-12-27T13%3A56%3A36Z&se=2019-12-27T18%3A01%3A36Z&sp=rw + uri: https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=CkYncMEBfmIkXE2ir0eNps0Pc5nZDXMEoap%2F1dLcR50%3D&st=2020-05-04T22%3A12%3A56Z&se=2020-05-05T02%3A17%3A56Z&sp=rw response: body: string: '' @@ -656,11 +657,11 @@ interactions: content-md5: - JeBon6PeparxrbCKMR+6hw== date: - - Fri, 27 Dec 2019 14:01:38 GMT + - Mon, 04 May 2020 22:17:57 GMT etag: - - '"0x8D78AD54B4366D8"' + - '"0x8D7F079006903AF"' last-modified: - - Fri, 27 Dec 2019 14:01:39 GMT + - Mon, 04 May 2020 22:17:58 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: @@ -688,30 +689,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D78AD54B8B56A3\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=BHBZ6MrFJUvVWQvXZFCba5Zj%2Fqliv%2F1o74XVdUCwZ4E%3D&st=2019-12-27T13%3A56%3A39Z&se=2019-12-27T18%3A01%3A39Z&sp=rw","storageUrlExpiry":"2019-12-27T18:01:39.6868596Z","state":"Active","format":"zip","lastActivationTime":"2019-12-27T14:01:39.5923185Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07900951FB6\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=U%2FF6Mido5p6A066U9G96uaSeYqliFqD9qPOjyFbfcGU%3D&st=2020-05-04T22%3A12%3A58Z&se=2020-05-05T02%3A17%3A58Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:58.7974253Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:17:58.7627821Z"}}' headers: cache-control: - no-cache content-length: - - '746' + - '744' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:39 GMT + - Mon, 04 May 2020 22:17:58 GMT etag: - - W/"0x8D78AD54B8B56A3" + - W/"0x8D7F07900951FB6" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:39 GMT + - Mon, 04 May 2020 22:17:58 GMT pragma: - no-cache server: @@ -725,7 +726,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -743,30 +744,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --package-file User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D78AD54B8B56A3\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=bMewYgId6QPpnjlh1%2Fo7o7khwObzRJElkdlQe500Uj8%3D&st=2019-12-27T13%3A56%3A40Z&se=2019-12-27T18%3A01%3A40Z&sp=rw","storageUrlExpiry":"2019-12-27T18:01:40.0340227Z","state":"Active","format":"zip","lastActivationTime":"2019-12-27T14:01:39.5923185Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07900951FB6\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=iDjcJr2YErP92h6gTUt3urYdlr%2Bal75GmHjt2j%2BRzjM%3D&st=2020-05-04T22%3A12%3A59Z&se=2020-05-05T02%3A17%3A59Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:59.0294786Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:17:58.7627821Z"}}' headers: cache-control: - no-cache content-length: - - '744' + - '746' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:39 GMT + - Mon, 04 May 2020 22:17:58 GMT etag: - - W/"0x8D78AD54B8B56A3" + - W/"0x8D7F07900951FB6" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:39 GMT + - Mon, 04 May 2020 22:17:58 GMT pragma: - no-cache server: @@ -796,30 +797,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --format User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:41 GMT + - Mon, 04 May 2020 22:17:59 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -853,30 +854,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --format User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D78AD54D47D61A\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=JZ0TDHywJBEcNVHHpp8UZnJek2MVPECNd9xoiOMzwHY%3D&st=2019-12-27T13%3A56%3A42Z&se=2019-12-27T18%3A01%3A42Z&sp=rw","storageUrlExpiry":"2019-12-27T18:01:42.6683687Z","state":"Active","format":"zip","lastActivationTime":"2019-12-27T14:01:42.4663623Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07901DFDD49\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=TO7HQ0JUh3OiJbqbM1S%2F2zxBX0%2BKw9Di8uGibLpwOr4%3D&st=2020-05-04T22%3A13%3A00Z&se=2020-05-05T02%3A18%3A00Z&sp=rw","storageUrlExpiry":"2020-05-05T02:18:00.9745257Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:18:00.9303351Z"}}' headers: cache-control: - no-cache content-length: - - '742' + - '746' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:42 GMT + - Mon, 04 May 2020 22:18:00 GMT etag: - - W/"0x8D78AD54D47D61A" + - W/"0x8D7F07901DFDD49" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:42 GMT + - Mon, 04 May 2020 22:18:00 GMT pragma: - no-cache server: @@ -890,7 +891,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -908,30 +909,30 @@ interactions: ParameterSetName: - -g -n --application-name --version User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:43 GMT + - Mon, 04 May 2020 22:18:01 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -961,30 +962,30 @@ interactions: ParameterSetName: - -g -n --application-name --version User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D78AD54D47D61A\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-6aac53233ce241ddbf8cb094dd786353/1.0?sv=2018-03-28&sr=b&sig=5JQ5qOIq%2BnGUBvSF6oqk11yuBjBf0HdMHDVnsPLvMws%3D&st=2019-12-27T13%3A56%3A45Z&se=2019-12-27T18%3A01%3A45Z&sp=rw","storageUrlExpiry":"2019-12-27T18:01:45.3995409Z","state":"Active","format":"zip","lastActivationTime":"2019-12-27T14:01:42.4663623Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07901DFDD49\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=STa9i319PGgWOfWMf2EKhnuVMjFypqGhoaJkdNvBon0%3D&st=2020-05-04T22%3A13%3A03Z&se=2020-05-05T02%3A18%3A03Z&sp=rw","storageUrlExpiry":"2020-05-05T02:18:03.0974187Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:18:00.9303351Z"}}' headers: cache-control: - no-cache content-length: - - '744' + - '742' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:45 GMT + - Mon, 04 May 2020 22:18:02 GMT etag: - - W/"0x8D78AD54D47D61A" + - W/"0x8D7F07901DFDD49" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:42 GMT + - Mon, 04 May 2020 22:18:00 GMT pragma: - no-cache server: @@ -1014,30 +1015,30 @@ interactions: ParameterSetName: - -g -n --application-name --default-version User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:45 GMT + - Mon, 04 May 2020 22:18:03 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -1071,15 +1072,15 @@ interactions: ParameterSetName: - -g -n --application-name --default-version User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D78AD5505B2289\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F07904692162\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1088,13 +1089,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:47 GMT + - Mon, 04 May 2020 22:18:04 GMT etag: - - W/"0x8D78AD5505B2289" + - W/"0x8D7F07904692162" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:47 GMT + - Mon, 04 May 2020 22:18:05 GMT pragma: - no-cache server: @@ -1108,7 +1109,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1199' status: code: 200 message: OK @@ -1126,30 +1127,30 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:48 GMT + - Mon, 04 May 2020 22:18:05 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -1179,15 +1180,15 @@ interactions: ParameterSetName: - -g -n --application-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D78AD5505B2289\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F07904692162\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1196,13 +1197,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:49 GMT + - Mon, 04 May 2020 22:18:06 GMT etag: - - W/"0x8D78AD5505B2289" + - W/"0x8D7F07904692162" expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:47 GMT + - Mon, 04 May 2020 22:18:05 GMT pragma: - no-cache server: @@ -1232,30 +1233,30 @@ interactions: ParameterSetName: - -g -n --application-name --version --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:50 GMT + - Mon, 04 May 2020 22:18:07 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -1287,12 +1288,12 @@ interactions: ParameterSetName: - -g -n --application-name --version --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 response: body: string: '' @@ -1302,7 +1303,7 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:01:52 GMT + - Mon, 04 May 2020 22:18:08 GMT expires: - '-1' pragma: @@ -1314,7 +1315,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK @@ -1332,30 +1333,30 @@ interactions: ParameterSetName: - -g -n --application-name --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:52 GMT + - Mon, 04 May 2020 22:18:09 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -1387,12 +1388,12 @@ interactions: ParameterSetName: - -g -n --application-name --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 response: body: string: '' @@ -1402,7 +1403,7 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:01:53 GMT + - Mon, 04 May 2020 22:18:10 GMT expires: - '-1' pragma: @@ -1414,7 +1415,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14999' status: code: 200 message: OK @@ -1432,30 +1433,30 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2019-12-27T14:01:10.1925711Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2299' + - '2536' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:54 GMT + - Mon, 04 May 2020 22:18:11 GMT etag: - - '"0x8D78AD539FF794F"' + - '"0x8D7F078F179A31E"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:01:10 GMT + - Mon, 04 May 2020 22:17:33 GMT pragma: - no-cache server: @@ -1485,12 +1486,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-03-01 response: body: string: '{"value":[]}' @@ -1502,7 +1503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:01:54 GMT + - Mon, 04 May 2020 22:18:12 GMT expires: - '-1' pragma: @@ -1536,8 +1537,8 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE @@ -1553,7 +1554,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 27 Dec 2019 14:02:00 GMT + - Mon, 04 May 2020 22:18:18 GMT expires: - '-1' pragma: @@ -1565,7 +1566,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK 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 012b49c8d39..cabea030db5 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 @@ -18,11 +18,11 @@ interactions: - -n -g -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.2.0 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 response: body: string: '' @@ -32,11 +32,11 @@ interactions: content-length: - '0' date: - - Fri, 27 Mar 2020 20:32:34 GMT + - Mon, 04 May 2020 22:52:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e2984f14-8f81-4d85-a668-e0e94dca8665?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-03-01 pragma: - no-cache server: @@ -65,27 +65,27 @@ interactions: - -n -g -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.2.0 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/e2984f14-8f81-4d85-a668-e0e94dca8665?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' + 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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2040' + - '2295' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Mar 2020 20:32:50 GMT + - Mon, 04 May 2020 22:53:09 GMT etag: - - '"0x8D7D28E04C7BCD3"' + - '"0x8D7F07DEAC79244"' expires: - '-1' last-modified: - - Fri, 27 Mar 2020 20:32:50 GMT + - Mon, 04 May 2020 22:53:09 GMT pragma: - no-cache server: @@ -118,14 +118,14 @@ interactions: - -n -g --query -o User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.2.0 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 response: body: - string: '{"accountName":"clibatch000002","primary":"+tnTgkzTvZ5n464XDpKVd7xJ/LQF+r5Xr4xfTw3JKzuUJcquC9rFfK5fm+g87zmakPd5AR7AcTveiKbrGWMXAw==","secondary":"UscvwgFWF38c9oJqKrDJqhok5gEBrrRoXEdDBcuhEmBA3wDlCYDIWHOTgnpG7bIiimFYtGkicr6oQAwbyyl98w=="}' + string: '{"accountName":"clibatch000002","primary":"rl3DIP+is6WKYfGaky5uRqsQwlQvELjrmREGiPpIm9HzDkspwnrZZlLD86k5XKCkMeLuNrEvCyrFF9XMNgVuWg==","secondary":"IYF4/zOwNk96wBTy9DtFc5topukN880uAnjS60wvpx/7jBjycUhK8NgyiIB4brD6wsXCjJsgBiob7u+SvLq2ng=="}' headers: cache-control: - no-cache @@ -134,7 +134,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Mar 2020 20:32:51 GMT + - Mon, 04 May 2020 22:53:10 GMT expires: - '-1' pragma: @@ -169,29 +169,29 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.2.0 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' + 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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2040' + - '2295' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Mar 2020 20:32:51 GMT + - Mon, 04 May 2020 22:53:11 GMT etag: - - '"0x8D7D28DFB5E0A60"' + - '"0x8D7F07DE14C18EF"' expires: - '-1' last-modified: - - Fri, 27 Mar 2020 20:32:34 GMT + - Mon, 04 May 2020 22:52:53 GMT pragma: - no-cache server: @@ -227,6 +227,8 @@ interactions: azure-batch/9.0.0 Azure-SDK-For-Python accept-language: - en-US + ocp-date: + - Mon, 04 May 2020 22:53:11 GMT method: POST uri: https://clibatch000002.northcentralus.batch.azure.com/certificates?api-version=2020-03-01.11.0 response: @@ -234,15 +236,15 @@ interactions: string: '' headers: dataserviceid: - - https://clibatchwskv5pscc2cqu455.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) + - https://clibatch76hwjjh5exsmlbgd.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) dataserviceversion: - '3.0' date: - - Fri, 27 Mar 2020 20:32:56 GMT + - Mon, 04 May 2020 22:53:11 GMT location: - https://clibatch000002.northcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271) request-id: - - 0e445cb0-76c5-40aa-b23e-ebad42dfab84 + - 167729b1-4dfb-408f-870a-663d9fc6fe6c server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -268,20 +270,22 @@ interactions: azure-batch/9.0.0 Azure-SDK-For-Python accept-language: - en-US + ocp-date: + - Mon, 04 May 2020 22:53:12 GMT method: GET uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-03-01.11.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\":\"2020-03-27T20:32:56.8207675Z\",\"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\":\"2020-05-04T22:53:12.3784085Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Fri, 27 Mar 2020 20:32:56 GMT + - Mon, 04 May 2020 22:53:11 GMT request-id: - - d81bddea-d76f-4019-8fec-6fe9f6a9f6c8 + - b6e9049a-f4b8-4390-84c4-01ebc214c439 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -307,6 +311,8 @@ interactions: azure-batch/9.0.0 Azure-SDK-For-Python accept-language: - en-US + ocp-date: + - Mon, 04 May 2020 22:53:12 GMT return-client-request-id: - 'false' method: GET @@ -314,7 +320,7 @@ interactions: response: body: string: "{\r\n \"odata.metadata\":\"https://clibatch000002.northcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n - \ {\r\n \"thumbprint\":\"59833fd835f827e9ec693a4c82435a6360cc6271\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)\",\"state\":\"active\",\"stateTransitionTime\":\"2020-03-27T20:32:56.8207675Z\",\"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\":\"2020-05-04T22:53:12.3784085Z\",\"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 +328,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 27 Mar 2020 20:32:56 GMT + - Mon, 04 May 2020 22:53:12 GMT request-id: - - f6f19146-e3a6-41a8-9684-6255c09a5bc1 + - 10e7d181-4a63-4370-83a4-4617b0e3080b server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -352,6 +358,8 @@ interactions: azure-batch/9.0.0 Azure-SDK-For-Python accept-language: - en-US + ocp-date: + - Mon, 04 May 2020 22:53:13 GMT method: DELETE uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-03-01.11.0 response: @@ -361,9 +369,9 @@ interactions: dataserviceversion: - '3.0' date: - - Fri, 27 Mar 2020 20:32:58 GMT + - Mon, 04 May 2020 22:53:12 GMT request-id: - - 0a53bf73-cfa4-431a-820e-a461cfec8a99 + - 68a77e8f-6fe3-43f3-8366-9314fb2ac47e server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -389,22 +397,24 @@ interactions: azure-batch/9.0.0 Azure-SDK-For-Python accept-language: - en-US + ocp-date: + - Mon, 04 May 2020 22:53:13 GMT return-client-request-id: - 'false' method: GET uri: https://clibatch000002.northcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=59833fd835f827e9ec693a4c82435a6360cc6271)?api-version=2020-03-01.11.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\":\"2020-03-27T20:32:58.5772951Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2020-03-27T20:32:56.8207675Z\",\"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\":\"2020-05-04T22:53:13.5034052Z\",\"previousState\":\"active\",\"previousStateTransitionTime\":\"2020-05-04T22:53:12.3784085Z\",\"publicData\":\"MIIDSTCCArKgAwIBAgIQaleE9RaQtoVKrBwEt2q6RzANBgkqhkiG9w0BAQsFADBnMSswKQYDVQQLDCJDcmVhdGVkIGJ5IGh0dHA6Ly93d3cuZmlkZGxlcjIuY29tMRUwEwYDVQQKDAxET19OT1RfVFJVU1QxITAfBgNVBAMMGERPX05PVF9UUlVTVF9GaWRkbGVyUm9vdDAeFw0xNTAxMTAxNDAwNDVaFw0yMTAxMDkxNDAwNDVaMFoxKzApBgNVBAsMIkNyZWF0ZWQgYnkgaHR0cDovL3d3dy5maWRkbGVyMi5jb20xFTATBgNVBAoMDERPX05PVF9UUlVTVDEUMBIGA1UEAwwLKi5hYm91dC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZEWc01Lku+PtDJXq9UMFRTpC9ITo/swlKcEODdOT/M+L7zv6OH8dEa9FOVquKoMjFCe6mv4s8c5/vVpaXseMDrWbU1v4OrZ6u3BtLVpcNg8SOUl5+s3gvWM7KTSjtEc4RQTKd5eZEj1vDKLbdyvbog9yCSoTrIfSpbN6S0G3utVBPD68evt8CQgQHPjy8DzElqemiPXVhKF5iJdaKn8JXSvjrcCiWG8A8y/+mFJHIW1jsbMevHSVat7ZPjyroR5PtImqtpXcgsZMiVuRVT0B/x7t3D3VlHp6Jb99d0rmci6DemF+ZyVtAgg+TBtqZEq24RS/nS+2/uVxTHDU3giApAgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIEsDATBgNVHSUEDDAKBggrBgEFBQcDATAWBgNVHREEDzANggsqLmFib3V0LmNvbTAfBgNVHSMEGDAWgBSEeNrHb5Vx0ZxM797sUj1T7Bx+FTAdBgNVHQ4EFgQUp7MhHnwP4+9nNjGy9cx4PlHH3AQwDQYJKoZIhvcNAQELBQADgYEAEMFcH3KmCNT8r5oRtKL+JiBN/HIRIjzYT1ILlSnn57rDSlx6yQgMxTjLqcpCvt5vR62QhwcdSSkOBTnpbO5qACrC70CBKJ4cPu9pb0Ncs3IO+l1aIGWpxbwESqiKoraAVNkSaJvU8R6sx20n74JHgxZCVZeC8Rg9UHFhfSeAAOo=\"\r\n}" headers: content-type: - application/json;odata=minimalmetadata dataserviceversion: - '3.0' date: - - Fri, 27 Mar 2020 20:32:58 GMT + - Mon, 04 May 2020 22:53:13 GMT request-id: - - b342ba85-f70d-4c5a-983c-252890944539 + - d376d68f-7ba2-43cc-938c-5293f6ada6b1 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml index 30ffa8020dd..13006c80a5d 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "northeurope"}' + body: '{"sku": {"name": "Standard_LRS"}, "kind": "StorageV2", "location": "northeurope"}' headers: Accept: - application/json @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive Content-Length: - - '79' + - '81' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -34,11 +34,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 27 Dec 2019 14:02:17 GMT + - Mon, 04 May 2020 22:14:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/8f3090e2-6930-4bb4-9545-03b81f990b5b?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c3ba7517-3eb7-49bc-ac65-f0009748a4db?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1199' status: code: 202 message: Accepted @@ -66,22 +66,22 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/8f3090e2-6930-4bb4-9545-03b81f990b5b?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c3ba7517-3eb7-49bc-ac65-f0009748a4db?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-12-27T14:02:17.9722580Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-12-27T14:02:17.9722580Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-12-27T14:02:17.9097442Z","primaryEndpoints":{"blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:14:05.6663352Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '1186' + - '1369' content-type: - application/json date: - - Fri, 27 Dec 2019 14:02:35 GMT + - Mon, 04 May 2020 22:14:23 GMT expires: - '-1' pragma: @@ -100,7 +100,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope"}' + body: '{"location": "northeurope", "properties": {"publicNetworkAccess": "Enabled"}}' headers: Accept: - application/json @@ -111,18 +111,18 @@ interactions: Connection: - keep-alive Content-Length: - - '27' + - '77' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: string: '' @@ -132,11 +132,11 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:02:40 GMT + - Mon, 04 May 2020 22:14:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/7ccfe590-5f20-4260-9671-c3b6fb8d6101?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/19a8aa03-2d59-4ac3-b0c9-5e78ef4d1fc8?api-version=2020-03-01 pragma: - no-cache server: @@ -146,7 +146,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 202 message: Accepted @@ -164,28 +164,28 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/7ccfe590-5f20-4260-9671-c3b6fb8d6101?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/19a8aa03-2d59-4ac3-b0c9-5e78ef4d1fc8?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2019' + - '2256' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:02:56 GMT + - Mon, 04 May 2020 22:14:45 GMT etag: - - '"0x8D78AD579487F8F"' + - '"0x8D7F0788D75FE73"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:02:56 GMT + - Mon, 04 May 2020 22:14:45 GMT pragma: - no-cache server: @@ -215,24 +215,24 @@ interactions: ParameterSetName: - -g -n --storage-account User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-storage/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2019-12-27T14:02:17.9722580Z"},"blob":{"enabled":true,"lastEnabledTime":"2019-12-27T14:02:17.9722580Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-12-27T14:02:17.9097442Z","primaryEndpoints":{"blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:14:05.6663352Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '1186' + - '1369' content-type: - application/json date: - - Fri, 27 Dec 2019 14:04:37 GMT + - Mon, 04 May 2020 22:16:25 GMT expires: - '-1' pragma: @@ -268,30 +268,30 @@ interactions: ParameterSetName: - -g -n --storage-account User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-12-27T14:04:39.9046811Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:28.3724396Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2309' + - '2546' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:39 GMT + - Mon, 04 May 2020 22:16:27 GMT etag: - - '"0x8D78AD5B701458F"' + - '"0x8D7F078CAB61359"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:04:39 GMT + - Mon, 04 May 2020 22:16:28 GMT pragma: - no-cache server: @@ -305,7 +305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 200 message: OK @@ -323,30 +323,30 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-12-27T14:04:39.9046811Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:28.3724396Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2309' + - '2546' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:41 GMT + - Mon, 04 May 2020 22:16:28 GMT etag: - - '"0x8D78AD5B6FF009B"' + - '"0x8D7F078CAB39A6C"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:04:39 GMT + - Mon, 04 May 2020 22:16:28 GMT pragma: - no-cache server: @@ -378,12 +378,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/syncAutoStorageKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/syncAutoStorageKeys?api-version=2020-03-01 response: body: string: '' @@ -391,7 +391,7 @@ interactions: cache-control: - no-cache date: - - Fri, 27 Dec 2019 14:04:43 GMT + - Mon, 04 May 2020 22:16:30 GMT expires: - '-1' pragma: @@ -403,7 +403,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 204 message: No Content @@ -423,15 +423,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-03-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"AhjjgXrlWyPX6amHMEIJDmzpmXeLR3Sc0vpad2EBNAkReSzHdqQbY31pKK/5t88Gp5GrU6KAyLwvQ/fIgTrEsA==","secondary":"3AkG4GU6EqhZw2YbDBoKTF6QN3fnESc9F4Q2tBtBghlZN9sJWuyBIyu1oWD9Vav6eFrLB5XVd0zNZbs6ImXIGw=="}' + string: '{"accountName":"clibatchtest1","primary":"CfirLSJv1wpQWbx7RoJd8kaqekOyLqGrdLH+J/48t5BH+Ki+ivMNVu4tWL33mNzC1cWt0yfbyZ7EAn30DPeFsQ==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' headers: cache-control: - no-cache @@ -440,7 +440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:44 GMT + - Mon, 04 May 2020 22:16:31 GMT expires: - '-1' pragma: @@ -456,7 +456,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -478,15 +478,15 @@ interactions: ParameterSetName: - -g -n --key-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/regenerateKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/regenerateKeys?api-version=2020-03-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"h39EE7WOoCwgdtG7jISgt+Oa32DtD7uGcym+6MzvjCh8RYB3ynTCbcdpY7/9la/CZzrxEqk7kHpm5kKchkKI6Q==","secondary":"3AkG4GU6EqhZw2YbDBoKTF6QN3fnESc9F4Q2tBtBghlZN9sJWuyBIyu1oWD9Vav6eFrLB5XVd0zNZbs6ImXIGw=="}' + string: '{"accountName":"clibatchtest1","primary":"c5j55855yPC23t1ABc508B8g7Uz+wRERKMJSGZ/ZSEpiYyAqQLJoqDTxJWrI8XZuvu1+EcQNzgCMGVXdIODKdg==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' headers: cache-control: - no-cache @@ -495,7 +495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:45 GMT + - Mon, 04 May 2020 22:16:32 GMT expires: - '-1' pragma: @@ -511,7 +511,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -529,30 +529,30 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-12-27T14:04:43.7419117Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:30.9474841Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2309' + - '2546' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:47 GMT + - Mon, 04 May 2020 22:16:33 GMT etag: - - '"0x8D78AD5BAB75BE9"' + - '"0x8D7F078CD728B21"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:04:46 GMT + - Mon, 04 May 2020 22:16:32 GMT pragma: - no-cache server: @@ -582,30 +582,30 @@ interactions: ParameterSetName: - -g -n --shared-key-auth User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2019-12-27T14:04:43.7419117Z"},"poolAllocationMode":"BatchService"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:30.9474841Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2309' + - '2546' content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:48 GMT + - Mon, 04 May 2020 22:16:34 GMT etag: - - '"0x8D78AD5BAB75BE9"' + - '"0x8D7F078CD728B21"' expires: - '-1' last-modified: - - Fri, 27 Dec 2019 14:04:46 GMT + - Mon, 04 May 2020 22:16:32 GMT pragma: - no-cache server: @@ -637,15 +637,15 @@ interactions: ParameterSetName: - -g -n --shared-key-auth User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-03-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"h39EE7WOoCwgdtG7jISgt+Oa32DtD7uGcym+6MzvjCh8RYB3ynTCbcdpY7/9la/CZzrxEqk7kHpm5kKchkKI6Q==","secondary":"3AkG4GU6EqhZw2YbDBoKTF6QN3fnESc9F4Q2tBtBghlZN9sJWuyBIyu1oWD9Vav6eFrLB5XVd0zNZbs6ImXIGw=="}' + string: '{"accountName":"clibatchtest1","primary":"c5j55855yPC23t1ABc508B8g7Uz+wRERKMJSGZ/ZSEpiYyAqQLJoqDTxJWrI8XZuvu1+EcQNzgCMGVXdIODKdg==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' headers: cache-control: - no-cache @@ -654,7 +654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:04:48 GMT + - Mon, 04 May 2020 22:16:35 GMT expires: - '-1' pragma: @@ -670,7 +670,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -690,12 +690,12 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 response: body: string: '' @@ -705,11 +705,11 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:04:51 GMT + - Mon, 04 May 2020 22:16:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-858c29c0-b8b4-45c7-8e43-8efe153b824b?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-51b07fd6-f7e7-4761-b7a6-c7b0c19fc40d?api-version=2020-03-01 pragma: - no-cache server: @@ -719,7 +719,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -737,10 +737,10 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-858c29c0-b8b4-45c7-8e43-8efe153b824b?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-51b07fd6-f7e7-4761-b7a6-c7b0c19fc40d?api-version=2020-03-01 response: body: string: '' @@ -750,7 +750,7 @@ interactions: content-length: - '0' date: - - Fri, 27 Dec 2019 14:05:08 GMT + - Mon, 04 May 2020 22:16:52 GMT expires: - '-1' pragma: @@ -778,12 +778,12 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2020-03-01 response: body: string: '{"value":[]}' @@ -795,7 +795,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:05:09 GMT + - Mon, 04 May 2020 22:16:53 GMT expires: - '-1' pragma: @@ -827,12 +827,12 @@ interactions: ParameterSetName: - -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2020-03-01 response: body: string: '{"accountQuota":3}' @@ -844,7 +844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 27 Dec 2019 14:05:10 GMT + - Mon, 04 May 2020 22:16:54 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml index 35340b25d6f..558a359c335 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 @@ -20,7 +20,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' @@ -71,7 +71,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' 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 f1590992cfe..d272fbf6c73 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 @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 response: body: string: '' @@ -36,7 +36,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-03-01 pragma: - no-cache server: @@ -67,7 +67,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' @@ -122,7 +122,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 response: body: string: '{"accountName":"clibatch000002","primary":"4qNlZe1o8euBO9U4rmns7MJcafiVKpPSjgmPLkuQQLl8y0gu0GOTLBr4+iJ3S9Dre4yUrOWnwU5OPh9ECpgFgQ==","secondary":"QIMpI5j7tHz4EB56jRw6pBwWw3SU6xVEgsMDrKt2CkRmGCz0q0sDADIe6tfJMZpyDsqvpkUAx4uCxitYaNwmaQ=="}' @@ -173,7 +173,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml new file mode 100644 index 00000000000..5385452a114 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml @@ -0,0 +1,361 @@ +interactions: +- request: + body: '{"location": "westeurope", "properties": {"publicNetworkAccess": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + Content-Length: + - '76' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 04 May 2020 22:18:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/operationResults/11cd88c1-3755-40d8-a0c3-86dc73003def?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/operationResults/11cd88c1-3755-40d8-a0c3-86dc73003def?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2254' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:46 GMT + etag: + - '"0x8D7F0791D9A8B87"' + expires: + - '-1' + last-modified: + - Mon, 04 May 2020 22:18:47 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account keys list + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g --query -o + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/listKeys?api-version=2020-03-01 + response: + body: + string: '{"accountName":"clibatchtest9","primary":"ZO029WUJxY0gVtTwmQOousT0n0pBrkHCqeZFr0jMJ3aa2s49W+KWFOiCHcStfZOsQt8lKviXZF+XM7CXg4aJUA==","secondary":"vPz8pGbbFWw7Rk2Ii0Tb5HDyBYGEDbnKHDxlk1f6MjTQFbHp//qHHQeToi6glmDJG8ptziC2n8QbUdoI4YOGtg=="}' + headers: + cache-control: + - no-cache + content-length: + - '235' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2254' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:49 GMT + etag: + - '"0x8D7F07913E72AD2"' + expires: + - '-1' + last-modified: + - Mon, 04 May 2020 22:18:31 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account login + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2254' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:50 GMT + etag: + - '"0x8D7F07913E72AD2"' + expires: + - '-1' + last-modified: + - Mon, 04 May 2020 22:18:31 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch private-link-resource list + Connection: + - keep-alive + ParameterSetName: + - -g --account-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/privateLinkResources?api-version=2020-03-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - -g --account-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/privateEndpointConnections?api-version=2020-03-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 04 May 2020 22:18:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 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 006e056c75c..18ed2c6bfcd 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 @@ -18,7 +18,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' @@ -73,7 +73,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' 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 88f1995a0d5..bba09e7ca6e 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 @@ -20,7 +20,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' @@ -71,7 +71,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' 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 3d2c1613ab3..0ffdc1b143a 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 @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 response: body: string: '' @@ -36,7 +36,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2019-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-03-01 pragma: - no-cache server: @@ -67,7 +67,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' @@ -122,7 +122,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 response: body: string: '{"accountName":"clibatch000002","primary":"jIM7sad4pUGnt5//OE6nUmmBDP04uInp+Jzt39r0W+ZQJTaFbvhIsvuZOBm8esxCK66OkdhqO28k48fbL4zEgg==","secondary":"0jeB9Pdf+H9tiD3tJDGpKMZPHetfv2Hwj3ph4fHyiVfJVqiLxWkt/Y2neFIV/7Fk4LtMXXChHnvKqMlRA/Uvyw=="}' @@ -173,7 +173,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2019-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' 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 dcd6f6e96e2..b6a892ff00f 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 @@ -569,6 +569,7 @@ def test_batch_load_arguments(self): self.assertTrue('certificate_references' in [a for a, _ in args]) self.assertTrue('metadata' in [a for a, _ in args]) handler = operations._job_operations.JobOperations.add + handler = operations._job_operations.JobOperations.add args = list(self.command_job._load_transformed_arguments(handler)) self.assertEqual(len(args), 16) self.assertFalse('yes' in [a for a, _ in args]) diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index 6c008e549ae..8933792af27 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -19,10 +19,10 @@ def register_providers(): _register_one_provider('Microsoft.DBforMySQL/servers', '2018-06-01', False, '2017-12-01-preview') _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') + _register_one_provider('Microsoft.Batch/batchAccounts', '2020-03-01', True) _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') _register_one_provider('Microsoft.Devices/IotHubs', '2020-03-01', True) - def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None): """ :param provider: namespace + type. diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index b01e870f5e4..ccd35f9003a 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==7.0.0 +azure-mgmt-batch==8.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index a5c5bf762b8..bdd687dd87e 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==7.0.0 +azure-mgmt-batch==8.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 43388f74ac3..78e7d48fa4d 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -20,7 +20,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==7.0.0 +azure-mgmt-batch==8.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 8a6786a7a2b..fe26987e12f 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -65,7 +65,7 @@ 'azure-mgmt-applicationinsights~=0.1.1', 'azure-mgmt-appconfiguration~=0.4.0', 'azure-mgmt-authorization~=0.52.0', - 'azure-mgmt-batch~=7.0', + 'azure-mgmt-batch~=8.0', 'azure-mgmt-batchai~=2.0', 'azure-mgmt-billing~=0.2', 'azure-mgmt-botservice~=0.2.0', From 762c3e78ec86a08fee1310ca07b21c6552254813 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 12 May 2020 14:19:40 -0700 Subject: [PATCH 03/13] Fix rebase errors --- doc/extensions/README.md | 2 ++ .../azure/cli/command_modules/batch/_client_factory.py | 8 -------- .../batch/tests/latest/test_batch_commands.py | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/extensions/README.md b/doc/extensions/README.md index 46dd325ddbf..2b6d1a01aef 100644 --- a/doc/extensions/README.md +++ b/doc/extensions/README.md @@ -12,6 +12,8 @@ What is an Extension? - Currently, we support one extension type, a [Python Wheel](http://pythonwheels.com/). - All extension documentation here refers to this type of extension. +> Extensions should be built with wheel `0.29.0` or `0.30.0` until [#6441](https://github.com/Azure/azure-cli/issues/6441) is resolved + What an Extension is not ------------------------ diff --git a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py index 5778fbffb38..b2ed633adca 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_client_factory.py @@ -22,14 +22,6 @@ def mgmt_location_client_factory(cli_ctx, _): return batch_client_factory(cli_ctx).location -def mgmt_private_link_resource_client_factory(cli_ctx, _): - return batch_client_factory(cli_ctx).private_link_resource - - -def mgmt_private_endpoint_connection_client_factory(cli_ctx, _): - return batch_client_factory(cli_ctx).private_endpoint_connection - - def application_client_factory(cli_ctx, kwargs): return batch_data_service_factory(cli_ctx, kwargs).application 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 b6a892ff00f..dcd6f6e96e2 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 @@ -569,7 +569,6 @@ def test_batch_load_arguments(self): self.assertTrue('certificate_references' in [a for a, _ in args]) self.assertTrue('metadata' in [a for a, _ in args]) handler = operations._job_operations.JobOperations.add - handler = operations._job_operations.JobOperations.add args = list(self.command_job._load_transformed_arguments(handler)) self.assertEqual(len(args), 16) self.assertFalse('yes' in [a for a, _ in args]) From accff464f1aec62cf9dfd8b4c2dace7bf142f2e4 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 12 May 2020 20:03:58 -0700 Subject: [PATCH 04/13] Add very basic tests --- .../custom.py | 1 + ...ate_endpoint_connection_batch_account.yaml | 150 ++++++++++++++++++ ...t_private_link_resource_batch_account.yaml | 150 ++++++++++++++++++ .../latest/test_private_endpoint_commands.py | 20 +++ 4 files changed, 321 insertions(+) create mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index 8933792af27..cb448c19091 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -23,6 +23,7 @@ def register_providers(): _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') _register_one_provider('Microsoft.Devices/IotHubs', '2020-03-01', True) + def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None): """ :param provider: namespace + type. diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml new file mode 100644 index 00000000000..50a765cc7c1 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml @@ -0,0 +1,150 @@ +interactions: +- request: + body: '{"location": "southcentralus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + Content-Length: + - '30' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 13 May 2020 02:58:12 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/80719a3c-7f85-4c00-a7a5-4239bdf3d86a?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/80719a3c-7f85-4c00-a7a5-4239bdf3d86a?api-version=2020-03-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":"southcentralus","properties":{"accountEndpoint":"clibatch000002.southcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2313' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2020 02:58:27 GMT + etag: + - '"0x8D7F6E982FF867C"' + expires: + - '-1' + last-modified: + - Wed, 13 May 2020 02:58:28 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - --name -g --type + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/privateEndpointConnections?api-version=2020-03-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2020 02:58:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml new file mode 100644 index 00000000000..ea2cfb296fc --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -0,0 +1,150 @@ +interactions: +- request: + body: '{"location": "northcentralus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + Content-Length: + - '30' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 13 May 2020 02:58:33 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/274ecc5b-6f51-4598-82b3-c5fd57239bf6?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/274ecc5b-6f51-4598-82b3-c5fd57239bf6?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2295' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2020 02:58:49 GMT + etag: + - '"0x8D7F6E98FE66DA5"' + expires: + - '-1' + last-modified: + - Wed, 13 May 2020 02:58:49 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-link-resource list + Connection: + - keep-alive + ParameterSetName: + - --name -g --type + User-Agent: + - AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/privateLinkResources?api-version=2020-03-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 13 May 2020 02:58:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index 7d4e69a6569..9789bf3f2f5 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -12,6 +12,7 @@ from azure.cli.command_modules.keyvault.tests.latest.test_keyvault_commands import _create_keyvault from azure.cli.command_modules.rdbms.tests.latest.test_rdbms_commands import ServerPreparer +from azure.cli.command_modules.batch.tests.latest.batch_preparers import BatchAccountPreparer, BatchScenarioMixin class NetworkPrivateLinkKeyVaultScenarioTest(ScenarioTest): @@ -597,6 +598,25 @@ def _test_private_endpoint_connection(self, resource_group, server, database_eng .format(server_pec_id)) +class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest, BatchScenarioMixin): + # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited + @ResourceGroupPreparer() + @BatchAccountPreparer(location='northcentralus') + def test_private_link_resource_batch_account(self, resource_group, batch_account_name): + self.kwargs.update({ + 'ba': batch_account_name, + 'rg': resource_group}) + self.cmd('network private-link-resource list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') + + @ResourceGroupPreparer() + @BatchAccountPreparer(location='southcentralus') + def test_private_endpoint_connection_batch_account(self, resource_group, batch_account_name): + self.kwargs.update({ + 'ba': batch_account_name, + 'rg': resource_group}) + self.cmd('network private-endpoint-connection list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') + + class NetworkPrivateLinkCosmosDBScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_plr') def test_private_link_resource_cosmosdb(self, resource_group): From 0c4440e8b2106fea52ba064d718681ab8378a552 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Wed, 13 May 2020 11:00:59 -0700 Subject: [PATCH 05/13] Address Myrons comments --- .../cli/command_modules/batch/_params.py | 6 +- .../azure/cli/command_modules/batch/custom.py | 6 - .../custom.py.orig | 90 +++ .../test_private_endpoint_commands.py.orig | 699 ++++++++++++++++++ 4 files changed, 792 insertions(+), 9 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig create mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig 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 d9bfe271a52..e1362db5a4e 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -7,7 +7,7 @@ from knack.arguments import CLIArgumentType -from azure.mgmt.batch.models import AccountKeyType +from azure.mgmt.batch.models import AccountKeyType, KeySource, PublicNetworkAccessType from azure.batch.models import ComputeNodeDeallocationOption from azure.cli.core.commands.parameters import \ @@ -51,8 +51,8 @@ def load_arguments(self, _): c.argument('tags', tags_type, help="Space-separated tags in 'key[=value]' format.") c.argument('storage_account', help='The storage account name or resource ID to be used for auto storage.', validator=storage_account_id) c.argument('keyvault', help='The KeyVault name or resource ID to be used for an account with a pool allocation mode of \'User Subscription\'.', validator=keyvault_id) - c.argument('public_network_access', help="The network access type for accessing Azure Batch account. Values can either be enabled or disabled.") - c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault') + c.argument('public_network_access', help="The network access type for accessing Azure Batch account. Values can either be enabled or disabled.", arg_type=get_enum_type(PublicNetworkAccessType)) + c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault', arg_type=get_enum_type(KeySource)) c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. ' 'Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') c.ignore('keyvault_url') 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 dff64db158a..30f5ff7b53d 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -78,12 +78,6 @@ def create_account(client, encryption_key_source=None, encryption_key_identifier=None): properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None - if public_network_access and public_network_access != "Enabled" and public_network_access != "Disabled": - raise ValueError("The --public-network-access must be either Enabled or Disabled") - if (encryption_key_source and - encryption_key_source != "Microsoft.Batch" and - encryption_key_source != "Microsoft.KeyVault"): - raise ValueError("The --encryption-key-source must be either Microsoft.Batch or Microsoft.KeyVault") if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: raise ValueError("The --encryption-key-identifier property is required when " "--encryption-key-source is set to Microsoft.KeyVault") diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig new file mode 100644 index 00000000000..dcf0cdc8c03 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig @@ -0,0 +1,90 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from .resource_providers import GeneralPrivateEndpointClient +from knack.util import CLIError + +TYPE_CLIENT_MAPPING = { + # 'Microsoft.Keyvault/vaults': KeyVaultPrivateEndpointClient # vaults +} + + +def register_providers(): + _register_one_provider('Microsoft.Storage/storageAccounts', '2019-06-01', False) + _register_one_provider('Microsoft.Keyvault/vaults', '2019-09-01', False) + _register_one_provider('Microsoft.ContainerRegistry/registries', '2019-12-01-preview', True) + _register_one_provider('microsoft.insights/privateLinkScopes', '2019-10-17-preview', True) + _register_one_provider('Microsoft.DBforMySQL/servers', '2018-06-01', False, '2017-12-01-preview') + _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) + _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') +<<<<<<< HEAD + _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') + +======= + _register_one_provider('Microsoft.Batch/batchAccounts', '2020-03-01', True) +>>>>>>> squash + +def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None): + """ + :param provider: namespace + type. + :param api_version: API version for private link scenarios. + :param support_list_or_not: support list rest call or not. + :param resource_get_api_version: API version to get the service resource. + """ + general_client_settings = { + "api_version": api_version, + "support_list_or_not": support_list_or_not, + "resource_get_api_version": resource_get_api_version + } + + TYPE_CLIENT_MAPPING[provider] = general_client_settings + + +def _get_client(rp_mapping, resource_provider): + for key, value in rp_mapping.items(): + if str.lower(key) == str.lower(resource_provider): + if isinstance(value, dict): + return GeneralPrivateEndpointClient(key, + value['api_version'], + value['support_list_or_not'], + value['resource_get_api_version']) + return value() + raise CLIError("Resource type must be one of {}".format(", ".join(rp_mapping.keys()))) + + +def list_private_link_resource(cmd, resource_group_name, name, resource_provider): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.list_private_link_resource(cmd, resource_group_name, name) + + +def approve_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, + name, approval_description=None): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.approve_private_endpoint_connection(cmd, resource_group_name, + resource_name, name, + approval_description) + + +def reject_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, + name, rejection_description=None): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.reject_private_endpoint_connection(cmd, resource_group_name, + resource_name, name, + rejection_description) + + +def remove_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, name): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.remove_private_endpoint_connection(cmd, resource_group_name, resource_name, name) + + +def show_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, name): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.show_private_endpoint_connection(cmd, resource_group_name, resource_name, name) + + +def list_private_endpoint_connection(cmd, resource_group_name, name, resource_provider): + client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) + return client.list_private_endpoint_connection(cmd, resource_group_name, name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig new file mode 100644 index 00000000000..c2a5e1d61cd --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig @@ -0,0 +1,699 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import unittest +import time + +from azure.cli.testsdk import ( + ScenarioTest, ResourceGroupPreparer, StorageAccountPreparer) +from azure.cli.core.util import parse_proxy_resource_id, CLIError + +from azure.cli.command_modules.keyvault.tests.latest.test_keyvault_commands import _create_keyvault +from azure.cli.command_modules.rdbms.tests.latest.test_rdbms_commands import ServerPreparer +from azure.cli.command_modules.batch.tests.latest.batch_preparers import BatchAccountPreparer, BatchScenarioMixin + + +class NetworkPrivateLinkKeyVaultScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_keyvault_plr') + def test_private_link_resource_keyvault(self, resource_group): + self.kwargs.update({ + 'kv': self.create_random_name('cli-test-kv-plr-', 24), + 'loc': 'centraluseuap', + 'rg': resource_group + }) + + _create_keyvault(self, self.kwargs, additional_args='--enable-soft-delete') + self.cmd('network private-link-resource list ' + '--name {kv} ' + '-g {rg} ' + '--type microsoft.keyvault/vaults', + checks=self.check('@[0].properties.groupId', 'vault')) + + @ResourceGroupPreparer(name_prefix='cli_test_keyvault_pe') + def test_private_endpoint_connection_keyvault(self, resource_group): + self.kwargs.update({ + 'kv': self.create_random_name('cli-test-kv-pe-', 24), + 'loc': 'centraluseuap', + 'vnet': self.create_random_name('cli-vnet-', 24), + 'subnet': self.create_random_name('cli-subnet-', 24), + 'pe': self.create_random_name('cli-pe-', 24), + 'pe_connection': self.create_random_name('cli-pec-', 24), + 'rg': resource_group + }) + + # Prepare vault and network + keyvault = _create_keyvault(self, self.kwargs, additional_args='--enable-soft-delete').get_output_in_json() + self.kwargs['kv_id'] = keyvault['id'] + self.cmd('network vnet create ' + '-n {vnet} ' + '-g {rg} ' + '-l {loc} ' + '--subnet-name {subnet}', + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update ' + '-n {subnet} ' + '--vnet-name {vnet} ' + '-g {rg} ' + '--disable-private-endpoint-network-policies true', + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pe = self.cmd('network private-endpoint create ' + '-g {rg} ' + '-n {pe} ' + '--vnet-name {vnet} ' + '--subnet {subnet} ' + '-l {loc} ' + '--connection-name {pe_connection} ' + '--private-connection-resource-id {kv_id} ' + '--group-ids vault').get_output_in_json() + self.kwargs['pe_id'] = pe['id'] + + # Show the connection at vault side + keyvault = self.cmd('keyvault show -n {kv}', + checks=self.check('length(properties.privateEndpointConnections)', 1)).get_output_in_json() + self.kwargs['kv_pe_id'] = keyvault['properties']['privateEndpointConnections'][0]['id'] + print(self.kwargs['kv_pe_id']) + self.cmd('network private-endpoint-connection show ' + '--id {kv_pe_id}', + checks=self.check('id', '{kv_pe_id}')) + self.kwargs['kv_pe_name'] = self.kwargs['kv_pe_id'].split('/')[-1] + self.cmd('network private-endpoint-connection show ' + '--resource-name {kv} ' + '-g {rg} ' + '--name {kv_pe_name} ' + '--type microsoft.keyvault/vaults', + checks=self.check('name', '{kv_pe_name}')) + self.cmd('network private-endpoint-connection show ' + '--resource-name {kv} ' + '-g {rg} ' + '-n {kv_pe_name} ' + '--type microsoft.keyvault/vaults', + checks=self.check('name', '{kv_pe_name}')) + + # Try running `set-policy` on the linked vault + self.kwargs['policy_id'] = keyvault['properties']['accessPolicies'][0]['objectId'] + self.cmd('keyvault set-policy ' + '-g {rg} ' + '-n {kv} ' + '--object-id {policy_id} ' + '--certificate-permissions get list', + checks=self.check('length(properties.accessPolicies[0].permissions.certificates)', 2)) + + # Test approval/rejection + self.kwargs.update({ + 'approval_desc': 'You are approved!', + 'rejection_desc': 'You are rejected!' + }) + self.cmd('network private-endpoint-connection reject ' + '--id {kv_pe_id} ' + '--description "{rejection_desc}"', + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), + self.check('properties.privateLinkServiceConnectionState.description', '{rejection_desc}'), + self.check('properties.provisioningState', 'Succeeded') + ]) + + self.cmd('network private-endpoint-connection show --id {kv_pe_id}', + checks=self.check('properties.provisioningState', 'Succeeded')) + + self.cmd('network private-endpoint-connection approve ' + '--resource-name {kv} ' + '--name {kv_pe_name} ' + '-g {rg} ' + '--type microsoft.keyvault/vaults ' + '--description "{approval_desc}"', + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', '{approval_desc}'), + self.check('properties.provisioningState', 'Succeeded') + ]) + + self.cmd('network private-endpoint-connection show --id {kv_pe_id}', + checks=self.check('properties.provisioningState', 'Succeeded')) + + self.cmd('network private-endpoint-connection list --id {kv_id}', + checks=self.check('length(@)', 1)) + + self.cmd('network private-endpoint-connection delete --id {kv_pe_id} -y') + + +class NetworkPrivateLinkStorageAccountScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_sa_plr') + @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2', sku='Standard_LRS') + def test_private_link_resource_storage_account(self, storage_account): + self.kwargs.update({ + 'sa': storage_account + }) + self.cmd('network private-link-resource list --name {sa} -g {rg} --type Microsoft.Storage/storageAccounts', checks=[ + self.check('length(@)', 6)]) + + @ResourceGroupPreparer(name_prefix='cli_test_sa_pe') + @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2') + def test_private_endpoint_connection_storage_account(self, storage_account): + from msrestazure.azure_exceptions import CloudError + self.kwargs.update({ + 'sa': storage_account, + 'loc': 'eastus', + 'vnet': self.create_random_name('cli-vnet-', 24), + 'subnet': self.create_random_name('cli-subnet-', 24), + 'pe': self.create_random_name('cli-pe-', 24), + 'pe_connection': self.create_random_name('cli-pec-', 24), + }) + + # Prepare network + self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' + '--disable-private-endpoint-network-policies true', + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pr = self.cmd('storage account private-link-resource list --account-name {sa} -g {rg}').get_output_in_json() + self.kwargs['group_id'] = pr[0]['groupId'] + + storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() + self.kwargs['sa_id'] = storage['id'] + private_endpoint = self.cmd( + 'network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' + '--connection-name {pe_connection} --private-connection-resource-id {sa_id} ' + '--group-ids blob').get_output_in_json() + self.assertEqual(private_endpoint['name'], self.kwargs['pe']) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], self.kwargs['pe_connection']) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], self.kwargs['group_id']) + self.kwargs['pe_id'] = private_endpoint['privateLinkServiceConnections'][0]['id'] + + # Show the connection at storage account + storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() + self.assertIn('privateEndpointConnections', storage) + self.assertEqual(len(storage['privateEndpointConnections']), 1) + self.assertEqual(storage['privateEndpointConnections'][0]['privateLinkServiceConnectionState']['status'], + 'Approved') + + self.kwargs['sa_pec_id'] = storage['privateEndpointConnections'][0]['id'] + self.kwargs['sa_pec_name'] = storage['privateEndpointConnections'][0]['name'] + + self.cmd('network private-endpoint-connection show --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', + checks=self.check('id', '{sa_pec_id}')) + + self.cmd('network private-endpoint-connection approve --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Approved')]) + + self.cmd('network private-endpoint-connection reject --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')]) + + self.cmd('network private-endpoint-connection list --id {sa_pec_id}', + checks=self.check('length(@)', 1)) + + self.cmd('network private-endpoint-connection delete --id {sa_pec_id} -y') + + +class NetworkPrivateLinkACRScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_sa_plr') + def test_private_link_resource_acr(self): + self.kwargs.update({ + 'registry_name': self.create_random_name('testreg', 20) + }) + result = self.cmd('acr create --name {registry_name} --resource-group {rg} --sku premium').get_output_in_json() + self.kwargs['registry_id'] = result['id'] + self.cmd('network private-link-resource list --id {registry_id}', checks=[ + self.check('length(@)', 1)]) + + @ResourceGroupPreparer(location='centraluseuap') + def test_private_endpoint_connection_acr(self, resource_group): + self.kwargs.update({ + 'registry_name': self.create_random_name('testreg', 20), + 'vnet_name': self.create_random_name('testvnet', 20), + 'subnet_name': self.create_random_name('testsubnet', 20), + 'endpoint_name': self.create_random_name('priv_endpoint', 25), + 'endpoint_conn_name': self.create_random_name('priv_endpointconn', 25), + 'second_endpoint_name': self.create_random_name('priv_endpoint', 25), + 'second_endpoint_conn_name': self.create_random_name('priv_endpointconn', 25), + 'description_msg': 'somedescription' + }) + + # create subnet with disabled endpoint network policies + self.cmd('network vnet create -g {rg} -n {vnet_name} --subnet-name {subnet_name}') + self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet_name} --name {subnet_name} --disable-private-endpoint-network-policies true') + + result = self.cmd('acr create --name {registry_name} --resource-group {rg} --sku premium').get_output_in_json() + self.kwargs['registry_id'] = result['id'] + + # add an endpoint and approve it + result = self.cmd( + 'network private-endpoint create -n {endpoint_name} -g {rg} --subnet {subnet_name} --vnet-name {vnet_name} ' + '--private-connection-resource-id {registry_id} --group-ids registry --connection-name {endpoint_conn_name} --manual-request').get_output_in_json() + self.assertTrue(self.kwargs['endpoint_name'].lower() in result['name'].lower()) + + result = self.cmd( + 'network private-endpoint-connection list -g {rg} --name {registry_name} --type Microsoft.ContainerRegistry/registries').get_output_in_json() + self.kwargs['endpoint_request'] = result[0]['name'] + + self.cmd( + 'network private-endpoint-connection approve -g {rg} --resource-name {registry_name} -n {endpoint_request} --description {description_msg} --type Microsoft.ContainerRegistry/registries', + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}') + ]) + + # add an endpoint and then reject it + self.cmd( + 'network private-endpoint create -n {second_endpoint_name} -g {rg} --subnet {subnet_name} --vnet-name {vnet_name} --private-connection-resource-id {registry_id} --group-ids registry --connection-name {second_endpoint_conn_name} --manual-request') + result = self.cmd('network private-endpoint-connection list -g {rg} --name {registry_name} --type Microsoft.ContainerRegistry/registries').get_output_in_json() + + # the connection request name starts with the registry / resource name + self.kwargs['second_endpoint_request'] = [conn['name'] for conn in result if + self.kwargs['second_endpoint_name'].lower() in + conn['properties']['privateEndpoint']['id'].lower()][0] + + self.cmd( + 'network private-endpoint-connection reject -g {rg} --resource-name {registry_name} -n {second_endpoint_request} --description {description_msg} --type Microsoft.ContainerRegistry/registries', + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), + self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}') + ]) + + # list endpoints + self.cmd('network private-endpoint-connection list -g {rg} -n {registry_name} --type Microsoft.ContainerRegistry/registries', checks=[ + self.check('length(@)', '2'), + ]) + + # remove endpoints + self.cmd( + 'network private-endpoint-connection delete -g {rg} --resource-name {registry_name} -n {second_endpoint_request} --type Microsoft.ContainerRegistry/registries -y') + time.sleep(30) + self.cmd('network private-endpoint-connection list -g {rg} -n {registry_name} --type Microsoft.ContainerRegistry/registries', checks=[ + self.check('length(@)', '1'), + ]) + self.cmd('network private-endpoint-connection show -g {rg} --resource-name {registry_name} -n {endpoint_request} --type Microsoft.ContainerRegistry/registries', checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}'), + self.check('name', '{endpoint_request}') + ]) + + self.cmd('network private-endpoint-connection delete -g {rg} --resource-name {registry_name} -n {endpoint_request} --type Microsoft.ContainerRegistry/registries -y') + + +class NetworkPrivateLinkPrivateLinkScopeScenarioTest(ScenarioTest): + @ResourceGroupPreparer(location='eastus2euap') + def test_private_endpoint_connection_private_link_scope(self, resource_group, resource_group_location): + self.kwargs.update({ + 'rg': resource_group, + 'scope': 'clitestscopename', + 'assigned_app': 'assigned_app', + 'assigned_ws': 'assigned_ws', + 'workspace': self.create_random_name('clitest', 20), + 'app': self.create_random_name('clitest', 20), + 'vnet': self.create_random_name('cli-vnet-', 24), + 'subnet': self.create_random_name('cli-subnet-', 24), + 'pe': self.create_random_name('cli-pe-', 24), + 'pe_connection': self.create_random_name('cli-pec-', 24), + 'loc': resource_group_location + }) + + self.cmd('monitor private-link-scope create -n {scope} -g {rg}', checks=[ + self.check('name', '{scope}') + ]) + + self.cmd('monitor private-link-scope update -n {scope} -g {rg} --tags tag1=d1', checks=[ + self.check('tags.tag1', 'd1') + ]) + + self.cmd('monitor private-link-scope show -n {scope} -g {rg}', checks=[ + self.check('tags.tag1', 'd1') + ]) + self.cmd('monitor private-link-scope list -g {rg}', checks=[ + self.check('length(@)', 1) + ]) + self.cmd('monitor private-link-scope list') + + workspace_id = self.cmd('monitor log-analytics workspace create -n {workspace} -g {rg} -l {loc}').get_output_in_json()['id'] + self.kwargs.update({ + 'workspace_id': workspace_id + }) + + self.cmd('monitor private-link-scope scoped-resource create -g {rg} -n {assigned_ws} --linked-resource {workspace_id} --scope-name {scope}', checks=[ + self.check('name', '{assigned_ws}') + ]) + + self.cmd('monitor private-link-scope scoped-resource list -g {rg} --scope-name {scope}', checks=[ + self.check('length(@)', 1) + ]) + + self.cmd('network private-link-resource list --name {scope} -g {rg} --type microsoft.insights/privateLinkScopes', checks=[ + self.check('length(@)', 1) + ]) + + # Prepare network + self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' + '--disable-private-endpoint-network-policies true', + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pr = self.cmd('monitor private-link-scope private-link-resource list --scope-name {scope} -g {rg}').get_output_in_json() + self.kwargs['group_id'] = pr[0]['groupId'] + + private_link_scope = self.cmd('monitor private-link-scope show -n {scope} -g {rg}').get_output_in_json() + self.kwargs['scope_id'] = private_link_scope['id'] + private_endpoint = self.cmd( + 'network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' + '--connection-name {pe_connection} --private-connection-resource-id {scope_id} ' + '--group-ids {group_id}').get_output_in_json() + self.assertEqual(private_endpoint['name'], self.kwargs['pe']) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], self.kwargs['pe_connection']) + self.assertEqual( + private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], + 'Approved') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], self.kwargs['group_id']) + self.kwargs['pe_id'] = private_endpoint['privateLinkServiceConnections'][0]['id'] + + # Show the connection at monitor private-link-scope + + private_endpoint_connections = self.cmd('monitor private-link-scope show --name {scope} -g {rg}').get_output_in_json()['privateEndpointConnections'] + self.assertEqual(len(private_endpoint_connections), 1) + self.assertEqual(private_endpoint_connections[0]['privateLinkServiceConnectionState']['status'], 'Approved') + + self.kwargs['scope_pec_id'] = private_endpoint_connections[0]['id'] + self.kwargs['scope_pec_name'] = private_endpoint_connections[0]['name'] + + self.cmd('network private-endpoint-connection show --resource-name {scope} -g {rg} --name {scope_pec_name} --type microsoft.insights/privateLinkScopes', + checks=self.check('id', '{scope_pec_id}')) + + self.cmd('network private-endpoint-connection reject --resource-name {scope} -g {rg} --name {scope_pec_name} --type microsoft.insights/privateLinkScopes', + checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')]) + + self.cmd('network private-endpoint-connection list --name {scope} -g {rg} --type microsoft.insights/privateLinkScopes', + checks=[self.check('length(@)', 1)]) + + self.cmd('network private-endpoint-connection delete --id {scope_pec_id} -y') + self.cmd('monitor private-link-scope show --name {scope} -g {rg}', checks=[ + self.check('privateEndpointConnections', None) + ]) + self.cmd('monitor private-link-scope scoped-resource delete -g {rg} -n {assigned_app} --scope-name {scope} -y') + self.cmd('monitor private-link-scope scoped-resource list -g {rg} --scope-name {scope}', checks=[ + self.check('length(@)', 1) + ]) + self.cmd('monitor private-link-scope delete -n {scope} -g {rg} -y') + with self.assertRaisesRegexp(SystemExit, '3'): + self.cmd('monitor private-link-scope show -n {scope} -g {rg}') + + +class NetworkPrivateLinkRDBMSScenarioTest(ScenarioTest): + @ResourceGroupPreparer() + @ServerPreparer(engine_type='mariadb') + def test_mariadb_private_link_scenario(self, resource_group, server, database_engine): + print(server) + self._test_private_link_resource(resource_group, server, 'Microsoft.DBforMariaDB/servers', 'mariadbServer') + self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforMariaDB/servers') + + @ResourceGroupPreparer() + @ServerPreparer(engine_type='mysql') + def test_mysql_private_link_scenario(self, resource_group, server, database_engine): + self._test_private_link_resource(resource_group, server, 'Microsoft.DBforMySQL/servers', 'mysqlServer') + self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforMySQL/servers') + + @ResourceGroupPreparer() + @ServerPreparer(engine_type='postgres') + def test_postgres_private_link_scenario(self, resource_group, server, database_engine): + self._test_private_link_resource(resource_group, server, 'Microsoft.DBforPostgreSQL/servers', 'postgresqlServer') + self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforPostgreSQL/servers') + + def _test_private_link_resource(self, resource_group, server, database_engine, group_id): + result = self.cmd('network private-link-resource list -g {} --name {} --type {}' + .format(resource_group, server, database_engine)).get_output_in_json() + self.assertEqual(result[0]['properties']['groupId'], group_id) + + def _test_private_endpoint_connection(self, resource_group, server, database_engine, rp_type): + loc = 'westus' + vnet = self.create_random_name('cli-vnet-', 24) + subnet = self.create_random_name('cli-subnet-', 24) + pe_name_auto = self.create_random_name('cli-pe-', 24) + pe_name_manual_approve = self.create_random_name('cli-pe-', 24) + pe_name_manual_reject = self.create_random_name('cli-pe-', 24) + pe_connection_name_auto = self.create_random_name('cli-pec-', 24) + pe_connection_name_manual_approve = self.create_random_name('cli-pec-', 24) + pe_connection_name_manual_reject = self.create_random_name('cli-pec-', 24) + + # Prepare network and disable network policies + self.cmd('network vnet create -n {} -g {} -l {} --subnet-name {}' + .format(vnet, resource_group, loc, subnet), + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {} --vnet-name {} -g {} ' + '--disable-private-endpoint-network-policies true' + .format(subnet, vnet, resource_group), + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Get Server Id and Group Id + result = self.cmd('{} server show -g {} -n {}' + .format(database_engine, resource_group, server)).get_output_in_json() + server_id = result['id'] + result = self.cmd('network private-link-resource list -g {} -n {} --type {}' + .format(resource_group, server, rp_type)).get_output_in_json() + group_id = result[0]['properties']['groupId'] + + approval_description = 'You are approved!' + rejection_description = 'You are rejected!' + expectedError = 'Private Endpoint Connection Status is not Pending' + + # Testing Auto-Approval workflow + # Create a private endpoint connection + private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' + '--connection-name {} --private-connection-resource-id {} ' + '--group-ids {}' + .format(resource_group, pe_name_auto, vnet, subnet, loc, pe_connection_name_auto, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_auto) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], pe_connection_name_auto) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], group_id) + + # Get Private Endpoint Connection Name and Id + result = self.cmd('{} server show -g {} -n {}' + .format(database_engine, resource_group, server)).get_output_in_json() + self.assertEqual(len(result['privateEndpointConnections']), 1) + self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], + 'Approved') + server_pec_id = result['privateEndpointConnections'][0]['id'] + result = parse_proxy_resource_id(server_pec_id) + server_pec_name = result['child_name_1'] + + self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' + .format(server, resource_group, server_pec_name, rp_type), + checks=[ + self.check('id', server_pec_id), + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.provisioningState', 'Ready') + ]) + + with self.assertRaisesRegexp(CLIError, expectedError): + self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, approval_description, rp_type)) + + with self.assertRaisesRegexp(CLIError, expectedError): + self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, rejection_description, rp_type)) + + self.cmd('network private-endpoint-connection delete --id {} -y' + .format(server_pec_id)) + + # Testing Manual-Approval workflow [Approval] + # Create a private endpoint connection + private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' + '--connection-name {} --private-connection-resource-id {} ' + '--group-ids {} --manual-request' + .format(resource_group, pe_name_manual_approve, vnet, subnet, loc, pe_connection_name_manual_approve, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_manual_approve) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_approve) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) + + # Get Private Endpoint Connection Name and Id + result = self.cmd('{} server show -g {} -n {}' + .format(database_engine, resource_group, server)).get_output_in_json() + self.assertEqual(len(result['privateEndpointConnections']), 1) + self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], + 'Pending') + server_pec_id = result['privateEndpointConnections'][0]['id'] + result = parse_proxy_resource_id(server_pec_id) + server_pec_name = result['child_name_1'] + + self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' + .format(server, resource_group, server_pec_name, rp_type), + checks=[ + self.check('id', server_pec_id), + self.check('properties.privateLinkServiceConnectionState.status', 'Pending'), + self.check('properties.provisioningState', 'Ready') + ]) + + self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, approval_description, rp_type), + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', approval_description), + self.check('properties.provisioningState', 'Ready') + ]) + + with self.assertRaisesRegexp(CLIError, expectedError): + self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, rejection_description, rp_type)) + + self.cmd('network private-endpoint-connection delete --id {} -y' + .format(server_pec_id)) + + # Testing Manual-Approval workflow [Rejection] + # Create a private endpoint connection + private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' + '--connection-name {} --private-connection-resource-id {} ' + '--group-ids {} --manual-request true' + .format(resource_group, pe_name_manual_reject, vnet, subnet, loc, pe_connection_name_manual_reject, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_manual_reject) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_reject) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) + + # Get Private Endpoint Connection Name and Id + result = self.cmd('{} server show -g {} -n {}' + .format(database_engine, resource_group, server)).get_output_in_json() + self.assertEqual(len(result['privateEndpointConnections']), 1) + self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], + 'Pending') + server_pec_id = result['privateEndpointConnections'][0]['id'] + result = parse_proxy_resource_id(server_pec_id) + server_pec_name = result['child_name_1'] + + self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' + .format(server, resource_group, server_pec_name, rp_type), + checks=[ + self.check('id', server_pec_id), + self.check('properties.privateLinkServiceConnectionState.status', 'Pending'), + self.check('properties.provisioningState', 'Ready') + ]) + + self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, rejection_description, rp_type), + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), + self.check('properties.privateLinkServiceConnectionState.description', rejection_description), + self.check('properties.provisioningState', 'Ready') + ]) + + with self.assertRaisesRegexp(CLIError, expectedError): + self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' + .format(server, resource_group, server_pec_name, approval_description, rp_type)) + + self.cmd('network private-endpoint-connection list --name {} -g {} --type {}' + .format(server, resource_group, rp_type)) + + self.cmd('network private-endpoint-connection delete --id {} -y' + .format(server_pec_id)) + + +<<<<<<< HEAD +class NetworkPrivateLinkCosmosDBScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_plr') + def test_private_link_resource_cosmosdb(self, resource_group): + self.kwargs.update({ + 'acc': self.create_random_name('cli-test-cosmosdb-plr-', 28), + 'loc': 'centraluseuap' + }) + + self.cmd('az cosmosdb create -n {acc} -g {rg}') + + self.cmd('network private-link-resource list --name {acc} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', + checks=[self.check('length(@)', 1), self.check('[0].properties.groupId', 'Sql')]) + + @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_pe') + def test_private_endpoint_connection_cosmosdb(self, resource_group): + self.kwargs.update({ + 'acc': self.create_random_name('cli-test-cosmosdb-pe-', 28), + 'loc': 'centraluseuap', + 'vnet': self.create_random_name('cli-vnet-', 24), + 'subnet': self.create_random_name('cli-subnet-', 24), + 'pe': self.create_random_name('cli-pe-', 24), + 'pe_connection': self.create_random_name('cli-pec-', 24) + }) + + # Prepare cosmos db account and network + account = self.cmd('az cosmosdb create -n {acc} -g {rg}').get_output_in_json() + self.kwargs['acc_id'] = account['id'] + self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' + '--disable-private-endpoint-network-policies true', + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pe = self.cmd('network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' + '--connection-name {pe_connection} --private-connection-resource-id {acc_id} ' + '--group-ids Sql').get_output_in_json() + self.kwargs['pe_id'] = pe['id'] + self.kwargs['pe_name'] = self.kwargs['pe_id'].split('/')[-1] + + # Show the connection at cosmos db side + results = self.kwargs['pe_id'].split('/') + self.kwargs[ + 'pec_id'] = '/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.DocumentDB/databaseAccounts/{2}/privateEndpointConnections/{3}'.format( + results[2], results[4], self.kwargs['acc'], results[-1]) + self.cmd('network private-endpoint-connection show --id {pec_id}', + checks=self.check('id', '{pec_id}')) + self.cmd( + 'network private-endpoint-connection show --resource-name {acc} --name {pe_name} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', + checks=self.check('name', '{pe_name}')) + self.cmd('network private-endpoint-connection show --resource-name {acc} -n {pe_name} -g {rg} --type Microsoft.DocumentDB/databaseAccounts', + checks=self.check('name', '{pe_name}')) + + # Test approval/rejection + self.kwargs.update({ + 'approval_desc': 'You are approved!', + 'rejection_desc': 'You are rejected!' + }) + self.cmd( + 'network private-endpoint-connection approve --resource-name {acc} --resource-group {rg} --name {pe_name} --type Microsoft.DocumentDB/databaseAccounts ' + '--description "{approval_desc}"', checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', '{approval_desc}') + ]) + self.cmd('network private-endpoint-connection reject --id {pec_id} ' + '--description "{rejection_desc}"', + checks=[ + self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), + self.check('properties.privateLinkServiceConnectionState.description', '{rejection_desc}') + ]) + self.cmd('network private-endpoint-connection list --name {acc} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', checks=[ + self.check('length(@)', 1) + ]) + + # Test delete + self.cmd('network private-endpoint-connection delete --id {pec_id} -y') +======= +class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest, BatchScenarioMixin): + # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited + @ResourceGroupPreparer() + @BatchAccountPreparer(location='northcentralus') + def test_private_link_resource_batch_account(self, resource_group, batch_account_name): + self.kwargs.update({ + 'ba': batch_account_name, + 'rg': resource_group}) + self.cmd('network private-link-resource list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') + + @ResourceGroupPreparer() + @BatchAccountPreparer(location='southcentralus') + def test_private_endpoint_connection_batch_account(self, resource_group, batch_account_name): + self.kwargs.update({ + 'ba': batch_account_name, + 'rg': resource_group}) + self.cmd('network private-endpoint-connection list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') +>>>>>>> Add very basic tests + + +if __name__ == '__main__': + unittest.main() From c59addf9d292822aac7f321a7beb431bff35b9ec Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Wed, 13 May 2020 19:50:45 -0700 Subject: [PATCH 06/13] missed a file --- .../custom.py.orig | 90 --- .../test_private_endpoint_commands.py.orig | 699 ------------------ src/azure-cli/setup.py | 2 +- 3 files changed, 1 insertion(+), 790 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig delete mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig deleted file mode 100644 index dcf0cdc8c03..00000000000 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py.orig +++ /dev/null @@ -1,90 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from .resource_providers import GeneralPrivateEndpointClient -from knack.util import CLIError - -TYPE_CLIENT_MAPPING = { - # 'Microsoft.Keyvault/vaults': KeyVaultPrivateEndpointClient # vaults -} - - -def register_providers(): - _register_one_provider('Microsoft.Storage/storageAccounts', '2019-06-01', False) - _register_one_provider('Microsoft.Keyvault/vaults', '2019-09-01', False) - _register_one_provider('Microsoft.ContainerRegistry/registries', '2019-12-01-preview', True) - _register_one_provider('microsoft.insights/privateLinkScopes', '2019-10-17-preview', True) - _register_one_provider('Microsoft.DBforMySQL/servers', '2018-06-01', False, '2017-12-01-preview') - _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) - _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') -<<<<<<< HEAD - _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') - -======= - _register_one_provider('Microsoft.Batch/batchAccounts', '2020-03-01', True) ->>>>>>> squash - -def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None): - """ - :param provider: namespace + type. - :param api_version: API version for private link scenarios. - :param support_list_or_not: support list rest call or not. - :param resource_get_api_version: API version to get the service resource. - """ - general_client_settings = { - "api_version": api_version, - "support_list_or_not": support_list_or_not, - "resource_get_api_version": resource_get_api_version - } - - TYPE_CLIENT_MAPPING[provider] = general_client_settings - - -def _get_client(rp_mapping, resource_provider): - for key, value in rp_mapping.items(): - if str.lower(key) == str.lower(resource_provider): - if isinstance(value, dict): - return GeneralPrivateEndpointClient(key, - value['api_version'], - value['support_list_or_not'], - value['resource_get_api_version']) - return value() - raise CLIError("Resource type must be one of {}".format(", ".join(rp_mapping.keys()))) - - -def list_private_link_resource(cmd, resource_group_name, name, resource_provider): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.list_private_link_resource(cmd, resource_group_name, name) - - -def approve_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, - name, approval_description=None): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.approve_private_endpoint_connection(cmd, resource_group_name, - resource_name, name, - approval_description) - - -def reject_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, - name, rejection_description=None): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.reject_private_endpoint_connection(cmd, resource_group_name, - resource_name, name, - rejection_description) - - -def remove_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, name): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.remove_private_endpoint_connection(cmd, resource_group_name, resource_name, name) - - -def show_private_endpoint_connection(cmd, resource_group_name, resource_name, resource_provider, name): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.show_private_endpoint_connection(cmd, resource_group_name, resource_name, name) - - -def list_private_endpoint_connection(cmd, resource_group_name, name, resource_provider): - client = _get_client(TYPE_CLIENT_MAPPING, resource_provider) - return client.list_private_endpoint_connection(cmd, resource_group_name, name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig deleted file mode 100644 index c2a5e1d61cd..00000000000 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py.orig +++ /dev/null @@ -1,699 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import unittest -import time - -from azure.cli.testsdk import ( - ScenarioTest, ResourceGroupPreparer, StorageAccountPreparer) -from azure.cli.core.util import parse_proxy_resource_id, CLIError - -from azure.cli.command_modules.keyvault.tests.latest.test_keyvault_commands import _create_keyvault -from azure.cli.command_modules.rdbms.tests.latest.test_rdbms_commands import ServerPreparer -from azure.cli.command_modules.batch.tests.latest.batch_preparers import BatchAccountPreparer, BatchScenarioMixin - - -class NetworkPrivateLinkKeyVaultScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_keyvault_plr') - def test_private_link_resource_keyvault(self, resource_group): - self.kwargs.update({ - 'kv': self.create_random_name('cli-test-kv-plr-', 24), - 'loc': 'centraluseuap', - 'rg': resource_group - }) - - _create_keyvault(self, self.kwargs, additional_args='--enable-soft-delete') - self.cmd('network private-link-resource list ' - '--name {kv} ' - '-g {rg} ' - '--type microsoft.keyvault/vaults', - checks=self.check('@[0].properties.groupId', 'vault')) - - @ResourceGroupPreparer(name_prefix='cli_test_keyvault_pe') - def test_private_endpoint_connection_keyvault(self, resource_group): - self.kwargs.update({ - 'kv': self.create_random_name('cli-test-kv-pe-', 24), - 'loc': 'centraluseuap', - 'vnet': self.create_random_name('cli-vnet-', 24), - 'subnet': self.create_random_name('cli-subnet-', 24), - 'pe': self.create_random_name('cli-pe-', 24), - 'pe_connection': self.create_random_name('cli-pec-', 24), - 'rg': resource_group - }) - - # Prepare vault and network - keyvault = _create_keyvault(self, self.kwargs, additional_args='--enable-soft-delete').get_output_in_json() - self.kwargs['kv_id'] = keyvault['id'] - self.cmd('network vnet create ' - '-n {vnet} ' - '-g {rg} ' - '-l {loc} ' - '--subnet-name {subnet}', - checks=self.check('length(newVNet.subnets)', 1)) - self.cmd('network vnet subnet update ' - '-n {subnet} ' - '--vnet-name {vnet} ' - '-g {rg} ' - '--disable-private-endpoint-network-policies true', - checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) - - # Create a private endpoint connection - pe = self.cmd('network private-endpoint create ' - '-g {rg} ' - '-n {pe} ' - '--vnet-name {vnet} ' - '--subnet {subnet} ' - '-l {loc} ' - '--connection-name {pe_connection} ' - '--private-connection-resource-id {kv_id} ' - '--group-ids vault').get_output_in_json() - self.kwargs['pe_id'] = pe['id'] - - # Show the connection at vault side - keyvault = self.cmd('keyvault show -n {kv}', - checks=self.check('length(properties.privateEndpointConnections)', 1)).get_output_in_json() - self.kwargs['kv_pe_id'] = keyvault['properties']['privateEndpointConnections'][0]['id'] - print(self.kwargs['kv_pe_id']) - self.cmd('network private-endpoint-connection show ' - '--id {kv_pe_id}', - checks=self.check('id', '{kv_pe_id}')) - self.kwargs['kv_pe_name'] = self.kwargs['kv_pe_id'].split('/')[-1] - self.cmd('network private-endpoint-connection show ' - '--resource-name {kv} ' - '-g {rg} ' - '--name {kv_pe_name} ' - '--type microsoft.keyvault/vaults', - checks=self.check('name', '{kv_pe_name}')) - self.cmd('network private-endpoint-connection show ' - '--resource-name {kv} ' - '-g {rg} ' - '-n {kv_pe_name} ' - '--type microsoft.keyvault/vaults', - checks=self.check('name', '{kv_pe_name}')) - - # Try running `set-policy` on the linked vault - self.kwargs['policy_id'] = keyvault['properties']['accessPolicies'][0]['objectId'] - self.cmd('keyvault set-policy ' - '-g {rg} ' - '-n {kv} ' - '--object-id {policy_id} ' - '--certificate-permissions get list', - checks=self.check('length(properties.accessPolicies[0].permissions.certificates)', 2)) - - # Test approval/rejection - self.kwargs.update({ - 'approval_desc': 'You are approved!', - 'rejection_desc': 'You are rejected!' - }) - self.cmd('network private-endpoint-connection reject ' - '--id {kv_pe_id} ' - '--description "{rejection_desc}"', - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), - self.check('properties.privateLinkServiceConnectionState.description', '{rejection_desc}'), - self.check('properties.provisioningState', 'Succeeded') - ]) - - self.cmd('network private-endpoint-connection show --id {kv_pe_id}', - checks=self.check('properties.provisioningState', 'Succeeded')) - - self.cmd('network private-endpoint-connection approve ' - '--resource-name {kv} ' - '--name {kv_pe_name} ' - '-g {rg} ' - '--type microsoft.keyvault/vaults ' - '--description "{approval_desc}"', - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.privateLinkServiceConnectionState.description', '{approval_desc}'), - self.check('properties.provisioningState', 'Succeeded') - ]) - - self.cmd('network private-endpoint-connection show --id {kv_pe_id}', - checks=self.check('properties.provisioningState', 'Succeeded')) - - self.cmd('network private-endpoint-connection list --id {kv_id}', - checks=self.check('length(@)', 1)) - - self.cmd('network private-endpoint-connection delete --id {kv_pe_id} -y') - - -class NetworkPrivateLinkStorageAccountScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_sa_plr') - @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2', sku='Standard_LRS') - def test_private_link_resource_storage_account(self, storage_account): - self.kwargs.update({ - 'sa': storage_account - }) - self.cmd('network private-link-resource list --name {sa} -g {rg} --type Microsoft.Storage/storageAccounts', checks=[ - self.check('length(@)', 6)]) - - @ResourceGroupPreparer(name_prefix='cli_test_sa_pe') - @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2') - def test_private_endpoint_connection_storage_account(self, storage_account): - from msrestazure.azure_exceptions import CloudError - self.kwargs.update({ - 'sa': storage_account, - 'loc': 'eastus', - 'vnet': self.create_random_name('cli-vnet-', 24), - 'subnet': self.create_random_name('cli-subnet-', 24), - 'pe': self.create_random_name('cli-pe-', 24), - 'pe_connection': self.create_random_name('cli-pec-', 24), - }) - - # Prepare network - self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', - checks=self.check('length(newVNet.subnets)', 1)) - self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' - '--disable-private-endpoint-network-policies true', - checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) - - # Create a private endpoint connection - pr = self.cmd('storage account private-link-resource list --account-name {sa} -g {rg}').get_output_in_json() - self.kwargs['group_id'] = pr[0]['groupId'] - - storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() - self.kwargs['sa_id'] = storage['id'] - private_endpoint = self.cmd( - 'network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' - '--connection-name {pe_connection} --private-connection-resource-id {sa_id} ' - '--group-ids blob').get_output_in_json() - self.assertEqual(private_endpoint['name'], self.kwargs['pe']) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], self.kwargs['pe_connection']) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], self.kwargs['group_id']) - self.kwargs['pe_id'] = private_endpoint['privateLinkServiceConnections'][0]['id'] - - # Show the connection at storage account - storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() - self.assertIn('privateEndpointConnections', storage) - self.assertEqual(len(storage['privateEndpointConnections']), 1) - self.assertEqual(storage['privateEndpointConnections'][0]['privateLinkServiceConnectionState']['status'], - 'Approved') - - self.kwargs['sa_pec_id'] = storage['privateEndpointConnections'][0]['id'] - self.kwargs['sa_pec_name'] = storage['privateEndpointConnections'][0]['name'] - - self.cmd('network private-endpoint-connection show --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', - checks=self.check('id', '{sa_pec_id}')) - - self.cmd('network private-endpoint-connection approve --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', - checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Approved')]) - - self.cmd('network private-endpoint-connection reject --name {sa_pec_name} -g {rg} --resource-name {sa} --type Microsoft.Storage/storageAccounts', - checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')]) - - self.cmd('network private-endpoint-connection list --id {sa_pec_id}', - checks=self.check('length(@)', 1)) - - self.cmd('network private-endpoint-connection delete --id {sa_pec_id} -y') - - -class NetworkPrivateLinkACRScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_sa_plr') - def test_private_link_resource_acr(self): - self.kwargs.update({ - 'registry_name': self.create_random_name('testreg', 20) - }) - result = self.cmd('acr create --name {registry_name} --resource-group {rg} --sku premium').get_output_in_json() - self.kwargs['registry_id'] = result['id'] - self.cmd('network private-link-resource list --id {registry_id}', checks=[ - self.check('length(@)', 1)]) - - @ResourceGroupPreparer(location='centraluseuap') - def test_private_endpoint_connection_acr(self, resource_group): - self.kwargs.update({ - 'registry_name': self.create_random_name('testreg', 20), - 'vnet_name': self.create_random_name('testvnet', 20), - 'subnet_name': self.create_random_name('testsubnet', 20), - 'endpoint_name': self.create_random_name('priv_endpoint', 25), - 'endpoint_conn_name': self.create_random_name('priv_endpointconn', 25), - 'second_endpoint_name': self.create_random_name('priv_endpoint', 25), - 'second_endpoint_conn_name': self.create_random_name('priv_endpointconn', 25), - 'description_msg': 'somedescription' - }) - - # create subnet with disabled endpoint network policies - self.cmd('network vnet create -g {rg} -n {vnet_name} --subnet-name {subnet_name}') - self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet_name} --name {subnet_name} --disable-private-endpoint-network-policies true') - - result = self.cmd('acr create --name {registry_name} --resource-group {rg} --sku premium').get_output_in_json() - self.kwargs['registry_id'] = result['id'] - - # add an endpoint and approve it - result = self.cmd( - 'network private-endpoint create -n {endpoint_name} -g {rg} --subnet {subnet_name} --vnet-name {vnet_name} ' - '--private-connection-resource-id {registry_id} --group-ids registry --connection-name {endpoint_conn_name} --manual-request').get_output_in_json() - self.assertTrue(self.kwargs['endpoint_name'].lower() in result['name'].lower()) - - result = self.cmd( - 'network private-endpoint-connection list -g {rg} --name {registry_name} --type Microsoft.ContainerRegistry/registries').get_output_in_json() - self.kwargs['endpoint_request'] = result[0]['name'] - - self.cmd( - 'network private-endpoint-connection approve -g {rg} --resource-name {registry_name} -n {endpoint_request} --description {description_msg} --type Microsoft.ContainerRegistry/registries', - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}') - ]) - - # add an endpoint and then reject it - self.cmd( - 'network private-endpoint create -n {second_endpoint_name} -g {rg} --subnet {subnet_name} --vnet-name {vnet_name} --private-connection-resource-id {registry_id} --group-ids registry --connection-name {second_endpoint_conn_name} --manual-request') - result = self.cmd('network private-endpoint-connection list -g {rg} --name {registry_name} --type Microsoft.ContainerRegistry/registries').get_output_in_json() - - # the connection request name starts with the registry / resource name - self.kwargs['second_endpoint_request'] = [conn['name'] for conn in result if - self.kwargs['second_endpoint_name'].lower() in - conn['properties']['privateEndpoint']['id'].lower()][0] - - self.cmd( - 'network private-endpoint-connection reject -g {rg} --resource-name {registry_name} -n {second_endpoint_request} --description {description_msg} --type Microsoft.ContainerRegistry/registries', - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), - self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}') - ]) - - # list endpoints - self.cmd('network private-endpoint-connection list -g {rg} -n {registry_name} --type Microsoft.ContainerRegistry/registries', checks=[ - self.check('length(@)', '2'), - ]) - - # remove endpoints - self.cmd( - 'network private-endpoint-connection delete -g {rg} --resource-name {registry_name} -n {second_endpoint_request} --type Microsoft.ContainerRegistry/registries -y') - time.sleep(30) - self.cmd('network private-endpoint-connection list -g {rg} -n {registry_name} --type Microsoft.ContainerRegistry/registries', checks=[ - self.check('length(@)', '1'), - ]) - self.cmd('network private-endpoint-connection show -g {rg} --resource-name {registry_name} -n {endpoint_request} --type Microsoft.ContainerRegistry/registries', checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.privateLinkServiceConnectionState.description', '{description_msg}'), - self.check('name', '{endpoint_request}') - ]) - - self.cmd('network private-endpoint-connection delete -g {rg} --resource-name {registry_name} -n {endpoint_request} --type Microsoft.ContainerRegistry/registries -y') - - -class NetworkPrivateLinkPrivateLinkScopeScenarioTest(ScenarioTest): - @ResourceGroupPreparer(location='eastus2euap') - def test_private_endpoint_connection_private_link_scope(self, resource_group, resource_group_location): - self.kwargs.update({ - 'rg': resource_group, - 'scope': 'clitestscopename', - 'assigned_app': 'assigned_app', - 'assigned_ws': 'assigned_ws', - 'workspace': self.create_random_name('clitest', 20), - 'app': self.create_random_name('clitest', 20), - 'vnet': self.create_random_name('cli-vnet-', 24), - 'subnet': self.create_random_name('cli-subnet-', 24), - 'pe': self.create_random_name('cli-pe-', 24), - 'pe_connection': self.create_random_name('cli-pec-', 24), - 'loc': resource_group_location - }) - - self.cmd('monitor private-link-scope create -n {scope} -g {rg}', checks=[ - self.check('name', '{scope}') - ]) - - self.cmd('monitor private-link-scope update -n {scope} -g {rg} --tags tag1=d1', checks=[ - self.check('tags.tag1', 'd1') - ]) - - self.cmd('monitor private-link-scope show -n {scope} -g {rg}', checks=[ - self.check('tags.tag1', 'd1') - ]) - self.cmd('monitor private-link-scope list -g {rg}', checks=[ - self.check('length(@)', 1) - ]) - self.cmd('monitor private-link-scope list') - - workspace_id = self.cmd('monitor log-analytics workspace create -n {workspace} -g {rg} -l {loc}').get_output_in_json()['id'] - self.kwargs.update({ - 'workspace_id': workspace_id - }) - - self.cmd('monitor private-link-scope scoped-resource create -g {rg} -n {assigned_ws} --linked-resource {workspace_id} --scope-name {scope}', checks=[ - self.check('name', '{assigned_ws}') - ]) - - self.cmd('monitor private-link-scope scoped-resource list -g {rg} --scope-name {scope}', checks=[ - self.check('length(@)', 1) - ]) - - self.cmd('network private-link-resource list --name {scope} -g {rg} --type microsoft.insights/privateLinkScopes', checks=[ - self.check('length(@)', 1) - ]) - - # Prepare network - self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', - checks=self.check('length(newVNet.subnets)', 1)) - self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' - '--disable-private-endpoint-network-policies true', - checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) - - # Create a private endpoint connection - pr = self.cmd('monitor private-link-scope private-link-resource list --scope-name {scope} -g {rg}').get_output_in_json() - self.kwargs['group_id'] = pr[0]['groupId'] - - private_link_scope = self.cmd('monitor private-link-scope show -n {scope} -g {rg}').get_output_in_json() - self.kwargs['scope_id'] = private_link_scope['id'] - private_endpoint = self.cmd( - 'network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' - '--connection-name {pe_connection} --private-connection-resource-id {scope_id} ' - '--group-ids {group_id}').get_output_in_json() - self.assertEqual(private_endpoint['name'], self.kwargs['pe']) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], self.kwargs['pe_connection']) - self.assertEqual( - private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], - 'Approved') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], self.kwargs['group_id']) - self.kwargs['pe_id'] = private_endpoint['privateLinkServiceConnections'][0]['id'] - - # Show the connection at monitor private-link-scope - - private_endpoint_connections = self.cmd('monitor private-link-scope show --name {scope} -g {rg}').get_output_in_json()['privateEndpointConnections'] - self.assertEqual(len(private_endpoint_connections), 1) - self.assertEqual(private_endpoint_connections[0]['privateLinkServiceConnectionState']['status'], 'Approved') - - self.kwargs['scope_pec_id'] = private_endpoint_connections[0]['id'] - self.kwargs['scope_pec_name'] = private_endpoint_connections[0]['name'] - - self.cmd('network private-endpoint-connection show --resource-name {scope} -g {rg} --name {scope_pec_name} --type microsoft.insights/privateLinkScopes', - checks=self.check('id', '{scope_pec_id}')) - - self.cmd('network private-endpoint-connection reject --resource-name {scope} -g {rg} --name {scope_pec_name} --type microsoft.insights/privateLinkScopes', - checks=[self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')]) - - self.cmd('network private-endpoint-connection list --name {scope} -g {rg} --type microsoft.insights/privateLinkScopes', - checks=[self.check('length(@)', 1)]) - - self.cmd('network private-endpoint-connection delete --id {scope_pec_id} -y') - self.cmd('monitor private-link-scope show --name {scope} -g {rg}', checks=[ - self.check('privateEndpointConnections', None) - ]) - self.cmd('monitor private-link-scope scoped-resource delete -g {rg} -n {assigned_app} --scope-name {scope} -y') - self.cmd('monitor private-link-scope scoped-resource list -g {rg} --scope-name {scope}', checks=[ - self.check('length(@)', 1) - ]) - self.cmd('monitor private-link-scope delete -n {scope} -g {rg} -y') - with self.assertRaisesRegexp(SystemExit, '3'): - self.cmd('monitor private-link-scope show -n {scope} -g {rg}') - - -class NetworkPrivateLinkRDBMSScenarioTest(ScenarioTest): - @ResourceGroupPreparer() - @ServerPreparer(engine_type='mariadb') - def test_mariadb_private_link_scenario(self, resource_group, server, database_engine): - print(server) - self._test_private_link_resource(resource_group, server, 'Microsoft.DBforMariaDB/servers', 'mariadbServer') - self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforMariaDB/servers') - - @ResourceGroupPreparer() - @ServerPreparer(engine_type='mysql') - def test_mysql_private_link_scenario(self, resource_group, server, database_engine): - self._test_private_link_resource(resource_group, server, 'Microsoft.DBforMySQL/servers', 'mysqlServer') - self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforMySQL/servers') - - @ResourceGroupPreparer() - @ServerPreparer(engine_type='postgres') - def test_postgres_private_link_scenario(self, resource_group, server, database_engine): - self._test_private_link_resource(resource_group, server, 'Microsoft.DBforPostgreSQL/servers', 'postgresqlServer') - self._test_private_endpoint_connection(resource_group, server, database_engine, 'Microsoft.DBforPostgreSQL/servers') - - def _test_private_link_resource(self, resource_group, server, database_engine, group_id): - result = self.cmd('network private-link-resource list -g {} --name {} --type {}' - .format(resource_group, server, database_engine)).get_output_in_json() - self.assertEqual(result[0]['properties']['groupId'], group_id) - - def _test_private_endpoint_connection(self, resource_group, server, database_engine, rp_type): - loc = 'westus' - vnet = self.create_random_name('cli-vnet-', 24) - subnet = self.create_random_name('cli-subnet-', 24) - pe_name_auto = self.create_random_name('cli-pe-', 24) - pe_name_manual_approve = self.create_random_name('cli-pe-', 24) - pe_name_manual_reject = self.create_random_name('cli-pe-', 24) - pe_connection_name_auto = self.create_random_name('cli-pec-', 24) - pe_connection_name_manual_approve = self.create_random_name('cli-pec-', 24) - pe_connection_name_manual_reject = self.create_random_name('cli-pec-', 24) - - # Prepare network and disable network policies - self.cmd('network vnet create -n {} -g {} -l {} --subnet-name {}' - .format(vnet, resource_group, loc, subnet), - checks=self.check('length(newVNet.subnets)', 1)) - self.cmd('network vnet subnet update -n {} --vnet-name {} -g {} ' - '--disable-private-endpoint-network-policies true' - .format(subnet, vnet, resource_group), - checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) - - # Get Server Id and Group Id - result = self.cmd('{} server show -g {} -n {}' - .format(database_engine, resource_group, server)).get_output_in_json() - server_id = result['id'] - result = self.cmd('network private-link-resource list -g {} -n {} --type {}' - .format(resource_group, server, rp_type)).get_output_in_json() - group_id = result[0]['properties']['groupId'] - - approval_description = 'You are approved!' - rejection_description = 'You are rejected!' - expectedError = 'Private Endpoint Connection Status is not Pending' - - # Testing Auto-Approval workflow - # Create a private endpoint connection - private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' - '--connection-name {} --private-connection-resource-id {} ' - '--group-ids {}' - .format(resource_group, pe_name_auto, vnet, subnet, loc, pe_connection_name_auto, server_id, group_id)).get_output_in_json() - self.assertEqual(private_endpoint['name'], pe_name_auto) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], pe_connection_name_auto) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], group_id) - - # Get Private Endpoint Connection Name and Id - result = self.cmd('{} server show -g {} -n {}' - .format(database_engine, resource_group, server)).get_output_in_json() - self.assertEqual(len(result['privateEndpointConnections']), 1) - self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], - 'Approved') - server_pec_id = result['privateEndpointConnections'][0]['id'] - result = parse_proxy_resource_id(server_pec_id) - server_pec_name = result['child_name_1'] - - self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' - .format(server, resource_group, server_pec_name, rp_type), - checks=[ - self.check('id', server_pec_id), - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.provisioningState', 'Ready') - ]) - - with self.assertRaisesRegexp(CLIError, expectedError): - self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, approval_description, rp_type)) - - with self.assertRaisesRegexp(CLIError, expectedError): - self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, rejection_description, rp_type)) - - self.cmd('network private-endpoint-connection delete --id {} -y' - .format(server_pec_id)) - - # Testing Manual-Approval workflow [Approval] - # Create a private endpoint connection - private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' - '--connection-name {} --private-connection-resource-id {} ' - '--group-ids {} --manual-request' - .format(resource_group, pe_name_manual_approve, vnet, subnet, loc, pe_connection_name_manual_approve, server_id, group_id)).get_output_in_json() - self.assertEqual(private_endpoint['name'], pe_name_manual_approve) - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_approve) - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) - - # Get Private Endpoint Connection Name and Id - result = self.cmd('{} server show -g {} -n {}' - .format(database_engine, resource_group, server)).get_output_in_json() - self.assertEqual(len(result['privateEndpointConnections']), 1) - self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], - 'Pending') - server_pec_id = result['privateEndpointConnections'][0]['id'] - result = parse_proxy_resource_id(server_pec_id) - server_pec_name = result['child_name_1'] - - self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' - .format(server, resource_group, server_pec_name, rp_type), - checks=[ - self.check('id', server_pec_id), - self.check('properties.privateLinkServiceConnectionState.status', 'Pending'), - self.check('properties.provisioningState', 'Ready') - ]) - - self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, approval_description, rp_type), - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.privateLinkServiceConnectionState.description', approval_description), - self.check('properties.provisioningState', 'Ready') - ]) - - with self.assertRaisesRegexp(CLIError, expectedError): - self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, rejection_description, rp_type)) - - self.cmd('network private-endpoint-connection delete --id {} -y' - .format(server_pec_id)) - - # Testing Manual-Approval workflow [Rejection] - # Create a private endpoint connection - private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' - '--connection-name {} --private-connection-resource-id {} ' - '--group-ids {} --manual-request true' - .format(resource_group, pe_name_manual_reject, vnet, subnet, loc, pe_connection_name_manual_reject, server_id, group_id)).get_output_in_json() - self.assertEqual(private_endpoint['name'], pe_name_manual_reject) - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_reject) - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') - self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) - - # Get Private Endpoint Connection Name and Id - result = self.cmd('{} server show -g {} -n {}' - .format(database_engine, resource_group, server)).get_output_in_json() - self.assertEqual(len(result['privateEndpointConnections']), 1) - self.assertEqual(result['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], - 'Pending') - server_pec_id = result['privateEndpointConnections'][0]['id'] - result = parse_proxy_resource_id(server_pec_id) - server_pec_name = result['child_name_1'] - - self.cmd('network private-endpoint-connection show --resource-name {} -g {} --name {} --type {}' - .format(server, resource_group, server_pec_name, rp_type), - checks=[ - self.check('id', server_pec_id), - self.check('properties.privateLinkServiceConnectionState.status', 'Pending'), - self.check('properties.provisioningState', 'Ready') - ]) - - self.cmd('network private-endpoint-connection reject --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, rejection_description, rp_type), - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), - self.check('properties.privateLinkServiceConnectionState.description', rejection_description), - self.check('properties.provisioningState', 'Ready') - ]) - - with self.assertRaisesRegexp(CLIError, expectedError): - self.cmd('network private-endpoint-connection approve --resource-name {} -g {} --name {} --description "{}" --type {}' - .format(server, resource_group, server_pec_name, approval_description, rp_type)) - - self.cmd('network private-endpoint-connection list --name {} -g {} --type {}' - .format(server, resource_group, rp_type)) - - self.cmd('network private-endpoint-connection delete --id {} -y' - .format(server_pec_id)) - - -<<<<<<< HEAD -class NetworkPrivateLinkCosmosDBScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_plr') - def test_private_link_resource_cosmosdb(self, resource_group): - self.kwargs.update({ - 'acc': self.create_random_name('cli-test-cosmosdb-plr-', 28), - 'loc': 'centraluseuap' - }) - - self.cmd('az cosmosdb create -n {acc} -g {rg}') - - self.cmd('network private-link-resource list --name {acc} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', - checks=[self.check('length(@)', 1), self.check('[0].properties.groupId', 'Sql')]) - - @ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_pe') - def test_private_endpoint_connection_cosmosdb(self, resource_group): - self.kwargs.update({ - 'acc': self.create_random_name('cli-test-cosmosdb-pe-', 28), - 'loc': 'centraluseuap', - 'vnet': self.create_random_name('cli-vnet-', 24), - 'subnet': self.create_random_name('cli-subnet-', 24), - 'pe': self.create_random_name('cli-pe-', 24), - 'pe_connection': self.create_random_name('cli-pec-', 24) - }) - - # Prepare cosmos db account and network - account = self.cmd('az cosmosdb create -n {acc} -g {rg}').get_output_in_json() - self.kwargs['acc_id'] = account['id'] - self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', - checks=self.check('length(newVNet.subnets)', 1)) - self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' - '--disable-private-endpoint-network-policies true', - checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) - - # Create a private endpoint connection - pe = self.cmd('network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' - '--connection-name {pe_connection} --private-connection-resource-id {acc_id} ' - '--group-ids Sql').get_output_in_json() - self.kwargs['pe_id'] = pe['id'] - self.kwargs['pe_name'] = self.kwargs['pe_id'].split('/')[-1] - - # Show the connection at cosmos db side - results = self.kwargs['pe_id'].split('/') - self.kwargs[ - 'pec_id'] = '/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.DocumentDB/databaseAccounts/{2}/privateEndpointConnections/{3}'.format( - results[2], results[4], self.kwargs['acc'], results[-1]) - self.cmd('network private-endpoint-connection show --id {pec_id}', - checks=self.check('id', '{pec_id}')) - self.cmd( - 'network private-endpoint-connection show --resource-name {acc} --name {pe_name} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', - checks=self.check('name', '{pe_name}')) - self.cmd('network private-endpoint-connection show --resource-name {acc} -n {pe_name} -g {rg} --type Microsoft.DocumentDB/databaseAccounts', - checks=self.check('name', '{pe_name}')) - - # Test approval/rejection - self.kwargs.update({ - 'approval_desc': 'You are approved!', - 'rejection_desc': 'You are rejected!' - }) - self.cmd( - 'network private-endpoint-connection approve --resource-name {acc} --resource-group {rg} --name {pe_name} --type Microsoft.DocumentDB/databaseAccounts ' - '--description "{approval_desc}"', checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), - self.check('properties.privateLinkServiceConnectionState.description', '{approval_desc}') - ]) - self.cmd('network private-endpoint-connection reject --id {pec_id} ' - '--description "{rejection_desc}"', - checks=[ - self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), - self.check('properties.privateLinkServiceConnectionState.description', '{rejection_desc}') - ]) - self.cmd('network private-endpoint-connection list --name {acc} --resource-group {rg} --type Microsoft.DocumentDB/databaseAccounts', checks=[ - self.check('length(@)', 1) - ]) - - # Test delete - self.cmd('network private-endpoint-connection delete --id {pec_id} -y') -======= -class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest, BatchScenarioMixin): - # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited - @ResourceGroupPreparer() - @BatchAccountPreparer(location='northcentralus') - def test_private_link_resource_batch_account(self, resource_group, batch_account_name): - self.kwargs.update({ - 'ba': batch_account_name, - 'rg': resource_group}) - self.cmd('network private-link-resource list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') - - @ResourceGroupPreparer() - @BatchAccountPreparer(location='southcentralus') - def test_private_endpoint_connection_batch_account(self, resource_group, batch_account_name): - self.kwargs.update({ - 'ba': batch_account_name, - 'rg': resource_group}) - self.cmd('network private-endpoint-connection list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') ->>>>>>> Add very basic tests - - -if __name__ == '__main__': - unittest.main() diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index fe26987e12f..327f781876f 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -65,7 +65,7 @@ 'azure-mgmt-applicationinsights~=0.1.1', 'azure-mgmt-appconfiguration~=0.4.0', 'azure-mgmt-authorization~=0.52.0', - 'azure-mgmt-batch~=8.0', + 'azure-mgmt-batch~=8.0.0', 'azure-mgmt-batchai~=2.0', 'azure-mgmt-billing~=0.2', 'azure-mgmt-botservice~=0.2.0', From 4ea87c0900e97f38f0cb10c3526d69b425dd952c Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 26 May 2020 08:41:18 -0700 Subject: [PATCH 07/13] Fix azure batch --- .../azure/cli/core/profiles/_shared.py | 2 +- .../custom.py | 4 +- .../resource_providers/__init__.py | 3 + .../resource_providers/batch_provider.py | 72 + ...ate_endpoint_connection_batch_account.yaml | 150 -- ...t_private_link_resource_batch_account.yaml | 1565 ++++++++++++++++- .../latest/test_private_endpoint_commands.py | 99 +- 7 files changed, 1707 insertions(+), 188 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py delete mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 4295216db08..ec1047c6022 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -54,6 +54,7 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_APPSERVICE = ('azure.mgmt.web', 'WebSiteManagementClient') MGMT_IOTHUB = ('azure.mgmt.iothub', 'IotHubClient') MGMT_ARO = ('azure.mgmt.redhatopenshift', 'AzureRedHatOpenShiftClient') + MGMT_BATCH = ('azure.mgmt.batch', 'BatchManagementClient') # the "None" below will stay till a command module fills in the type so "get_mgmt_service_client" # can be provided with "ResourceType.XXX" to initialize the client object. This usually happens # when related commands start to support Multi-API @@ -63,7 +64,6 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_ADVISOR = ('azure.mgmt.advisor', None) MGMT_MEDIA = ('azure.mgmt.media', None) MGMT_BACKUP = ('azure.mgmt.recoveryservicesbackup', None) - MGMT_BATCH = ('azure.mgmt.batch', None) MGMT_BATCHAI = ('azure.mgmt.batchai', None) MGMT_BILLING = ('azure.mgmt.billing', None) MGMT_BOTSERVICE = ('azure.mgmt.botservice', None) diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index cb448c19091..b14bdfb5663 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -3,11 +3,12 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from .resource_providers import GeneralPrivateEndpointClient +from .resource_providers import GeneralPrivateEndpointClient, BatchPrivateEndpointClient from knack.util import CLIError TYPE_CLIENT_MAPPING = { # 'Microsoft.Keyvault/vaults': KeyVaultPrivateEndpointClient # vaults + 'Microsoft.Batch/batchAccounts': BatchPrivateEndpointClient } @@ -19,7 +20,6 @@ def register_providers(): _register_one_provider('Microsoft.DBforMySQL/servers', '2018-06-01', False, '2017-12-01-preview') _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') - _register_one_provider('Microsoft.Batch/batchAccounts', '2020-03-01', True) _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') _register_one_provider('Microsoft.Devices/IotHubs', '2020-03-01', True) diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py index 0fc062d1009..99a128a544c 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py @@ -183,3 +183,6 @@ def _build_resource_url_endpoint(resource_group_name, namespace_type, resource_n resource_name=resource_name, api_version=api_version) return resource_url_endpoint + + +from .batch_provider import BatchPrivateEndpointClient diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py new file mode 100644 index 00000000000..761b57c900f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py @@ -0,0 +1,72 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +from azure.cli.core.profiles import ResourceType +from azure.cli.core.commands.client_factory import get_mgmt_service_client +from azure.mgmt.batch import BatchManagementClient +from azure.mgmt.batch.models import PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStatus +from knack.log import get_logger +from . import PrivateEndpointClient + +logger = get_logger(__name__) + + +def _update_private_endpoint_connection_status(cmd, client, resource_group_name, + account_name, private_endpoint_connection_name, + is_approved=True, description=None): + private_endpoint_connection = client.get(resource_group_name=resource_group_name, account_name=account_name, + private_endpoint_connection_name=private_endpoint_connection_name) + + new_status = PrivateLinkServiceConnectionState( + status=PrivateLinkServiceConnectionStatus.approved, + description=description) if is_approved else \ + PrivateLinkServiceConnectionState( + status=PrivateLinkServiceConnectionStatus.rejected, + description=description) + + return client.update(resource_group_name=resource_group_name, + account_name=account_name, + private_endpoint_connection_name=private_endpoint_connection_name, + private_link_service_connection_state=new_status) + + +class BatchPrivateEndpointClient(PrivateEndpointClient): + + def list_private_link_resource(self, cmd, resource_group_name, name): + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_link_resources + return client.list_by_batch_account(resource_group_name, name) + + def approve_private_endpoint_connection(self, cmd, resource_group_name, + resource_name, name, approval_description=None): + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection + return _update_private_endpoint_connection_status(cmd=cmd, + client=client, + resource_group_name=resource_group_name, + account_name=resource_name, + private_endpoint_connection_name=name, + is_approved=True, + description=approval_description) + + def reject_private_endpoint_connection(self, cmd, resource_group_name, + resource_name, name, rejection_description=None): + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection + return _update_private_endpoint_connection_status(cmd=cmd, + client=client, + resource_group_name=resource_group_name, + account_name=resource_name, + private_endpoint_connection_name=name, + is_approved=False, + description=rejection_description) + + def remove_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): + logger.error("Microsoft.Batch/batchAccounts does not currently support deleting private endpoint " + "connections directly. Please delete the top level private endpoint.") + + def show_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection + return client.get(resource_group_name, resource_name, name) + + def list_private_endpoint_connection(self, cmd, resource_group_name, resource_name): + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection + return client.list_by_batch_account(resource_group_name=resource_group_name, account_name=resource_name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml deleted file mode 100644 index 50a765cc7c1..00000000000 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_batch_account.yaml +++ /dev/null @@ -1,150 +0,0 @@ -interactions: -- request: - body: '{"location": "southcentralus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - Content-Length: - - '30' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g -l - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 13 May 2020 02:58:12 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/80719a3c-7f85-4c00-a7a5-4239bdf3d86a?api-version=2020-03-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - ParameterSetName: - - -n -g -l - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/80719a3c-7f85-4c00-a7a5-4239bdf3d86a?api-version=2020-03-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":"southcentralus","properties":{"accountEndpoint":"clibatch000002.southcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' - headers: - cache-control: - - no-cache - content-length: - - '2313' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 13 May 2020 02:58:27 GMT - etag: - - '"0x8D7F6E982FF867C"' - expires: - - '-1' - last-modified: - - Wed, 13 May 2020 02:58:28 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint-connection list - Connection: - - keep-alive - ParameterSetName: - - --name -g --type - User-Agent: - - AZURECLI/2.5.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/privateEndpointConnections?api-version=2020-03-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 13 May 2020 02:58:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index ea2cfb296fc..415c4506a19 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "northcentralus"}' + body: '{"location": "eastus", "properties": {"publicNetworkAccess": "Disabled"}}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '30' + - '73' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n -g -l + - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-03-01 response: body: string: '' @@ -32,11 +32,11 @@ interactions: content-length: - '0' date: - - Wed, 13 May 2020 02:58:33 GMT + - Wed, 20 May 2020 16:24:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/274ecc5b-6f51-4598-82b3-c5fd57239bf6?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/83edc811-a97a-45fb-83df-e572f4c2e164?api-version=2020-03-01 pragma: - no-cache server: @@ -62,34 +62,393 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g -l + - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/274ecc5b-6f51-4598-82b3-c5fd57239bf6?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/83edc811-a97a-45fb-83df-e572f4c2e164?api-version=2020-03-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"eastus","properties":{"accountEndpoint":"testprivatelink.pilotprod2.eastus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2295' + - '2314' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 02:58:49 GMT + - Wed, 20 May 2020 16:24:25 GMT etag: - - '"0x8D7F6E98FE66DA5"' + - '"0x8D7FCDA437722F9"' expires: - '-1' last-modified: - - Wed, 13 May 2020 02:58:49 GMT + - Wed, 20 May 2020 16:24:26 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --subnet-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-20T16:24:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": + "10.0.0.0/24"}, "name": "testsubnet000003"}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '218' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --subnet-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n + \ \"etag\": \"W/\\\"ca993362-6b8c-40b3-a8e0-ceb0098a4842\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"711caefd-93e9-4346-8975-6c4e0992d4bd\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n + \ \"etag\": \"W/\\\"ca993362-6b8c-40b3-a8e0-ceb0098a4842\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d047a7ef-c3b4-48c3-9032-ba8266ab6674?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '1508' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7a8088b2-2c2d-4d0a-9595-4c64ce5ac323 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --subnet-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d047a7ef-c3b4-48c3-9032-ba8266ab6674?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9a8cde1f-7228-4e27-b09f-649402ad4b9d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --subnet-name + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n + \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"711caefd-93e9-4346-8975-6c4e0992d4bd\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n + \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1510' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:33 GMT + etag: + - W/"c635f8af-4694-4883-9f11-c9d8fe40ce0e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 06a4c80c-4158-4716-953e-4bf5ba87c4e6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name --name --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n + \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:34 GMT + etag: + - W/"c635f8af-4694-4883-9f11-c9d8fe40ce0e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 32cc74d4-17a4-4c55-8609-1a5703b13c6b + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "testsubnet000003"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + Content-Length: + - '439' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g --vnet-name --name --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n + \ \"etag\": \"W/\\\"b1ad4880-f96a-4073-bbe3-9c92664cd1d1\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/89fc7e7c-a2af-4011-acdd-8d72adc21f17?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:34 GMT + expires: + - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -98,6 +457,10 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 41bb13fe-6986-475e-aa97-788d7510bfe4 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -105,37 +468,1195 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - network private-link-resource list + - network vnet subnet update Connection: - keep-alive ParameterSetName: - - --name -g --type + - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.5.1 + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/privateLinkResources?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/89fc7e7c-a2af-4011-acdd-8d72adc21f17?api-version=2020-03-01 response: body: - string: '{"value":[]}' + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '12' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 13 May 2020 02:58:51 GMT + - Wed, 20 May 2020 16:24:38 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f5a3b5e1-ad62-41a8-b9e4-d0b354b13b90 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name --name --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n + \ \"etag\": \"W/\\\"e192c579-6239-4fa9-9c06-6f292b27d350\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '628' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:24:38 GMT + etag: + - W/"e192c579-6239-4fa9-9c06-6f292b27d350" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 01278a0e-1d38-4655-a8a1-dc3a072dc90d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"eastus","properties":{"accountEndpoint":"testprivatelink.pilotprod2.eastus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' + headers: + cache-control: + - no-cache + content-length: + - '2314' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:09 GMT + etag: + - '"0x8D7FCDA3E28A22D"' + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:24:17 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account keys list + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g --query -o + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/listKeys?api-version=2020-03-01 + response: + body: + string: '{"accountName":"testprivatelink","primary":"Q51sS4F+yF3gOUaFt4uVczKTGnm2bI3V753687uupKGVl9xoa72qGAhjWPUYOfCo03oqUvtscJa90BJF6Oc6Lw==","secondary":"w2Fl3/jXujs+qDq6d0JRYlyvF67F5ubgeIv0svGhZt4WXKplUy6ABPwnVTrFf/s4TjDOivhC3TTBGR2NZMdJSw=="}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-20T16:24:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: 'b''{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink", + "groupIds": ["batchAccount"]}, "name": "priv_endpointconn000005"}]}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '648' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n + \ \"etag\": \"W/\\\"6c3a7ab2-63a2-4c39-8c44-83dab9c9f435\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"b22280bd-6a68-4fc7-956c-35d86f41c4f7\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n + \ \"etag\": \"W/\\\"6c3a7ab2-63a2-4c39-8c44-83dab9c9f435\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.22afa6e1-2af8-4db1-8fab-112f02dfcf36\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '2334' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 074797d0-dbd8-40c7-97eb-1e156501ede3 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - dfd9454b-3903-4bfa-8f82-b12ee8903199 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 986554b5-d0aa-44b7-9bad-f4fb95706436 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5c924df6-1e4b-4098-9a19-333cc4600ec4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:25:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 58befcd7-67ad-45c7-815a-b55729cf971c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 49195127-7ef6-43db-a16e-e710327514a9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n + \ \"etag\": \"W/\\\"6bd05372-6e01-405e-8428-b7f9dbffab9a\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"b22280bd-6a68-4fc7-956c-35d86f41c4f7\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n + \ \"etag\": \"W/\\\"6bd05372-6e01-405e-8428-b7f9dbffab9a\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n + \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.22afa6e1-2af8-4db1-8fab-112f02dfcf36\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2367' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:06 GMT + etag: + - W/"6bd05372-6e01-405e-8428-b7f9dbffab9a" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3b8d451f-c52a-471b-8d02-9f0ebe961a05 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --type + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-03-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}' + headers: + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:09 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$fa3e0ec2-e14e-4564-b282-477e86630b13?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '891' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:09 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$fa3e0ec2-e14e-4564-b282-477e86630b13?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:25 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:26 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$5e07349d-eafe-4c5d-959a-493b1c94128d?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '891' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:27 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$5e07349d-eafe-4c5d-959a-493b1c94128d?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:42 GMT + etag: + - W/"0x8D7FCDA6DA570B8" + expires: + - '-1' + last-modified: + - Wed, 20 May 2020 16:25:36 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 20 May 2020 16:26:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 64b84f79-14d7-400d-a0dd-cfd13b9f00cf + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:26:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ce58509d-59da-4f75-8246-48c5c2ac6dd2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 20 May 2020 16:27:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -144,6 +1665,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 694a221f-6fb8-4388-9503-a25ac12bc00b status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index 9789bf3f2f5..7f2815e8e6e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -3,8 +3,9 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import unittest +import os import time +import unittest from azure.cli.testsdk import ( ScenarioTest, ResourceGroupPreparer, StorageAccountPreparer) @@ -599,22 +600,92 @@ def _test_private_endpoint_connection(self, resource_group, server, database_eng class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest, BatchScenarioMixin): + def _get_test_data_file(self, filename): + filepath = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename) + self.assertTrue(os.path.isfile(filepath), 'File {} does not exist.'.format(filepath)) + return filepath + # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited - @ResourceGroupPreparer() - @BatchAccountPreparer(location='northcentralus') - def test_private_link_resource_batch_account(self, resource_group, batch_account_name): + @ResourceGroupPreparer(location='eastus') + def test_private_link_resource_batch_account(self, resource_group, batch_account_name='testprivatelink'): self.kwargs.update({ - 'ba': batch_account_name, - 'rg': resource_group}) - self.cmd('network private-link-resource list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') - - @ResourceGroupPreparer() - @BatchAccountPreparer(location='southcentralus') - def test_private_endpoint_connection_batch_account(self, resource_group, batch_account_name): + 'vnet_name': self.create_random_name('testvnet', 20), + 'subnet_name': self.create_random_name('testsubnet', 20), + 'second_endpoint_name': self.create_random_name('priv_endpoint', 25), + 'second_endpoint_conn_name': self.create_random_name('priv_endpointconn', 25), + 'approval_desc': 'You are approved!', + 'rejection_desc': 'You are rejected!', + 'rg': resource_group, + 'acc_n': batch_account_name, + 'loc': 'eastus' + }) + account = self.cmd('batch account create -g {rg} -n {acc_n} -l {loc} --public-network-access disabled').assert_with_checks([ + self.check('name', '{acc_n}'), + self.check('location', '{loc}'), + self.check('resourceGroup', '{rg}')]).get_output_in_json() + self.kwargs['acc_id'] = account['id'] + # create subnet with disabled endpoint network policies + self.cmd('network vnet create -g {rg} -n {vnet_name} --subnet-name {subnet_name}') + self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet_name} --name {subnet_name} --disable-private-endpoint-network-policies true') + if self.is_live or self.in_recording: + import time + time.sleep(30) + + endpoint = self.get_account_endpoint( + batch_account_name, + resource_group).replace("https://", "") + key = self.get_account_key( + batch_account_name, + resource_group) self.kwargs.update({ - 'ba': batch_account_name, - 'rg': resource_group}) - self.cmd('network private-endpoint-connection list --name {ba} -g {rg} --type Microsoft.Batch/batchAccounts') + 'acc_k': key, + 'acc_u': endpoint + }) + + # add an endpoint and then reject it + self.cmd( + 'network private-endpoint create ' + '-n {second_endpoint_name} ' + '-g {rg} ' + '--subnet {subnet_name} ' + '--vnet-name {vnet_name} ' + '--private-connection-resource-id {acc_id} ' + '--group-ids batchAccount ' + '--connection-name {second_endpoint_conn_name} ' + '--manual-request').get_output_in_json() + private_endpoints = self.cmd('network private-endpoint-connection list --name {acc_n} --resource-group {rg} --type Microsoft.Batch/batchAccounts', checks=[ + self.check('length(@)', 1) + ]).get_output_in_json() + self.kwargs['pe_id'] = private_endpoints[0]["id"] + self.kwargs['pe_name'] = private_endpoints[0]['name'] + + self.cmd( + 'network private-endpoint-connection approve --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' + '--description "{approval_desc}"') + if self.is_live or self.in_recording: + import time + time.sleep(15) + self.cmd( + 'network private-endpoint-connection show --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts', + checks=[ + self.check('name', '{pe_name}'), + self.check('privateLinkServiceConnectionState.status', 'Approved'), + self.check('privateLinkServiceConnectionState.description', '{approval_desc}')]) + + self.cmd('network private-endpoint-connection reject --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' + '--description "{rejection_desc}"') + if self.is_live or self.in_recording: + import time + time.sleep(15) + self.cmd('network private-endpoint-connection show --id {pe_id}', + checks=[ + self.check('id', '{pe_id}'), + self.check('privateLinkServiceConnectionState.status', 'Rejected'), + self.check('privateLinkServiceConnectionState.description', '{rejection_desc}')]) + + # Test delete + self.cmd('network private-endpoint-connection delete --id {pe_id} -y') + self.cmd('network private-endpoint delete -n {second_endpoint_name} -g {rg}') class NetworkPrivateLinkCosmosDBScenarioTest(ScenarioTest): From 97b684d6f0095d63286aff2bb7f671fff1aabf08 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 26 May 2020 08:43:54 -0700 Subject: [PATCH 08/13] Update sdk version --- .../test_batch_application_cmd.yaml | 50 +++++++++---------- .../test_batch_certificate_cmd.yaml | 8 +-- .../test_batch_general_arm_cmd.yaml | 28 +++++------ .../recordings/test_batch_network_cmd.yaml | 14 +++--- ...t_private_link_resource_batch_account.yaml | 22 ++++---- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 9 files changed, 65 insertions(+), 65 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml index dfe8e4fdce1..86f252b3edc 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml @@ -169,7 +169,7 @@ interactions: - -g -n -l --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -216,7 +216,7 @@ interactions: - -g -n -l --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/15a6036d-22b3-49df-a4a6-e343a04951ea?api-version=2020-03-01 response: @@ -267,7 +267,7 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -324,7 +324,7 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -379,7 +379,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -432,7 +432,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -481,7 +481,7 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -534,7 +534,7 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -591,7 +591,7 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -690,7 +690,7 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -745,7 +745,7 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -798,7 +798,7 @@ interactions: - -g -n --application-name --version --format User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -855,7 +855,7 @@ interactions: - -g -n --application-name --version --format User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -910,7 +910,7 @@ interactions: - -g -n --application-name --version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -963,7 +963,7 @@ interactions: - -g -n --application-name --version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1016,7 +1016,7 @@ interactions: - -g -n --application-name --default-version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1073,7 +1073,7 @@ interactions: - -g -n --application-name --default-version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH @@ -1128,7 +1128,7 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1181,7 +1181,7 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1234,7 +1234,7 @@ interactions: - -g -n --application-name --version --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1289,7 +1289,7 @@ interactions: - -g -n --application-name --version --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE @@ -1334,7 +1334,7 @@ interactions: - -g -n --application-name --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1389,7 +1389,7 @@ interactions: - -g -n --application-name --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE @@ -1434,7 +1434,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1487,7 +1487,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET 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 cabea030db5..0cb67837289 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 @@ -18,7 +18,7 @@ interactions: - -n -g -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -65,7 +65,7 @@ interactions: - -n -g -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-03-01 response: @@ -118,7 +118,7 @@ interactions: - -n -g --query -o User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -169,7 +169,7 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml index 13006c80a5d..af40653f2bf 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml @@ -118,7 +118,7 @@ interactions: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -165,7 +165,7 @@ interactions: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/19a8aa03-2d59-4ac3-b0c9-5e78ef4d1fc8?api-version=2020-03-01 response: @@ -269,7 +269,7 @@ interactions: - -g -n --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH @@ -324,7 +324,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -379,7 +379,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -424,7 +424,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -479,7 +479,7 @@ interactions: - -g -n --key-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -530,7 +530,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -583,7 +583,7 @@ interactions: - -g -n --shared-key-auth User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -638,7 +638,7 @@ interactions: - -g -n --shared-key-auth User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -691,7 +691,7 @@ interactions: - -g -n --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: DELETE @@ -738,7 +738,7 @@ interactions: - -g -n --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-51b07fd6-f7e7-4761-b7a6-c7b0c19fc40d?api-version=2020-03-01 response: @@ -779,7 +779,7 @@ interactions: - -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -828,7 +828,7 @@ interactions: - -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml index 5385452a114..05dfb8d0fa3 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml @@ -18,7 +18,7 @@ interactions: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -65,7 +65,7 @@ interactions: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/operationResults/11cd88c1-3755-40d8-a0c3-86dc73003def?api-version=2020-03-01 response: @@ -118,7 +118,7 @@ interactions: - -n -g --query -o User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -169,7 +169,7 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -222,7 +222,7 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -275,7 +275,7 @@ interactions: - -g --account-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -324,7 +324,7 @@ interactions: - -g --account-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index 415c4506a19..94357c33d5a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -18,7 +18,7 @@ interactions: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PUT @@ -65,7 +65,7 @@ interactions: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/83edc811-a97a-45fb-83df-e572f4c2e164?api-version=2020-03-01 response: @@ -586,7 +586,7 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -641,7 +641,7 @@ interactions: - -n -g --query -o User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: POST @@ -1141,7 +1141,7 @@ interactions: - --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1191,7 +1191,7 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1250,7 +1250,7 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH @@ -1306,7 +1306,7 @@ interactions: - --resource-name --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1360,7 +1360,7 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET @@ -1419,7 +1419,7 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: PATCH @@ -1475,7 +1475,7 @@ interactions: - --id User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 accept-language: - en-US method: GET diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index ccd35f9003a..8f3333f63b6 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.0 +azure-mgmt-batch==8.0.1 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index bdd687dd87e..85af394bea4 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.0 +azure-mgmt-batch==8.0.1 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 78e7d48fa4d..5ca22f67305 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -20,7 +20,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.0 +azure-mgmt-batch==8.0.1 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 327f781876f..89571254743 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -65,7 +65,7 @@ 'azure-mgmt-applicationinsights~=0.1.1', 'azure-mgmt-appconfiguration~=0.4.0', 'azure-mgmt-authorization~=0.52.0', - 'azure-mgmt-batch~=8.0.0', + 'azure-mgmt-batch~=8.0.1', 'azure-mgmt-batchai~=2.0', 'azure-mgmt-billing~=0.2', 'azure-mgmt-botservice~=0.2.0', From 8abe7065a2a51730712cb75a9d10d759470256d0 Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 26 May 2020 15:07:40 -0700 Subject: [PATCH 09/13] pylint --- .../custom.py | 3 +- .../resource_providers/__init__.py | 3 - .../resource_providers/batch_provider.py | 69 +++++++++---------- .../latest/test_private_endpoint_commands.py | 12 ++-- 4 files changed, 42 insertions(+), 45 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index b14bdfb5663..5baf45edc6c 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -3,7 +3,8 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from .resource_providers import GeneralPrivateEndpointClient, BatchPrivateEndpointClient +from .resource_providers import GeneralPrivateEndpointClient +from .resource_providers.batch_provider import BatchPrivateEndpointClient from knack.util import CLIError TYPE_CLIENT_MAPPING = { diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py index 99a128a544c..0fc062d1009 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/__init__.py @@ -183,6 +183,3 @@ def _build_resource_url_endpoint(resource_group_name, namespace_type, resource_n resource_name=resource_name, api_version=api_version) return resource_url_endpoint - - -from .batch_provider import BatchPrivateEndpointClient diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py index 761b57c900f..e99a9010157 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py @@ -2,7 +2,6 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azure.cli.core.profiles import ResourceType from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.mgmt.batch import BatchManagementClient from azure.mgmt.batch.models import PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStatus @@ -12,52 +11,51 @@ logger = get_logger(__name__) -def _update_private_endpoint_connection_status(cmd, client, resource_group_name, - account_name, private_endpoint_connection_name, - is_approved=True, description=None): - private_endpoint_connection = client.get(resource_group_name=resource_group_name, account_name=account_name, - private_endpoint_connection_name=private_endpoint_connection_name) - - new_status = PrivateLinkServiceConnectionState( - status=PrivateLinkServiceConnectionStatus.approved, - description=description) if is_approved else \ - PrivateLinkServiceConnectionState( - status=PrivateLinkServiceConnectionStatus.rejected, - description=description) - - return client.update(resource_group_name=resource_group_name, - account_name=account_name, - private_endpoint_connection_name=private_endpoint_connection_name, - private_link_service_connection_state=new_status) - - class BatchPrivateEndpointClient(PrivateEndpointClient): + @staticmethod + def _update_private_endpoint_connection_status(client, resource_group_name, + account_name, + private_endpoint_connection_name, + is_approved=True, + description=None): + new_status = PrivateLinkServiceConnectionState( + status=PrivateLinkServiceConnectionStatus.approved, + description=description) if is_approved else \ + PrivateLinkServiceConnectionState( + status=PrivateLinkServiceConnectionStatus.rejected, + description=description) + + return client.update( + resource_group_name=resource_group_name, + account_name=account_name, + private_endpoint_connection_name=private_endpoint_connection_name, + private_link_service_connection_state=new_status) def list_private_link_resource(self, cmd, resource_group_name, name): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_link_resources + client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_link_resource return client.list_by_batch_account(resource_group_name, name) def approve_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name, approval_description=None): client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection - return _update_private_endpoint_connection_status(cmd=cmd, - client=client, - resource_group_name=resource_group_name, - account_name=resource_name, - private_endpoint_connection_name=name, - is_approved=True, - description=approval_description) + return self._update_private_endpoint_connection_status( + client=client, + resource_group_name=resource_group_name, + account_name=resource_name, + private_endpoint_connection_name=name, + is_approved=True, + description=approval_description) def reject_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name, rejection_description=None): client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection - return _update_private_endpoint_connection_status(cmd=cmd, - client=client, - resource_group_name=resource_group_name, - account_name=resource_name, - private_endpoint_connection_name=name, - is_approved=False, - description=rejection_description) + return self._update_private_endpoint_connection_status( + client=client, + resource_group_name=resource_group_name, + account_name=resource_name, + private_endpoint_connection_name=name, + is_approved=False, + description=rejection_description) def remove_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): logger.error("Microsoft.Batch/batchAccounts does not currently support deleting private endpoint " @@ -67,6 +65,7 @@ def show_private_endpoint_connection(self, cmd, resource_group_name, resource_na client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection return client.get(resource_group_name, resource_name, name) + # pylint: disable=R0201 def list_private_endpoint_connection(self, cmd, resource_group_name, resource_name): client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection return client.list_by_batch_account(resource_group_name=resource_group_name, account_name=resource_name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index 7f2815e8e6e..e04dc5ad610 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -628,8 +628,8 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account self.cmd('network vnet create -g {rg} -n {vnet_name} --subnet-name {subnet_name}') self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet_name} --name {subnet_name} --disable-private-endpoint-network-policies true') if self.is_live or self.in_recording: - import time - time.sleep(30) + import time + time.sleep(30) endpoint = self.get_account_endpoint( batch_account_name, @@ -663,8 +663,8 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account 'network private-endpoint-connection approve --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' '--description "{approval_desc}"') if self.is_live or self.in_recording: - import time - time.sleep(15) + import time + time.sleep(15) self.cmd( 'network private-endpoint-connection show --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts', checks=[ @@ -675,8 +675,8 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account self.cmd('network private-endpoint-connection reject --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' '--description "{rejection_desc}"') if self.is_live or self.in_recording: - import time - time.sleep(15) + import time + time.sleep(15) self.cmd('network private-endpoint-connection show --id {pe_id}', checks=[ self.check('id', '{pe_id}'), From b5e56d82bfeed7c277876c3663f931835bbeafbd Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 26 May 2020 16:42:19 -0700 Subject: [PATCH 10/13] rerecord test due to develop taking a newer networking sdk --- .../recordings/test_batch_network_cmd.yaml | 361 -------- ...t_private_link_resource_batch_account.yaml | 872 +++++++++++++----- .../latest/test_private_endpoint_commands.py | 17 +- 3 files changed, 660 insertions(+), 590 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml deleted file mode 100644 index 05dfb8d0fa3..00000000000 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_network_cmd.yaml +++ /dev/null @@ -1,361 +0,0 @@ -interactions: -- request: - body: '{"location": "westeurope", "properties": {"publicNetworkAccess": "Enabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - Content-Length: - - '76' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 04 May 2020 22:18:31 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/operationResults/11cd88c1-3755-40d8-a0c3-86dc73003def?api-version=2020-03-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/operationResults/11cd88c1-3755-40d8-a0c3-86dc73003def?api-version=2020-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' - headers: - cache-control: - - no-cache - content-length: - - '2254' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:46 GMT - etag: - - '"0x8D7F0791D9A8B87"' - expires: - - '-1' - last-modified: - - Mon, 04 May 2020 22:18:47 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account keys list - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -n -g --query -o - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/listKeys?api-version=2020-03-01 - response: - body: - string: '{"accountName":"clibatchtest9","primary":"ZO029WUJxY0gVtTwmQOousT0n0pBrkHCqeZFr0jMJ3aa2s49W+KWFOiCHcStfZOsQt8lKviXZF+XM7CXg4aJUA==","secondary":"vPz8pGbbFWw7Rk2Ii0Tb5HDyBYGEDbnKHDxlk1f6MjTQFbHp//qHHQeToi6glmDJG8ptziC2n8QbUdoI4YOGtg=="}' - headers: - cache-control: - - no-cache - content-length: - - '235' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' - headers: - cache-control: - - no-cache - content-length: - - '2254' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:49 GMT - etag: - - '"0x8D7F07913E72AD2"' - expires: - - '-1' - last-modified: - - Mon, 04 May 2020 22:18:31 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account login - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9?api-version=2020-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9","name":"clibatchtest9","type":"Microsoft.Batch/batchAccounts","location":"westeurope","properties":{"accountEndpoint":"clibatchtest9.westeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' - headers: - cache-control: - - no-cache - content-length: - - '2254' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:50 GMT - etag: - - '"0x8D7F07913E72AD2"' - expires: - - '-1' - last-modified: - - Mon, 04 May 2020 22:18:31 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch private-link-resource list - Connection: - - keep-alive - ParameterSetName: - - -g --account-name - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/privateLinkResources?api-version=2020-03-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch private-endpoint-connection list - Connection: - - keep-alive - ParameterSetName: - - -g --account-name - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest9/privateEndpointConnections?api-version=2020-03-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 04 May 2020 22:18:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index 94357c33d5a..ce5d3de2a91 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus", "properties": {"publicNetworkAccess": "Disabled"}}' + body: '{"location": "westcentralus", "properties": {"publicNetworkAccess": "Disabled"}}' headers: Accept: - application/json @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive Content-Length: - - '73' + - '80' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT @@ -32,11 +32,11 @@ interactions: content-length: - '0' date: - - Wed, 20 May 2020 16:24:10 GMT + - Tue, 26 May 2020 23:36:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/83edc811-a97a-45fb-83df-e572f4c2e164?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/143a44a6-516c-47d9-b564-a44a1c176718?api-version=2020-03-01 pragma: - no-cache server: @@ -65,27 +65,27 @@ interactions: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/83edc811-a97a-45fb-83df-e572f4c2e164?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/143a44a6-516c-47d9-b564-a44a1c176718?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"eastus","properties":{"accountEndpoint":"testprivatelink.pilotprod2.eastus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2314' + - '2317' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:25 GMT + - Tue, 26 May 2020 23:36:18 GMT etag: - - '"0x8D7FCDA437722F9"' + - '"0x8D801CD973B5CB6"' expires: - '-1' last-modified: - - Wed, 20 May 2020 16:24:26 GMT + - Tue, 26 May 2020 23:36:19 GMT pragma: - no-cache server: @@ -116,23 +116,23 @@ interactions: - -g -n --subnet-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-20T16:24:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-26T23:35:59Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '435' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:26 GMT + - Tue, 26 May 2020 23:36:20 GMT expires: - '-1' pragma: @@ -147,9 +147,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "testsubnet000003"}]}}' + body: '{"location": "westcentralus", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "testsubnet000003"}]}}' headers: Accept: - application/json @@ -160,30 +160,30 @@ interactions: Connection: - keep-alive Content-Length: - - '218' + - '225' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n --subnet-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"ca993362-6b8c-40b3-a8e0-ceb0098a4842\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"57b12380-2622-4cf4-a7c3-0d1b85e70a4b\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"711caefd-93e9-4346-8975-6c4e0992d4bd\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"84aad1a5-7f51-461b-86c7-7cd823b322f4\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"ca993362-6b8c-40b3-a8e0-ceb0098a4842\\\"\",\r\n + \ \"etag\": \"W/\\\"57b12380-2622-4cf4-a7c3-0d1b85e70a4b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -194,15 +194,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d047a7ef-c3b4-48c3-9032-ba8266ab6674?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/61d0c2c1-fdac-4747-9c3d-020483ba85fa?api-version=2020-04-01 cache-control: - no-cache content-length: - - '1508' + - '1515' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:29 GMT + - Tue, 26 May 2020 23:36:23 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7a8088b2-2c2d-4d0a-9595-4c64ce5ac323 + - 3c4ade10-1c3e-4509-a8dd-58fdf92f1678 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -236,9 +236,9 @@ interactions: - -g -n --subnet-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d047a7ef-c3b4-48c3-9032-ba8266ab6674?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/61d0c2c1-fdac-4747-9c3d-020483ba85fa?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -250,7 +250,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:33 GMT + - Tue, 26 May 2020 23:36:26 GMT expires: - '-1' pragma: @@ -267,7 +267,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9a8cde1f-7228-4e27-b09f-649402ad4b9d + - 96bb1a0f-7081-4681-a0b9-4349fd1c2d1c status: code: 200 message: OK @@ -286,21 +286,21 @@ interactions: - -g -n --subnet-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"711caefd-93e9-4346-8975-6c4e0992d4bd\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"84aad1a5-7f51-461b-86c7-7cd823b322f4\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n + \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -311,13 +311,13 @@ interactions: cache-control: - no-cache content-length: - - '1510' + - '1517' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:33 GMT + - Tue, 26 May 2020 23:36:26 GMT etag: - - W/"c635f8af-4694-4883-9f11-c9d8fe40ce0e" + - W/"75069ce7-4182-46fc-ba05-53a8ff05b11d" expires: - '-1' pragma: @@ -334,7 +334,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 06a4c80c-4158-4716-953e-4bf5ba87c4e6 + - cacae6ef-d3f2-464c-81c7-740b795b9bcb status: code: 200 message: OK @@ -353,15 +353,15 @@ interactions: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"c635f8af-4694-4883-9f11-c9d8fe40ce0e\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -374,9 +374,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:34 GMT + - Tue, 26 May 2020 23:36:27 GMT etag: - - W/"c635f8af-4694-4883-9f11-c9d8fe40ce0e" + - W/"75069ce7-4182-46fc-ba05-53a8ff05b11d" expires: - '-1' pragma: @@ -393,7 +393,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 32cc74d4-17a4-4c55-8609-1a5703b13c6b + - 4eafa1ba-0a97-4835-9384-1c53e423871e status: code: 200 message: OK @@ -418,22 +418,22 @@ interactions: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"b1ad4880-f96a-4073-bbe3-9c92664cd1d1\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"0d9eb99c-319a-418a-b3bf-bcfeb0482063\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/89fc7e7c-a2af-4011-acdd-8d72adc21f17?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/c8407c6e-4842-4159-9557-eceea12a1e03?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -441,7 +441,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:34 GMT + - Tue, 26 May 2020 23:36:27 GMT expires: - '-1' pragma: @@ -458,7 +458,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 41bb13fe-6986-475e-aa97-788d7510bfe4 + - 61d96f5b-e1a5-4990-a589-f557bab896e0 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -479,9 +479,9 @@ interactions: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/89fc7e7c-a2af-4011-acdd-8d72adc21f17?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/c8407c6e-4842-4159-9557-eceea12a1e03?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -493,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:38 GMT + - Tue, 26 May 2020 23:36:31 GMT expires: - '-1' pragma: @@ -510,7 +510,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5a3b5e1-ad62-41a8-b9e4-d0b354b13b90 + - d4597132-eb44-418b-998b-a5573f0074cc status: code: 200 message: OK @@ -529,13 +529,13 @@ interactions: - -g --vnet-name --name --disable-private-endpoint-network-policies User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"e192c579-6239-4fa9-9c06-6f292b27d350\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"50e601a2-fd71-4b0e-9908-77dcc99870d8\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -548,9 +548,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:24:38 GMT + - Tue, 26 May 2020 23:36:31 GMT etag: - - W/"e192c579-6239-4fa9-9c06-6f292b27d350" + - W/"50e601a2-fd71-4b0e-9908-77dcc99870d8" expires: - '-1' pragma: @@ -567,7 +567,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 01278a0e-1d38-4655-a8a1-dc3a072dc90d + - 28060a26-6620-47cc-8f37-a4be5c709a63 status: code: 200 message: OK @@ -586,29 +586,29 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"eastus","properties":{"accountEndpoint":"testprivatelink.pilotprod2.eastus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' headers: cache-control: - no-cache content-length: - - '2314' + - '2317' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:09 GMT + - Tue, 26 May 2020 23:37:01 GMT etag: - - '"0x8D7FCDA3E28A22D"' + - '"0x8D801CD9206FFB5"' expires: - '-1' last-modified: - - Wed, 20 May 2020 16:24:17 GMT + - Tue, 26 May 2020 23:36:10 GMT pragma: - no-cache server: @@ -641,14 +641,14 @@ interactions: - -n -g --query -o User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/listKeys?api-version=2020-03-01 response: body: - string: '{"accountName":"testprivatelink","primary":"Q51sS4F+yF3gOUaFt4uVczKTGnm2bI3V753687uupKGVl9xoa72qGAhjWPUYOfCo03oqUvtscJa90BJF6Oc6Lw==","secondary":"w2Fl3/jXujs+qDq6d0JRYlyvF67F5ubgeIv0svGhZt4WXKplUy6ABPwnVTrFf/s4TjDOivhC3TTBGR2NZMdJSw=="}' + string: '{"accountName":"testprivatelink","primary":"abc==","secondary":"def=="}' headers: cache-control: - no-cache @@ -657,7 +657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:10 GMT + - Tue, 26 May 2020 23:37:02 GMT expires: - '-1' pragma: @@ -693,23 +693,23 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-20T16:24:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-26T23:35:59Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '435' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:11 GMT + - Tue, 26 May 2020 23:37:03 GMT expires: - '-1' pragma: @@ -724,7 +724,7 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003"}, + body: 'b''{"location": "westcentralus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003"}, "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink", "groupIds": ["batchAccount"]}, "name": "priv_endpointconn000005"}]}}''' @@ -738,7 +738,7 @@ interactions: Connection: - keep-alive Content-Length: - - '648' + - '655' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -746,21 +746,21 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"6c3a7ab2-63a2-4c39-8c44-83dab9c9f435\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"1a3662fe-ca71-446e-8331-a481ba40fe04\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"b22280bd-6a68-4fc7-956c-35d86f41c4f7\",\r\n \"privateLinkServiceConnections\": + \"b5f85e87-4e1e-431f-b938-f63536d9c691\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"6c3a7ab2-63a2-4c39-8c44-83dab9c9f435\\\"\",\r\n + \ \"etag\": \"W/\\\"1a3662fe-ca71-446e-8331-a481ba40fe04\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n @@ -768,21 +768,21 @@ interactions: \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.22afa6e1-2af8-4db1-8fab-112f02dfcf36\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.8a9718ca-46e2-41d1-9e63-c11e0a29c01b\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 cache-control: - no-cache content-length: - - '2334' + - '2341' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:15 GMT + - Tue, 26 May 2020 23:37:06 GMT expires: - '-1' pragma: @@ -795,7 +795,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 074797d0-dbd8-40c7-97eb-1e156501ede3 + - 192caee9-4a3e-4891-9287-8ede67157777 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -817,9 +817,9 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -831,7 +831,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:26 GMT + - Tue, 26 May 2020 23:37:15 GMT expires: - '-1' pragma: @@ -848,7 +848,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dfd9454b-3903-4bfa-8f82-b12ee8903199 + - fd9b9e20-3cdd-4c26-81b7-5022ca66655c status: code: 200 message: OK @@ -868,9 +868,9 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -882,7 +882,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:25 GMT expires: - '-1' pragma: @@ -899,7 +899,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 986554b5-d0aa-44b7-9bad-f4fb95706436 + - 2e49d834-c80e-411c-b23f-8fa37a922606 status: code: 200 message: OK @@ -919,9 +919,9 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -933,7 +933,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:46 GMT + - Tue, 26 May 2020 23:37:35 GMT expires: - '-1' pragma: @@ -950,7 +950,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c924df6-1e4b-4098-9a19-333cc4600ec4 + - a3fe75a4-b0df-4366-a06a-4bd0b70062e2 status: code: 200 message: OK @@ -970,9 +970,9 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -984,7 +984,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:25:56 GMT + - Tue, 26 May 2020 23:37:46 GMT expires: - '-1' pragma: @@ -1001,7 +1001,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 58befcd7-67ad-45c7-815a-b55729cf971c + - 94fda98d-9593-4dd6-90e8-946a87826cdf status: code: 200 message: OK @@ -1021,21 +1021,21 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d653936e-171c-40f3-bd71-4ebd14cc1ba0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:06 GMT + - Tue, 26 May 2020 23:37:56 GMT expires: - '-1' pragma: @@ -1052,7 +1052,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 49195127-7ef6-43db-a16e-e710327514a9 + - 178d5891-85db-4604-ab2b-a4e5ee9342a3 status: code: 200 message: OK @@ -1072,40 +1072,21 @@ interactions: --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"6bd05372-6e01-405e-8428-b7f9dbffab9a\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"b22280bd-6a68-4fc7-956c-35d86f41c4f7\",\r\n \"privateLinkServiceConnections\": - [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": - \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"6bd05372-6e01-405e-8428-b7f9dbffab9a\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n - \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n - \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n - \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.22afa6e1-2af8-4db1-8fab-112f02dfcf36\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '2367' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:06 GMT - etag: - - W/"6bd05372-6e01-405e-8428-b7f9dbffab9a" + - Tue, 26 May 2020 23:38:06 GMT expires: - '-1' pragma: @@ -1122,7 +1103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3b8d451f-c52a-471b-8d02-9f0ebe961a05 + - 7c3f6268-93c3-4e14-89aa-484acd0abb81 status: code: 200 message: OK @@ -1134,37 +1115,36 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection list + - network private-endpoint create Connection: - keep-alive ParameterSetName: - - --name --resource-group --type + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual - approval still required","actionsRequired":"Manual approval request"}}}]}' + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '916' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:08 GMT + - Tue, 26 May 2020 23:38:16 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1173,6 +1153,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 5e1679a2-5973-4169-8f3f-5225ce77d4af status: code: 200 message: OK @@ -1184,37 +1166,103 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection approve + - network private-endpoint create Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type --description + - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name + --manual-request + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 + response: + body: + string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n + \ \"etag\": \"W/\\\"a77fa3d6-2458-4d35-8a07-c80de58dc582\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"b5f85e87-4e1e-431f-b938-f63536d9c691\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n + \ \"etag\": \"W/\\\"a77fa3d6-2458-4d35-8a07-c80de58dc582\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n + \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.8a9718ca-46e2-41d1-9e63-c11e0a29c01b\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2374' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:38:17 GMT + etag: + - W/"a77fa3d6-2458-4d35-8a07-c80de58dc582" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ba2d1a91-7f17-4279-9e36-c32b027c6c15 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual - approval still required","actionsRequired":"Manual approval request"}}}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}]}' headers: cache-control: - no-cache content-length: - - '904' + - '916' content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:09 GMT - etag: - - W/"0x8D7FCDA6DA570B8" + - Tue, 26 May 2020 23:38:18 GMT expires: - '-1' - last-modified: - - Wed, 20 May 2020 16:25:36 GMT pragma: - no-cache server: @@ -1250,18 +1298,18 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$fa3e0ec2-e14e-4564-b282-477e86630b13?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -1269,15 +1317,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:09 GMT + - Tue, 26 May 2020 23:38:19 GMT etag: - - W/"0x8D7FCDA6DA570B8" + - W/"0x8D801CDB73823AD" expires: - '-1' last-modified: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$fa3e0ec2-e14e-4564-b282-477e86630b13?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 pragma: - no-cache server: @@ -1299,21 +1347,66 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection show + - network private-endpoint-connection approve Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type + - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 - accept-language: - - en-US + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 + response: + body: + string: '{"status":"Succeeded","retryAfter":0}' + headers: + cache-control: + - no-cache + content-length: + - '37' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:38:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1323,13 +1416,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:25 GMT + - Tue, 26 May 2020 23:38:35 GMT etag: - - W/"0x8D7FCDA6DA570B8" + - W/"0x8D801CDB73823AD" expires: - '-1' last-modified: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:12 GMT pragma: - no-cache server: @@ -1353,21 +1446,21 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection reject + - network private-endpoint-connection show Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type --description + - --resource-name --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1377,13 +1470,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:26 GMT + - Tue, 26 May 2020 23:38:51 GMT etag: - - W/"0x8D7FCDA6DA570B8" + - W/"0x8D801CDB73823AD" expires: - '-1' last-modified: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:12 GMT pragma: - no-cache server: @@ -1419,18 +1512,18 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$5e07349d-eafe-4c5d-959a-493b1c94128d?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -1438,15 +1531,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:27 GMT + - Tue, 26 May 2020 23:38:52 GMT etag: - - W/"0x8D7FCDA6DA570B8" + - W/"0x8D801CDB73823AD" expires: - '-1' last-modified: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7$5e07349d-eafe-4c5d-959a-493b1c94128d?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 pragma: - no-cache server: @@ -1460,6 +1553,105 @@ interactions: status: code: 202 message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 + response: + body: + string: '{"status":"Succeeded","retryAfter":0}' + headers: + cache-control: + - no-cache + content-length: + - '37' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:39:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --resource-name --name --resource-group --type --description + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' + headers: + cache-control: + - no-cache + content-length: + - '892' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:39:08 GMT + etag: + - W/"0x8D801CDB73823AD" + expires: + - '-1' + last-modified: + - Tue, 26 May 2020 23:37:12 GMT + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: @@ -1475,14 +1667,14 @@ interactions: - --id User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","name":"priv_endpoint000004.b22280bd-6a68-4fc7-956c-35d86f41c4f7","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D7FCDA6DA570B8\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1492,13 +1684,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:42 GMT + - Tue, 26 May 2020 23:39:24 GMT etag: - - W/"0x8D7FCDA6DA570B8" + - W/"0x8D801CDB73823AD" expires: - '-1' last-modified: - - Wed, 20 May 2020 16:25:36 GMT + - Tue, 26 May 2020 23:37:12 GMT pragma: - no-cache server: @@ -1531,11 +1723,11 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 response: body: string: '' @@ -1543,17 +1735,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 20 May 2020 16:26:44 GMT + - Tue, 26 May 2020 23:39:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 pragma: - no-cache server: @@ -1564,7 +1756,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 64b84f79-14d7-400d-a0dd-cfd13b9f00cf + - 5ecc0e76-84bc-410e-86e5-f14035c56058 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -1585,9 +1777,259 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b10989d5-42d9-48db-823e-fea690c10775 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:39:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 122b33b5-2655-49a8-9734-5528cbda1ef7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:39:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ae3e8742-9fe1-4808-afe8-a0da9c16bdba + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:40:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2fe9dd79-a31a-4418-8373-cf88b85aa8d6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 26 May 2020 23:40:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 515c0fba-c2f2-4a49-902b-e96947e613fb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1599,7 +2041,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:26:54 GMT + - Tue, 26 May 2020 23:40:26 GMT expires: - '-1' pragma: @@ -1616,7 +2058,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ce58509d-59da-4f75-8246-48c5c2ac6dd2 + - b629d9d9-dffa-47dc-9600-c7e3c6e7a349 status: code: 200 message: OK @@ -1635,9 +2077,9 @@ interactions: - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6eec643-abe3-42ab-8b4d-37423dfc324a?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1649,7 +2091,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 20 May 2020 16:27:04 GMT + - Tue, 26 May 2020 23:40:36 GMT expires: - '-1' pragma: @@ -1666,7 +2108,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 694a221f-6fb8-4388-9503-a25ac12bc00b + - c360a601-8c58-4db5-a9f9-bcd1e68017d3 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index e04dc5ad610..b4537c5b374 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -599,14 +599,14 @@ def _test_private_endpoint_connection(self, resource_group, server, database_eng .format(server_pec_id)) -class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest, BatchScenarioMixin): +class NetworkPrivateLinkBatchAccountScenarioTest(ScenarioTest): def _get_test_data_file(self, filename): filepath = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename) self.assertTrue(os.path.isfile(filepath), 'File {} does not exist.'.format(filepath)) return filepath # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited - @ResourceGroupPreparer(location='eastus') + @ResourceGroupPreparer(location='westcentralus') def test_private_link_resource_batch_account(self, resource_group, batch_account_name='testprivatelink'): self.kwargs.update({ 'vnet_name': self.create_random_name('testvnet', 20), @@ -617,7 +617,7 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account 'rejection_desc': 'You are rejected!', 'rg': resource_group, 'acc_n': batch_account_name, - 'loc': 'eastus' + 'loc': 'westcentralus' }) account = self.cmd('batch account create -g {rg} -n {acc_n} -l {loc} --public-network-access disabled').assert_with_checks([ self.check('name', '{acc_n}'), @@ -631,17 +631,6 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account import time time.sleep(30) - endpoint = self.get_account_endpoint( - batch_account_name, - resource_group).replace("https://", "") - key = self.get_account_key( - batch_account_name, - resource_group) - self.kwargs.update({ - 'acc_k': key, - 'acc_u': endpoint - }) - # add an endpoint and then reject it self.cmd( 'network private-endpoint create ' From 223b3bdf4309b9550e7b480d0eeb65ff972b073c Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Wed, 27 May 2020 08:20:26 -0700 Subject: [PATCH 11/13] Revert _share.py --- src/azure-cli-core/azure/cli/core/profiles/_shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index ec1047c6022..4295216db08 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -54,7 +54,6 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_APPSERVICE = ('azure.mgmt.web', 'WebSiteManagementClient') MGMT_IOTHUB = ('azure.mgmt.iothub', 'IotHubClient') MGMT_ARO = ('azure.mgmt.redhatopenshift', 'AzureRedHatOpenShiftClient') - MGMT_BATCH = ('azure.mgmt.batch', 'BatchManagementClient') # the "None" below will stay till a command module fills in the type so "get_mgmt_service_client" # can be provided with "ResourceType.XXX" to initialize the client object. This usually happens # when related commands start to support Multi-API @@ -64,6 +63,7 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_ADVISOR = ('azure.mgmt.advisor', None) MGMT_MEDIA = ('azure.mgmt.media', None) MGMT_BACKUP = ('azure.mgmt.recoveryservicesbackup', None) + MGMT_BATCH = ('azure.mgmt.batch', None) MGMT_BATCHAI = ('azure.mgmt.batchai', None) MGMT_BILLING = ('azure.mgmt.billing', None) MGMT_BOTSERVICE = ('azure.mgmt.botservice', None) From ba37e9611ead94ea58542dab8f017d8f153df29a Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Tue, 2 Jun 2020 10:52:29 -0700 Subject: [PATCH 12/13] Add May updates --- .../cli/command_modules/batch/_params.py | 8 +- .../azure/cli/command_modules/batch/custom.py | 31 +- .../test_batch_application_cmd.yaml | 343 ++++---- .../test_batch_certificate_cmd.yaml | 10 +- .../test_batch_general_arm_cmd.yaml | 158 ++-- .../recordings/test_batch_job_list_cmd.yaml | 4 +- .../recordings/test_batch_jobs_and_tasks.yaml | 10 +- .../recordings/test_batch_pool_cmd.yaml | 4 +- .../test_batch_pools_and_nodes.yaml | 4 +- .../test_batch_task_create_cmd.yaml | 10 +- ...t_private_link_resource_batch_account.yaml | 766 ++++++------------ src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 15 files changed, 557 insertions(+), 799 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_params.py b/src/azure-cli/azure/cli/command_modules/batch/_params.py index e1362db5a4e..6c32f8a753d 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -7,7 +7,9 @@ from knack.arguments import CLIArgumentType -from azure.mgmt.batch.models import AccountKeyType, KeySource, PublicNetworkAccessType +from azure.mgmt.batch.models import \ + AccountKeyType, KeySource,\ + PublicNetworkAccessType, ResourceIdentityType from azure.batch.models import ComputeNodeDeallocationOption from azure.cli.core.commands.parameters import \ @@ -55,13 +57,15 @@ def load_arguments(self, _): c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault', arg_type=get_enum_type(KeySource)) c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. ' 'Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') + c.argument('identity_type', help="The type of identity used for the Batch account. Possible values include: 'SystemAssigned', 'None'.", arg_type=get_enum_type(ResourceIdentityType)) c.ignore('keyvault_url') with self.argument_context('batch account set') as c: c.argument('tags', tags_type) c.argument('storage_account', help='The storage account name or resource ID to be used for auto storage.', validator=storage_account_id) c.argument('encryption_key_source', help='Part of the encryption configuration for the Batch account. Type of the key source. Can be either Microsoft.Batch or Microsoft.KeyVault') - c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. ' 'Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') + c.argument('encryption_key_identifier', help='Part of the encryption configuration for the Batch account. Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.') + c.argument('identity_type', help="The type of identity used for the Batch account. Possible values include: 'SystemAssigned', 'None'.", arg_type=get_enum_type(ResourceIdentityType)) with self.argument_context('batch account keys renew') as c: c.argument('key_name', arg_type=get_enum_type(AccountKeyType)) 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 30f5ff7b53d..ef59eb6dc17 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -12,9 +12,10 @@ from msrest.exceptions import DeserializationError from azure.mgmt.batch import BatchManagementClient -from azure.mgmt.batch.models import (BatchAccountCreateParameters, +from azure.mgmt.batch.models import (BatchAccountCreateParameters, BatchAccountUpdateParameters, AutoStorageBaseProperties, - Application, EncryptionProperties, KeyVaultProperties) + Application, EncryptionProperties, + KeyVaultProperties, BatchAccountIdentity) from azure.mgmt.batch.operations import (ApplicationPackageOperations) from azure.batch.models import (CertificateAddParameter, PoolStopResizeOptions, PoolResizeParameter, @@ -75,9 +76,10 @@ def get_account(cmd, client, resource_group_name=None, account_name=None): def create_account(client, resource_group_name, account_name, location, tags=None, storage_account=None, keyvault=None, keyvault_url=None, no_wait=False, public_network_access=None, - encryption_key_source=None, encryption_key_identifier=None): + encryption_key_source=None, encryption_key_identifier=None, identity_type=None): properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None + identity = BatchAccountIdentity(type=identity_type) if identity_type else None if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: raise ValueError("The --encryption-key-identifier property is required when " "--encryption-key-source is set to Microsoft.KeyVault") @@ -90,7 +92,8 @@ def create_account(client, tags=tags, auto_storage=properties, public_network_access=public_network_access, - encryption=encryption) + encryption=encryption, + identity=identity) if keyvault: parameters.key_vault_reference = {'id': keyvault, 'url': keyvault_url} parameters.pool_allocation_mode = 'UserSubscription' @@ -101,13 +104,27 @@ def create_account(client, @transfer_doc(AutoStorageBaseProperties) def update_account(client, resource_group_name, account_name, - tags=None, storage_account=None): + tags=None, storage_account=None, encryption_key_source=None, + encryption_key_identifier=None, identity_type=None): properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None + if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: + raise ValueError("The --encryption-key-identifier property is required when " + "--encryption-key-source is set to Microsoft.KeyVault") + encryption_key_identifier = KeyVaultProperties(key_identifier=encryption_key_identifier) \ + if encryption_key_identifier else None + encryption = EncryptionProperties( + key_source=encryption_key_source, + encryption_key_identifier=encryption_key_identifier) if encryption_key_source else None + identity = BatchAccountIdentity(type=identity_type) if identity_type else None + parameters = BatchAccountUpdateParameters( + tags=tags, + encryption=encryption, + identity=identity, + auto_storage=properties) return client.update(resource_group_name=resource_group_name, account_name=account_name, - tags=tags, - auto_storage=properties) + parameters=parameters) # pylint: disable=inconsistent-return-statements diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml index 86f252b3edc..b6e397585ec 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_application_cmd.yaml @@ -18,7 +18,7 @@ interactions: - -g -n -l --sku User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT @@ -34,11 +34,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 04 May 2020 22:17:07 GMT + - Tue, 02 Jun 2020 16:14:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/b2a47e32-6c42-4e9c-8ead-145113242923?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/7f9cf4d8-98eb-41fc-a9ed-7aa5c6680b5f?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -67,12 +67,12 @@ interactions: - -g -n -l --sku User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/b2a47e32-6c42-4e9c-8ead-145113242923?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/ukwest/asyncoperations/7f9cf4d8-98eb-41fc-a9ed-7aa5c6680b5f?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:17:07.5300164Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T16:14:58.8911946Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T16:14:58.8911946Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-02T16:14:58.8286950Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -81,7 +81,7 @@ interactions: content-type: - application/json date: - - Mon, 04 May 2020 22:17:24 GMT + - Tue, 02 Jun 2020 16:15:16 GMT expires: - '-1' pragma: @@ -114,14 +114,14 @@ interactions: - -g -n -l --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:17:07.5769033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:17:07.5300164Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","name":"clibatchteststorage7","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T16:14:58.8911946Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T16:14:58.8911946Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-02T16:14:58.8286950Z","primaryEndpoints":{"dfs":"https://clibatchteststorage7.dfs.core.windows.net/","web":"https://clibatchteststorage7.z35.web.core.windows.net/","blob":"https://clibatchteststorage7.blob.core.windows.net/","queue":"https://clibatchteststorage7.queue.core.windows.net/","table":"https://clibatchteststorage7.table.core.windows.net/","file":"https://clibatchteststorage7.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -130,7 +130,7 @@ interactions: content-type: - application/json date: - - Mon, 04 May 2020 22:17:27 GMT + - Tue, 02 Jun 2020 16:15:18 GMT expires: - '-1' pragma: @@ -150,8 +150,7 @@ interactions: message: OK - request: body: 'b''{"location": "ukwest", "properties": {"autoStorage": {"storageAccountId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7"}, - "publicNetworkAccess": "Enabled"}}''' + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7"}}}''' headers: Accept: - application/json @@ -162,18 +161,18 @@ interactions: Connection: - keep-alive Content-Length: - - '320' + - '286' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: string: '' @@ -183,11 +182,11 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/15a6036d-22b3-49df-a4a6-e343a04951ea?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/33f3141a-9f86-460a-9267-05b9a101cda6?api-version=2020-05-01 pragma: - no-cache server: @@ -216,27 +215,27 @@ interactions: - -g -n -l --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/15a6036d-22b3-49df-a4a6-e343a04951ea?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/operationResults/33f3141a-9f86-460a-9267-05b9a101cda6?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:49 GMT + - Tue, 02 Jun 2020 16:15:40 GMT etag: - - '"0x8D7F078FB2B8D8D"' + - '"0x8D80710320386C7"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:49 GMT + - Tue, 02 Jun 2020 16:15:41 GMT pragma: - no-cache server: @@ -267,29 +266,29 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:50 GMT + - Tue, 02 Jun 2020 16:15:42 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -324,14 +323,14 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D8071033526A29\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -340,13 +339,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:51 GMT + - Tue, 02 Jun 2020 16:15:42 GMT etag: - - W/"0x8D7F078FC6BE9BB" + - W/"0x8D8071033526A29" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:51 GMT + - Tue, 02 Jun 2020 16:15:43 GMT pragma: - no-cache server: @@ -379,29 +378,29 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:52 GMT + - Tue, 02 Jun 2020 16:15:44 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -432,14 +431,14 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-05-01 response: body: - string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}]}' + string: '{"value":[{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D8071033526A29\"","properties":{"allowUpdates":true}}]}' headers: cache-control: - no-cache @@ -448,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:53 GMT + - Tue, 02 Jun 2020 16:15:44 GMT expires: - '-1' pragma: @@ -481,29 +480,29 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:54 GMT + - Tue, 02 Jun 2020 16:15:46 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -534,14 +533,14 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F078FC6BE9BB\"","properties":{"allowUpdates":true}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D8071033526A29\"","properties":{"allowUpdates":true}}' headers: cache-control: - no-cache @@ -550,13 +549,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:55 GMT + - Tue, 02 Jun 2020 16:15:47 GMT etag: - - W/"0x8D7F078FC6BE9BB" + - W/"0x8D8071033526A29" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:51 GMT + - Tue, 02 Jun 2020 16:15:43 GMT pragma: - no-cache server: @@ -591,29 +590,29 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F078FF628275\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=CkYncMEBfmIkXE2ir0eNps0Pc5nZDXMEoap%2F1dLcR50%3D&st=2020-05-04T22%3A12%3A56Z&se=2020-05-05T02%3A17%3A56Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:56.7667505Z","state":"Pending"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D80710362CE882\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=vN652TwaLIO5xGg%2FX5%2Fhzhfb1uvo2XKKWvw%2BFb%2BG1AM%3D&st=2020-06-02T16%3A10%3A48Z&se=2020-06-02T20%3A15%3A48Z&sp=rw","storageUrlExpiry":"2020-06-02T20:15:48.2786247Z","state":"Pending"}}' headers: cache-control: - no-cache content-length: - - '678' + - '684' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:56 GMT + - Tue, 02 Jun 2020 16:15:47 GMT etag: - - W/"0x8D7F078FF628275" + - W/"0x8D80710362CE882" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:56 GMT + - Tue, 02 Jun 2020 16:15:48 GMT pragma: - no-cache server: @@ -643,11 +642,11 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-date: - - Mon, 04 May 2020 22:17:56 GMT + - Tue, 02 Jun 2020 16:15:48 GMT x-ms-version: - '2018-11-09' method: PUT - uri: https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=CkYncMEBfmIkXE2ir0eNps0Pc5nZDXMEoap%2F1dLcR50%3D&st=2020-05-04T22%3A12%3A56Z&se=2020-05-05T02%3A17%3A56Z&sp=rw + uri: https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=vN652TwaLIO5xGg%2FX5%2Fhzhfb1uvo2XKKWvw%2BFb%2BG1AM%3D&st=2020-06-02T16%3A10%3A48Z&se=2020-06-02T20%3A15%3A48Z&sp=rw response: body: string: '' @@ -657,11 +656,11 @@ interactions: content-md5: - JeBon6PeparxrbCKMR+6hw== date: - - Mon, 04 May 2020 22:17:57 GMT + - Tue, 02 Jun 2020 16:15:49 GMT etag: - - '"0x8D7F079006903AF"' + - '"0x8D807103739BE87"' last-modified: - - Mon, 04 May 2020 22:17:58 GMT + - Tue, 02 Jun 2020 16:15:50 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: @@ -690,29 +689,29 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07900951FB6\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=U%2FF6Mido5p6A066U9G96uaSeYqliFqD9qPOjyFbfcGU%3D&st=2020-05-04T22%3A12%3A58Z&se=2020-05-05T02%3A17%3A58Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:58.7974253Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:17:58.7627821Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D8071037666452\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=7SQ9Vw6AWB2AxSh%2FdoI0qRtM%2F6Ij%2Fa2WqAoILalTLEM%3D&st=2020-06-02T16%3A10%3A50Z&se=2020-06-02T20%3A15%3A50Z&sp=rw","storageUrlExpiry":"2020-06-02T20:15:50.3528571Z","state":"Active","format":"zip","lastActivationTime":"2020-06-02T16:15:50.3199512Z"}}' headers: cache-control: - no-cache content-length: - - '744' + - '748' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:58 GMT + - Tue, 02 Jun 2020 16:15:49 GMT etag: - - W/"0x8D7F07900951FB6" + - W/"0x8D8071037666452" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:58 GMT + - Tue, 02 Jun 2020 16:15:50 GMT pragma: - no-cache server: @@ -745,29 +744,29 @@ interactions: - -g -n --application-name --version --package-file User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07900951FB6\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=iDjcJr2YErP92h6gTUt3urYdlr%2Bal75GmHjt2j%2BRzjM%3D&st=2020-05-04T22%3A12%3A59Z&se=2020-05-05T02%3A17%3A59Z&sp=rw","storageUrlExpiry":"2020-05-05T02:17:59.0294786Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:17:58.7627821Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D8071037666452\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=7SQ9Vw6AWB2AxSh%2FdoI0qRtM%2F6Ij%2Fa2WqAoILalTLEM%3D&st=2020-06-02T16%3A10%3A50Z&se=2020-06-02T20%3A15%3A50Z&sp=rw","storageUrlExpiry":"2020-06-02T20:15:50.580731Z","state":"Active","format":"zip","lastActivationTime":"2020-06-02T16:15:50.3199512Z"}}' headers: cache-control: - no-cache content-length: - - '746' + - '747' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:58 GMT + - Tue, 02 Jun 2020 16:15:49 GMT etag: - - W/"0x8D7F07900951FB6" + - W/"0x8D8071037666452" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:58 GMT + - Tue, 02 Jun 2020 16:15:50 GMT pragma: - no-cache server: @@ -798,29 +797,29 @@ interactions: - -g -n --application-name --version --format User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:17:59 GMT + - Tue, 02 Jun 2020 16:15:51 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -855,14 +854,14 @@ interactions: - -g -n --application-name --version --format User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0/activate?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07901DFDD49\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=TO7HQ0JUh3OiJbqbM1S%2F2zxBX0%2BKw9Di8uGibLpwOr4%3D&st=2020-05-04T22%3A13%3A00Z&se=2020-05-05T02%3A18%3A00Z&sp=rw","storageUrlExpiry":"2020-05-05T02:18:00.9745257Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:18:00.9303351Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D8071038D8FB8C\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=QtYpSKn%2BScx%2BKR3XG9bt965iVJ1dnsuRKsiGgWTFNkc%3D&st=2020-06-02T16%3A10%3A52Z&se=2020-06-02T20%3A15%3A52Z&sp=rw","storageUrlExpiry":"2020-06-02T20:15:52.8035647Z","state":"Active","format":"zip","lastActivationTime":"2020-06-02T16:15:52.7496031Z"}}' headers: cache-control: - no-cache @@ -871,13 +870,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:00 GMT + - Tue, 02 Jun 2020 16:15:52 GMT etag: - - W/"0x8D7F07901DFDD49" + - W/"0x8D8071038D8FB8C" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:18:00 GMT + - Tue, 02 Jun 2020 16:15:52 GMT pragma: - no-cache server: @@ -910,29 +909,29 @@ interactions: - -g -n --application-name --version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:01 GMT + - Tue, 02 Jun 2020 16:15:53 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -963,29 +962,29 @@ interactions: - -g -n --application-name --version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D7F07901DFDD49\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-04c5bf2e12aa4559a6084bcf4b90ae6c/1.0?sv=2018-03-28&sr=b&sig=STa9i319PGgWOfWMf2EKhnuVMjFypqGhoaJkdNvBon0%3D&st=2020-05-04T22%3A13%3A03Z&se=2020-05-05T02%3A18%3A03Z&sp=rw","storageUrlExpiry":"2020-05-05T02:18:03.0974187Z","state":"Active","format":"zip","lastActivationTime":"2020-05-04T22:18:00.9303351Z"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications/versions","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0","name":"1.0","etag":"W/\"0x8D8071038D8FB8C\"","properties":{"storageUrl":"https://clibatchteststorage7.blob.core.windows.net/app-testapp-47d8d7ac504c4d97baa22f294d823c37/1.0?sv=2018-03-28&sr=b&sig=zVO9s%2BMheF%2Fqs9Wv03jBFCIVJxPd4q6OO730MS2Q%2FMk%3D&st=2020-06-02T16%3A10%3A54Z&se=2020-06-02T20%3A15%3A54Z&sp=rw","storageUrlExpiry":"2020-06-02T20:15:54.1654873Z","state":"Active","format":"zip","lastActivationTime":"2020-06-02T16:15:52.7496031Z"}}' headers: cache-control: - no-cache content-length: - - '742' + - '748' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:02 GMT + - Tue, 02 Jun 2020 16:15:53 GMT etag: - - W/"0x8D7F07901DFDD49" + - W/"0x8D8071038D8FB8C" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:18:00 GMT + - Tue, 02 Jun 2020 16:15:52 GMT pragma: - no-cache server: @@ -1016,29 +1015,29 @@ interactions: - -g -n --application-name --default-version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:03 GMT + - Tue, 02 Jun 2020 16:15:54 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -1073,14 +1072,14 @@ interactions: - -g -n --application-name --default-version User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F07904692162\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D807103AF0CA60\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1089,13 +1088,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:04 GMT + - Tue, 02 Jun 2020 16:15:55 GMT etag: - - W/"0x8D7F07904692162" + - W/"0x8D807103AF0CA60" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:18:05 GMT + - Tue, 02 Jun 2020 16:15:56 GMT pragma: - no-cache server: @@ -1128,29 +1127,29 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:05 GMT + - Tue, 02 Jun 2020 16:15:57 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -1181,14 +1180,14 @@ interactions: - -g -n --application-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-05-01 response: body: - string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D7F07904692162\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' + string: '{"type":"Microsoft.Batch/batchAccounts/applications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp","name":"testapp","etag":"W/\"0x8D807103AF0CA60\"","properties":{"allowUpdates":true,"defaultVersion":"1.0"}}' headers: cache-control: - no-cache @@ -1197,13 +1196,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:06 GMT + - Tue, 02 Jun 2020 16:15:57 GMT etag: - - W/"0x8D7F07904692162" + - W/"0x8D807103AF0CA60" expires: - '-1' last-modified: - - Mon, 04 May 2020 22:18:05 GMT + - Tue, 02 Jun 2020 16:15:56 GMT pragma: - no-cache server: @@ -1234,29 +1233,29 @@ interactions: - -g -n --application-name --version --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:07 GMT + - Tue, 02 Jun 2020 16:15:58 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -1289,11 +1288,11 @@ interactions: - -g -n --application-name --version --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp/versions/1.0?api-version=2020-05-01 response: body: string: '' @@ -1303,7 +1302,7 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:18:08 GMT + - Tue, 02 Jun 2020 16:15:58 GMT expires: - '-1' pragma: @@ -1334,29 +1333,29 @@ interactions: - -g -n --application-name --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:09 GMT + - Tue, 02 Jun 2020 16:15:59 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -1389,11 +1388,11 @@ interactions: - -g -n --application-name --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications/testapp?api-version=2020-05-01 response: body: string: '' @@ -1403,7 +1402,7 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:18:10 GMT + - Tue, 02 Jun 2020 16:16:01 GMT expires: - '-1' pragma: @@ -1434,29 +1433,29 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-05-04T22:17:33.4236958Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7","name":"clibatchtest7","type":"Microsoft.Batch/batchAccounts","location":"ukwest","properties":{"accountEndpoint":"clibatchtest7.ukwest.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage7","lastKeySync":"2020-06-02T16:15:25.0846546Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2536' + - '2563' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:11 GMT + - Tue, 02 Jun 2020 16:16:02 GMT etag: - - '"0x8D7F078F179A31E"' + - '"0x8D807102A89543A"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:17:33 GMT + - Tue, 02 Jun 2020 16:15:28 GMT pragma: - no-cache server: @@ -1487,11 +1486,11 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest7/applications?api-version=2020-05-01 response: body: string: '{"value":[]}' @@ -1503,7 +1502,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:18:12 GMT + - Tue, 02 Jun 2020 16:16:03 GMT expires: - '-1' pragma: @@ -1538,7 +1537,7 @@ interactions: - -g -n --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: DELETE @@ -1554,7 +1553,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 04 May 2020 22:18:18 GMT + - Tue, 02 Jun 2020 16:16:10 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_certificate_cmd.yaml index 0cb67837289..2e2280f19f3 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 @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 response: body: string: '' @@ -36,7 +36,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-05-01 pragma: - no-cache server: @@ -67,7 +67,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/91c17b50-4f5b-4190-801a-cb6f295d51d3?api-version=2020-05-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' @@ -122,7 +122,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"clibatch000002","primary":"rl3DIP+is6WKYfGaky5uRqsQwlQvELjrmREGiPpIm9HzDkspwnrZZlLD86k5XKCkMeLuNrEvCyrFF9XMNgVuWg==","secondary":"IYF4/zOwNk96wBTy9DtFc5topukN880uAnjS60wvpx/7jBjycUhK8NgyiIB4brD6wsXCjJsgBiob7u+SvLq2ng=="}' @@ -173,7 +173,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml index af40653f2bf..35ec52190dc 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml +++ b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_general_arm_cmd.yaml @@ -18,7 +18,7 @@ interactions: - -g -n -l --sku User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT @@ -34,11 +34,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 04 May 2020 22:14:05 GMT + - Tue, 02 Jun 2020 17:14:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c3ba7517-3eb7-49bc-ac65-f0009748a4db?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c9825736-ddf2-48a8-b936-6365463b4dca?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -67,12 +67,12 @@ interactions: - -g -n -l --sku User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c3ba7517-3eb7-49bc-ac65-f0009748a4db?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/northeurope/asyncoperations/c9825736-ddf2-48a8-b936-6365463b4dca?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:14:05.6663352Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T17:14:21.5649204Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T17:14:21.5649204Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-02T17:14:21.5180165Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -81,7 +81,7 @@ interactions: content-type: - application/json date: - - Mon, 04 May 2020 22:14:23 GMT + - Tue, 02 Jun 2020 17:14:39 GMT expires: - '-1' pragma: @@ -100,7 +100,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "northeurope", "properties": {"publicNetworkAccess": "Enabled"}}' + body: '{"location": "northeurope"}' headers: Accept: - application/json @@ -111,18 +111,18 @@ interactions: Connection: - keep-alive Content-Length: - - '77' + - '27' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: string: '' @@ -132,11 +132,11 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:14:29 GMT + - Tue, 02 Jun 2020 17:14:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/19a8aa03-2d59-4ac3-b0c9-5e78ef4d1fc8?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/9534aa99-70cf-4928-bc20-a5d96347a813?api-version=2020-05-01 pragma: - no-cache server: @@ -165,27 +165,27 @@ interactions: - -g -n -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/19a8aa03-2d59-4ac3-b0c9-5e78ef4d1fc8?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/operationResults/9534aa99-70cf-4928-bc20-a5d96347a813?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2256' + - '2301' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:14:45 GMT + - Tue, 02 Jun 2020 17:15:01 GMT etag: - - '"0x8D7F0788D75FE73"' + - '"0x8D807187CB0B30B"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:14:45 GMT + - Tue, 02 Jun 2020 17:15:02 GMT pragma: - no-cache server: @@ -216,14 +216,14 @@ interactions: - -g -n --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-04T22:14:05.7444774Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-04T22:14:05.6663352Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","name":"clibatchteststorage1","type":"Microsoft.Storage/storageAccounts","location":"northeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T17:14:21.5649204Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-02T17:14:21.5649204Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-02T17:14:21.5180165Z","primaryEndpoints":{"dfs":"https://clibatchteststorage1.dfs.core.windows.net/","web":"https://clibatchteststorage1.z16.web.core.windows.net/","blob":"https://clibatchteststorage1.blob.core.windows.net/","queue":"https://clibatchteststorage1.queue.core.windows.net/","table":"https://clibatchteststorage1.table.core.windows.net/","file":"https://clibatchteststorage1.file.core.windows.net/"},"primaryLocation":"northeurope","statusOfPrimary":"available"}}' headers: cache-control: - no-cache @@ -232,7 +232,7 @@ interactions: content-type: - application/json date: - - Mon, 04 May 2020 22:16:25 GMT + - Tue, 02 Jun 2020 17:16:42 GMT expires: - '-1' pragma: @@ -269,29 +269,29 @@ interactions: - -g -n --storage-account User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:28.3724396Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-06-02T17:16:45.1603058Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2546' + - '2591' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:27 GMT + - Tue, 02 Jun 2020 17:16:44 GMT etag: - - '"0x8D7F078CAB61359"' + - '"0x8D80718B9DC4872"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:16:28 GMT + - Tue, 02 Jun 2020 17:16:45 GMT pragma: - no-cache server: @@ -324,29 +324,29 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:28.3724396Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-06-02T17:16:45.1603058Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2546' + - '2591' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:28 GMT + - Tue, 02 Jun 2020 17:16:46 GMT etag: - - '"0x8D7F078CAB39A6C"' + - '"0x8D80718B9D9F272"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:16:28 GMT + - Tue, 02 Jun 2020 17:16:45 GMT pragma: - no-cache server: @@ -379,11 +379,11 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/syncAutoStorageKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/syncAutoStorageKeys?api-version=2020-05-01 response: body: string: '' @@ -391,7 +391,7 @@ interactions: cache-control: - no-cache date: - - Mon, 04 May 2020 22:16:30 GMT + - Tue, 02 Jun 2020 17:16:46 GMT expires: - '-1' pragma: @@ -424,14 +424,14 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-05-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"CfirLSJv1wpQWbx7RoJd8kaqekOyLqGrdLH+J/48t5BH+Ki+ivMNVu4tWL33mNzC1cWt0yfbyZ7EAn30DPeFsQ==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' + string: '{"accountName":"clibatchtest1","primary":"vwJ0VzEugHgBo2h8SHehnidMZMtRN3NIbjRHxv2SzwRiPT7P3xJ/OdUgZj9hI53NuOJIbRUAt1xi9aqPXQux1g==","secondary":"A8vaDs02gtSRywEtmXcxry4EUb3Zm6hJJH7+y7QR+mjaSzUJaSTSQ6X5l+MzirxbcrS0tRHVmV1Or7tzMwcdkw=="}' headers: cache-control: - no-cache @@ -440,7 +440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:31 GMT + - Tue, 02 Jun 2020 17:16:48 GMT expires: - '-1' pragma: @@ -479,14 +479,14 @@ interactions: - -g -n --key-name User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/regenerateKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/regenerateKeys?api-version=2020-05-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"c5j55855yPC23t1ABc508B8g7Uz+wRERKMJSGZ/ZSEpiYyAqQLJoqDTxJWrI8XZuvu1+EcQNzgCMGVXdIODKdg==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' + string: '{"accountName":"clibatchtest1","primary":"T/EeWDa6RXKvUOpTiE0KP9rdzvjsYT6WCD6q8kPVaZx3XZjjMHppulTpuSHePbFi/HELYUJAPjr68Hk5JZm0sw==","secondary":"A8vaDs02gtSRywEtmXcxry4EUb3Zm6hJJH7+y7QR+mjaSzUJaSTSQ6X5l+MzirxbcrS0tRHVmV1Or7tzMwcdkw=="}' headers: cache-control: - no-cache @@ -495,7 +495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:32 GMT + - Tue, 02 Jun 2020 17:16:49 GMT expires: - '-1' pragma: @@ -530,29 +530,29 @@ interactions: - -g -n User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:30.9474841Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-06-02T17:16:47.5251827Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2546' + - '2591' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:33 GMT + - Tue, 02 Jun 2020 17:16:50 GMT etag: - - '"0x8D7F078CD728B21"' + - '"0x8D80718BC70BBAB"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:16:32 GMT + - Tue, 02 Jun 2020 17:16:49 GMT pragma: - no-cache server: @@ -583,29 +583,29 @@ interactions: - -g -n --shared-key-auth User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-05-04T22:16:30.9474841Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1","name":"clibatchtest1","type":"Microsoft.Batch/batchAccounts","location":"northeurope","properties":{"accountEndpoint":"clibatchtest1.northeurope.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clibatchteststorage1","lastKeySync":"2020-06-02T17:16:47.5251827Z"},"poolAllocationMode":"BatchService","publicNetworkAccess":"Enabled","encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2546' + - '2591' content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:34 GMT + - Tue, 02 Jun 2020 17:16:51 GMT etag: - - '"0x8D7F078CD728B21"' + - '"0x8D80718BC70BBAB"' expires: - '-1' last-modified: - - Mon, 04 May 2020 22:16:32 GMT + - Tue, 02 Jun 2020 17:16:49 GMT pragma: - no-cache server: @@ -638,14 +638,14 @@ interactions: - -g -n --shared-key-auth User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1/listKeys?api-version=2020-05-01 response: body: - string: '{"accountName":"clibatchtest1","primary":"c5j55855yPC23t1ABc508B8g7Uz+wRERKMJSGZ/ZSEpiYyAqQLJoqDTxJWrI8XZuvu1+EcQNzgCMGVXdIODKdg==","secondary":"K9nxZNj8a/r74Ho3BRam1WgeQug5P0mOL3o4iI8/Xb9VmeF37wLQrQkq+dwFEM9pyTZn4G6xesY3YzxvA2zLvw=="}' + string: '{"accountName":"clibatchtest1","primary":"T/EeWDa6RXKvUOpTiE0KP9rdzvjsYT6WCD6q8kPVaZx3XZjjMHppulTpuSHePbFi/HELYUJAPjr68Hk5JZm0sw==","secondary":"A8vaDs02gtSRywEtmXcxry4EUb3Zm6hJJH7+y7QR+mjaSzUJaSTSQ6X5l+MzirxbcrS0tRHVmV1Or7tzMwcdkw=="}' headers: cache-control: - no-cache @@ -654,7 +654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:35 GMT + - Tue, 02 Jun 2020 17:16:51 GMT expires: - '-1' pragma: @@ -691,11 +691,11 @@ interactions: - -g -n --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatchtest1?api-version=2020-05-01 response: body: string: '' @@ -705,11 +705,11 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:16:36 GMT + - Tue, 02 Jun 2020 17:16:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-51b07fd6-f7e7-4761-b7a6-c7b0c19fc40d?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-f057b83f-5cdd-4b5b-9682-96475d907f26?api-version=2020-05-01 pragma: - no-cache server: @@ -738,9 +738,9 @@ interactions: - -g -n --yes User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-51b07fd6-f7e7-4761-b7a6-c7b0c19fc40d?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/accountOperationResults/clibatchtest1-f057b83f-5cdd-4b5b-9682-96475d907f26?api-version=2020-05-01 response: body: string: '' @@ -750,7 +750,7 @@ interactions: content-length: - '0' date: - - Mon, 04 May 2020 22:16:52 GMT + - Tue, 02 Jun 2020 17:17:08 GMT expires: - '-1' pragma: @@ -779,11 +779,11 @@ interactions: - -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts?api-version=2020-05-01 response: body: string: '{"value":[]}' @@ -795,7 +795,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:53 GMT + - Tue, 02 Jun 2020 17:17:10 GMT expires: - '-1' pragma: @@ -828,11 +828,11 @@ interactions: - -l User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.5.1 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/northeurope/quotas?api-version=2020-05-01 response: body: string: '{"accountQuota":3}' @@ -844,7 +844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 04 May 2020 22:16:54 GMT + - Tue, 02 Jun 2020 17:17:11 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml b/src/azure-cli/azure/cli/command_modules/batch/tests/latest/recordings/test_batch_job_list_cmd.yaml index 558a359c335..d6d0e39733b 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 @@ -20,7 +20,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' @@ -71,7 +71,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' 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 d272fbf6c73..a043bdfc11c 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 @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 response: body: string: '' @@ -36,7 +36,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-05-01 pragma: - no-cache server: @@ -67,7 +67,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/8b296c07-8898-4035-a07a-42b71fd50077?api-version=2020-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' @@ -122,7 +122,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"clibatch000002","primary":"4qNlZe1o8euBO9U4rmns7MJcafiVKpPSjgmPLkuQQLl8y0gu0GOTLBr4+iJ3S9Dre4yUrOWnwU5OPh9ECpgFgQ==","secondary":"QIMpI5j7tHz4EB56jRw6pBwWw3SU6xVEgsMDrKt2CkRmGCz0q0sDADIe6tfJMZpyDsqvpkUAx4uCxitYaNwmaQ=="}' @@ -173,7 +173,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002","name":"clibatch000002","type":"Microsoft.Batch/batchAccounts","location":"canadaeast","properties":{"accountEndpoint":"clibatch000002.canadaeast.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' 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 18ed2c6bfcd..d94a26c85b0 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 @@ -18,7 +18,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' @@ -73,7 +73,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' 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 bba09e7ca6e..0fda138d0eb 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 @@ -20,7 +20,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"sdktest2","primary":"lrCy/cm87CTTLd8yfM/ojizRGUNceCr6nWajz1mWKN45lMTJcGPF4zet+H+SkXYgJ5BGD3ab4m4b7U+wAwpC2A==","secondary":"eAS2NXIlOIAA8ovAf8a5RxnVXil/3CyuMt9cDBGUi1w7810IHN/5MF21otvBrTPOLAUFq/2sjA3dKYY7IvTpXA=="}' @@ -71,7 +71,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2?api-version=2020-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Batch/batchAccounts/sdktest2","name":"sdktest2","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"sdktest2.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardA0_A7Family","coreQuota":20},{"name":"standardDv2Family","coreQuota":20},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardAv2Family","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":100,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktest/providers/Microsoft.Storage/storageAccounts/sdkteststore2","lastKeySync":"2020-01-09T20:16:08.6234908Z"},"poolAllocationMode":"BatchService"},"tags":{"rawr":"test"}}' 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 0ffdc1b143a..a292c51e063 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 @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-01 response: body: string: '' @@ -36,7 +36,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-05-01 pragma: - no-cache server: @@ -67,7 +67,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/7.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/operationResults/96010a4d-0170-49e3-90aa-1ed74164711a?api-version=2020-05-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' @@ -122,7 +122,7 @@ interactions: accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002/listKeys?api-version=2020-05-01 response: body: string: '{"accountName":"clibatch000002","primary":"jIM7sad4pUGnt5//OE6nUmmBDP04uInp+Jzt39r0W+ZQJTaFbvhIsvuZOBm8esxCK66OkdhqO28k48fbL4zEgg==","secondary":"0jeB9Pdf+H9tiD3tJDGpKMZPHetfv2Hwj3ph4fHyiVfJVqiLxWkt/Y2neFIV/7Fk4LtMXXChHnvKqMlRA/Uvyw=="}' @@ -173,7 +173,7 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/clibatch000002?api-version=2020-05-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":0,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":0},{"name":"standardDv2Family","coreQuota":0},{"name":"standardDv3Family","coreQuota":0},{"name":"standardEv3Family","coreQuota":0},{"name":"standardDSv2Family","coreQuota":0},{"name":"standardDSv3Family","coreQuota":0},{"name":"standardESv3Family","coreQuota":0},{"name":"standardFFamily","coreQuota":0},{"name":"standardFSFamily","coreQuota":0},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDAv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":0,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService"}}' diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index ce5d3de2a91..1ba761190aa 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -18,11 +18,11 @@ interactions: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-05-01 response: body: string: '' @@ -32,11 +32,11 @@ interactions: content-length: - '0' date: - - Tue, 26 May 2020 23:36:02 GMT + - Tue, 02 Jun 2020 17:19:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/143a44a6-516c-47d9-b564-a44a1c176718?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/d88618df-c603-49c4-a33e-e241579687be?api-version=2020-05-01 pragma: - no-cache server: @@ -65,27 +65,27 @@ interactions: - -g -n -l --public-network-access User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/143a44a6-516c-47d9-b564-a44a1c176718?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/d88618df-c603-49c4-a33e-e241579687be?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '2317' + - '2344' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:18 GMT + - Tue, 02 Jun 2020 17:19:59 GMT etag: - - '"0x8D801CD973B5CB6"' + - '"0x8D807192E323445"' expires: - '-1' last-modified: - - Tue, 26 May 2020 23:36:19 GMT + - Tue, 02 Jun 2020 17:20:00 GMT pragma: - no-cache server: @@ -123,7 +123,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-26T23:35:59Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-02T17:19:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:20 GMT + - Tue, 02 Jun 2020 17:20:02 GMT expires: - '-1' pragma: @@ -175,15 +175,15 @@ interactions: response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"57b12380-2622-4cf4-a7c3-0d1b85e70a4b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"e536c8df-4259-4d19-9627-7ee3bb1e88a6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"84aad1a5-7f51-461b-86c7-7cd823b322f4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"78db8ec5-9abf-4eef-bff8-23cbd006f770\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"57b12380-2622-4cf4-a7c3-0d1b85e70a4b\\\"\",\r\n + \ \"etag\": \"W/\\\"e536c8df-4259-4d19-9627-7ee3bb1e88a6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -194,7 +194,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/61d0c2c1-fdac-4747-9c3d-020483ba85fa?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ab84d036-fe1a-4387-9ee7-a6f9ca6ae2ec?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -202,7 +202,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:23 GMT + - Tue, 02 Jun 2020 17:20:04 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3c4ade10-1c3e-4509-a8dd-58fdf92f1678 + - 729ea33e-d7f7-47fa-b479-9484ceb42651 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -238,7 +238,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/61d0c2c1-fdac-4747-9c3d-020483ba85fa?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ab84d036-fe1a-4387-9ee7-a6f9ca6ae2ec?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -250,7 +250,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:26 GMT + - Tue, 02 Jun 2020 17:20:08 GMT expires: - '-1' pragma: @@ -267,7 +267,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 96bb1a0f-7081-4681-a0b9-4349fd1c2d1c + - 6c4eda9f-0c08-466e-9cc1-ec75a4f37848 status: code: 200 message: OK @@ -292,15 +292,15 @@ interactions: response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"84aad1a5-7f51-461b-86c7-7cd823b322f4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"78db8ec5-9abf-4eef-bff8-23cbd006f770\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n + \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -315,9 +315,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:26 GMT + - Tue, 02 Jun 2020 17:20:08 GMT etag: - - W/"75069ce7-4182-46fc-ba05-53a8ff05b11d" + - W/"4fc11722-bfc0-4837-bf1f-d2bdea279c50" expires: - '-1' pragma: @@ -334,7 +334,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cacae6ef-d3f2-464c-81c7-740b795b9bcb + - 6cfe842a-d814-4e48-bd25-77fd9fa9cc76 status: code: 200 message: OK @@ -361,7 +361,7 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"75069ce7-4182-46fc-ba05-53a8ff05b11d\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -374,9 +374,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:27 GMT + - Tue, 02 Jun 2020 17:20:08 GMT etag: - - W/"75069ce7-4182-46fc-ba05-53a8ff05b11d" + - W/"4fc11722-bfc0-4837-bf1f-d2bdea279c50" expires: - '-1' pragma: @@ -393,7 +393,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4eafa1ba-0a97-4835-9384-1c53e423871e + - ec8b0990-e051-4350-af35-925285ac21a9 status: code: 200 message: OK @@ -426,14 +426,14 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"0d9eb99c-319a-418a-b3bf-bcfeb0482063\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"1b4e7b30-03a8-4dac-ac90-f668c5c014ed\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/c8407c6e-4842-4159-9557-eceea12a1e03?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/737cfa41-5de0-4a47-9446-3b037f606385?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -441,7 +441,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:27 GMT + - Tue, 02 Jun 2020 17:20:09 GMT expires: - '-1' pragma: @@ -458,9 +458,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 61d96f5b-e1a5-4990-a589-f557bab896e0 + - ffd17229-8400-484f-b1a4-2c246f971cb9 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -481,7 +481,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/c8407c6e-4842-4159-9557-eceea12a1e03?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/737cfa41-5de0-4a47-9446-3b037f606385?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -493,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:31 GMT + - Tue, 02 Jun 2020 17:20:12 GMT expires: - '-1' pragma: @@ -510,7 +510,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d4597132-eb44-418b-998b-a5573f0074cc + - 3f69cb64-fe5a-438e-8d6f-952e4ebc72bc status: code: 200 message: OK @@ -535,7 +535,7 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"50e601a2-fd71-4b0e-9908-77dcc99870d8\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"abaa488a-e65e-438d-b08a-9e8b0c32620c\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -548,9 +548,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:36:31 GMT + - Tue, 02 Jun 2020 17:20:13 GMT etag: - - W/"50e601a2-fd71-4b0e-9908-77dcc99870d8" + - W/"abaa488a-e65e-438d-b08a-9e8b0c32620c" expires: - '-1' pragma: @@ -567,113 +567,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 28060a26-6620-47cc-8f37-a4be5c709a63 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-03-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}}}' - headers: - cache-control: - - no-cache - content-length: - - '2317' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 May 2020 23:37:01 GMT - etag: - - '"0x8D801CD9206FFB5"' - expires: - - '-1' - last-modified: - - Tue, 26 May 2020 23:36:10 GMT - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - batch account keys list - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -n -g --query -o - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/listKeys?api-version=2020-03-01 - response: - body: - string: '{"accountName":"testprivatelink","primary":"abc==","secondary":"def=="}' - headers: - cache-control: - - no-cache - content-length: - - '237' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 May 2020 23:37:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - 32bcede3-6b17-452d-920e-a780ce382c1f status: code: 200 message: OK @@ -700,7 +594,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-05-26T23:35:59Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-02T17:19:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -709,7 +603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:37:03 GMT + - Tue, 02 Jun 2020 17:20:43 GMT expires: - '-1' pragma: @@ -754,13 +648,13 @@ interactions: response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"1a3662fe-ca71-446e-8331-a481ba40fe04\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"5ecbccba-c512-4896-b33f-94df445366b0\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"b5f85e87-4e1e-431f-b938-f63536d9c691\",\r\n \"privateLinkServiceConnections\": + \"061157c9-c8c3-483f-b0fe-7335797620d8\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"1a3662fe-ca71-446e-8331-a481ba40fe04\\\"\",\r\n + \ \"etag\": \"W/\\\"5ecbccba-c512-4896-b33f-94df445366b0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n @@ -768,13 +662,13 @@ interactions: \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.8a9718ca-46e2-41d1-9e63-c11e0a29c01b\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3b066b52-1194-4a9a-8595-87cdba1dbae7\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/00b1000b-b196-4ade-b696-1b6575e00271?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -782,7 +676,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:37:06 GMT + - Tue, 02 Jun 2020 17:20:46 GMT expires: - '-1' pragma: @@ -795,7 +689,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 192caee9-4a3e-4891-9287-8ede67157777 + - 7940908c-c39f-4c08-ace9-496568c76874 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -819,70 +713,19 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 May 2020 23:37:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fd9b9e20-3cdd-4c26-81b7-5022ca66655c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint create - Connection: - - keep-alive - ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/00b1000b-b196-4ade-b696-1b6575e00271?api-version=2020-04-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:37:25 GMT + - Tue, 02 Jun 2020 17:20:57 GMT expires: - '-1' pragma: @@ -899,7 +742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2e49d834-c80e-411c-b23f-8fa37a922606 + - 09e9e1d6-6237-4aed-8b42-90fb4f909b92 status: code: 200 message: OK @@ -921,19 +764,38 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n + \ \"etag\": \"W/\\\"49e2915e-88e1-4a21-9d84-ed4293923843\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"061157c9-c8c3-483f-b0fe-7335797620d8\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n + \ \"etag\": \"W/\\\"49e2915e-88e1-4a21-9d84-ed4293923843\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n + \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3b066b52-1194-4a9a-8595-87cdba1dbae7\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '2374' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:37:35 GMT + - Tue, 02 Jun 2020 17:20:57 GMT + etag: + - W/"49e2915e-88e1-4a21-9d84-ed4293923843" expires: - '-1' pragma: @@ -950,7 +812,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a3fe75a4-b0df-4366-a06a-4bd0b70062e2 + - d849d576-6efc-41cb-a150-b7b9750dd035 status: code: 200 message: OK @@ -962,36 +824,37 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - network private-endpoint-connection list Connection: - keep-alive ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request + - --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}]}' headers: cache-control: - no-cache content-length: - - '30' + - '916' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:37:46 GMT + - Tue, 02 Jun 2020 17:20:59 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1000,113 +863,70 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 94fda98d-9593-4dd6-90e8-946a87826cdf status: code: 200 message: OK - request: - body: null + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - network private-endpoint-connection approve Connection: - keep-alive - ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: + Content-Length: + - '113' + Content-Type: - application/json; charset=utf-8 - date: - - Tue, 26 May 2020 23:37:56 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 178d5891-85db-4604-ab2b-a4e5ee9342a3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint create - Connection: - - keep-alive ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request + - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 + accept-language: + - en-US + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 cache-control: - no-cache content-length: - - '30' + - '891' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:06 GMT + - Tue, 02 Jun 2020 17:20:59 GMT + etag: + - W/"0x8D807194D0572FC" expires: - '-1' + last-modified: + - Tue, 02 Jun 2020 17:20:52 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 7c3f6268-93c3-4e14-89aa-484acd0abb81 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1115,36 +935,34 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - network private-endpoint-connection approve Connection: - keep-alive ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request + - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/dc1169e2-cc0f-4aed-bcb7-921017d521cd?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: '{"status":"Succeeded","retryAfter":0}' headers: cache-control: - no-cache content-length: - - '29' + - '37' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:16 GMT + - Tue, 02 Jun 2020 17:21:15 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1153,8 +971,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 5e1679a2-5973-4169-8f3f-5225ce77d4af status: code: 200 message: OK @@ -1166,55 +982,39 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - network private-endpoint-connection approve Connection: - keep-alive ParameterSetName: - - -n -g --subnet --vnet-name --private-connection-resource-id --group-ids --connection-name - --manual-request + - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"a77fa3d6-2458-4d35-8a07-c80de58dc582\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"b5f85e87-4e1e-431f-b938-f63536d9c691\",\r\n \"privateLinkServiceConnections\": - [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": - \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"a77fa3d6-2458-4d35-8a07-c80de58dc582\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n - \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n - \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n - \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.8a9718ca-46e2-41d1-9e63-c11e0a29c01b\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: - no-cache content-length: - - '2374' + - '892' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:17 GMT + - Tue, 02 Jun 2020 17:21:15 GMT etag: - - W/"a77fa3d6-2458-4d35-8a07-c80de58dc582" + - W/"0x8D807194D0572FC" expires: - '-1' + last-modified: + - Tue, 02 Jun 2020 17:20:52 GMT pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1223,8 +1023,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - ba2d1a91-7f17-4279-9e36-c32b027c6c15 status: code: 200 message: OK @@ -1236,33 +1034,37 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection list + - network private-endpoint-connection show Connection: - keep-alive ParameterSetName: - - --name --resource-group --type + - --resource-name --name --resource-group --type User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual - approval still required","actionsRequired":"Manual approval request"}}}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: - no-cache content-length: - - '916' + - '892' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:18 GMT + - Tue, 02 Jun 2020 17:21:31 GMT + etag: + - W/"0x8D807194D0572FC" expires: - '-1' + last-modified: + - Tue, 02 Jun 2020 17:20:52 GMT pragma: - no-cache server: @@ -1279,15 +1081,15 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", - "description": "You are approved!"}}}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection approve + - network private-endpoint-connection reject Connection: - keep-alive Content-Length: @@ -1298,18 +1100,18 @@ interactions: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You - are approved!","actionsRequired":"Manual approval request"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -1317,15 +1119,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:19 GMT + - Tue, 02 Jun 2020 17:21:32 GMT etag: - - W/"0x8D801CDB73823AD" + - W/"0x8D807194D0572FC" expires: - '-1' last-modified: - - Tue, 26 May 2020 23:37:12 GMT + - Tue, 02 Jun 2020 17:20:52 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 pragma: - no-cache server: @@ -1347,16 +1149,16 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection approve + - network private-endpoint-connection reject Connection: - keep-alive ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0369f970-451d-4f97-bca1-a5d296064924?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 response: body: string: '{"status":"Succeeded","retryAfter":0}' @@ -1368,7 +1170,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:35 GMT + - Tue, 02 Jun 2020 17:21:48 GMT expires: - '-1' pragma: @@ -1394,20 +1196,20 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection approve + - network private-endpoint-connection reject Connection: - keep-alive ParameterSetName: - --resource-name --name --resource-group --type --description User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You - are approved!","actionsRequired":"Manual approval request"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: - no-cache @@ -1416,13 +1218,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:35 GMT + - Tue, 02 Jun 2020 17:21:48 GMT etag: - - W/"0x8D801CDB73823AD" + - W/"0x8D807194D0572FC" expires: - '-1' last-modified: - - Tue, 26 May 2020 23:37:12 GMT + - Tue, 02 Jun 2020 17:20:52 GMT pragma: - no-cache server: @@ -1450,18 +1252,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type + - --id User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You - are approved!","actionsRequired":"Manual approval request"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: - no-cache @@ -1470,13 +1272,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:38:51 GMT + - Tue, 02 Jun 2020 17:22:04 GMT etag: - - W/"0x8D801CDB73823AD" + - W/"0x8D807194D0572FC" expires: - '-1' last-modified: - - Tue, 26 May 2020 23:37:12 GMT + - Tue, 02 Jun 2020 17:20:52 GMT pragma: - no-cache server: @@ -1493,63 +1295,58 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", - "description": "You are rejected!"}}}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection reject + - network private-endpoint delete Connection: - keep-alive Content-Length: - - '113' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - - --resource-name --name --resource-group --type --description + - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You - are rejected!","actionsRequired":"Manual approval request"}}}' + string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 cache-control: - no-cache content-length: - - '891' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Tue, 26 May 2020 23:38:52 GMT - etag: - - W/"0x8D801CDB73823AD" + - Tue, 02 Jun 2020 17:22:05 GMT expires: - '-1' - last-modified: - - Tue, 26 May 2020 23:37:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-arm-service-request-id: + - 1d8f48c9-5f8d-4694-8938-9c48baf73570 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 202 message: Accepted @@ -1561,34 +1358,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection reject + - network private-endpoint delete Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type --description + - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691$0bcf7d24-17f0-4410-bcce-9625544f6db2?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: - string: '{"status":"Succeeded","retryAfter":0}' + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '37' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:08 GMT + - Tue, 02 Jun 2020 17:22:15 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1597,6 +1395,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - d0f81d06-2cb5-4a7f-9655-d9460c15fbfa status: code: 200 message: OK @@ -1608,39 +1408,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection reject + - network private-endpoint delete Connection: - keep-alive ParameterSetName: - - --resource-name --name --resource-group --type --description + - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You - are rejected!","actionsRequired":"Manual approval request"}}}' + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '892' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:08 GMT - etag: - - W/"0x8D801CDB73823AD" + - Tue, 02 Jun 2020 17:22:25 GMT expires: - '-1' - last-modified: - - Tue, 26 May 2020 23:37:12 GMT pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1649,6 +1445,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 24d333d6-6637-405b-b3a3-0bf49a0f333b status: code: 200 message: OK @@ -1660,41 +1458,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint-connection show + - network private-endpoint delete Connection: - keep-alive ParameterSetName: - - --id + - -n -g User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/8.0.1 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","name":"priv_endpoint000004.b5f85e87-4e1e-431f-b938-f63536d9c691","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D801CDB73823AD\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You - are rejected!","actionsRequired":"Manual approval request"}}}' + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '892' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:24 GMT - etag: - - W/"0x8D801CDB73823AD" + - Tue, 02 Jun 2020 17:22:35 GMT expires: - '-1' - last-modified: - - Tue, 26 May 2020 23:37:12 GMT pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1703,65 +1495,11 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - f7485701-383b-4eec-b077-63c8c80580c2 status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -n -g - User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004?api-version=2020-04-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 26 May 2020 23:39:25 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5ecc0e76-84bc-410e-86e5-f14035c56058 - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted - request: body: null headers: @@ -1779,7 +1517,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1791,7 +1529,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:36 GMT + - Tue, 02 Jun 2020 17:22:45 GMT expires: - '-1' pragma: @@ -1808,7 +1546,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b10989d5-42d9-48db-823e-fea690c10775 + - 7d37bccb-6031-45c4-a773-7202873ab922 status: code: 200 message: OK @@ -1829,7 +1567,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1841,7 +1579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:46 GMT + - Tue, 02 Jun 2020 17:22:56 GMT expires: - '-1' pragma: @@ -1858,7 +1596,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 122b33b5-2655-49a8-9734-5528cbda1ef7 + - 1edabe63-e354-4ed7-a856-4a3e27d4175c status: code: 200 message: OK @@ -1879,7 +1617,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1891,7 +1629,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:39:56 GMT + - Tue, 02 Jun 2020 17:23:06 GMT expires: - '-1' pragma: @@ -1908,7 +1646,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ae3e8742-9fe1-4808-afe8-a0da9c16bdba + - 145ebc4a-075a-4238-aae1-56356d71b133 status: code: 200 message: OK @@ -1929,7 +1667,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1941,7 +1679,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:40:06 GMT + - Tue, 02 Jun 2020 17:23:16 GMT expires: - '-1' pragma: @@ -1958,7 +1696,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2fe9dd79-a31a-4418-8373-cf88b85aa8d6 + - bf4d1308-09e5-4e49-a962-1756f4f05ac9 status: code: 200 message: OK @@ -1979,7 +1717,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1991,7 +1729,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:40:16 GMT + - Tue, 02 Jun 2020 17:23:26 GMT expires: - '-1' pragma: @@ -2008,7 +1746,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 515c0fba-c2f2-4a49-902b-e96947e613fb + - 43474a61-3f77-4863-ae41-5eaa47bd8f6f status: code: 200 message: OK @@ -2029,7 +1767,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2041,7 +1779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:40:26 GMT + - Tue, 02 Jun 2020 17:23:36 GMT expires: - '-1' pragma: @@ -2058,7 +1796,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b629d9d9-dffa-47dc-9600-c7e3c6e7a349 + - 38706af9-e0f6-4449-9eb6-2df4a9e3f808 status: code: 200 message: OK @@ -2079,7 +1817,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/a1eb4174-f6c3-4d34-9a42-58c7e018dfa3?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2091,7 +1829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 23:40:36 GMT + - Tue, 02 Jun 2020 17:23:46 GMT expires: - '-1' pragma: @@ -2108,7 +1846,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c360a601-8c58-4db5-a9f9-bcd1e68017d3 + - 03f8888f-5b23-47f2-9a60-ab4d78d2805f status: code: 200 message: OK diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 8f3333f63b6..daa9193de8d 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.1 +azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 85af394bea4..3f16ff07651 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -21,7 +21,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.1 +azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 5ca22f67305..c5170c22607 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -20,7 +20,7 @@ azure-mgmt-apimanagement==0.1.0 azure-mgmt-appconfiguration==0.4.0 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.52.0 -azure-mgmt-batch==8.0.1 +azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-botservice==0.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 89571254743..13eba790da4 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -65,7 +65,7 @@ 'azure-mgmt-applicationinsights~=0.1.1', 'azure-mgmt-appconfiguration~=0.4.0', 'azure-mgmt-authorization~=0.52.0', - 'azure-mgmt-batch~=8.0.1', + 'azure-mgmt-batch~=9.0.0', 'azure-mgmt-batchai~=2.0', 'azure-mgmt-billing~=0.2', 'azure-mgmt-botservice~=0.2.0', From 3eeb4f65cb6a178af20d799709c98a0bd457f00a Mon Sep 17 00:00:00 2001 From: Brandon Klein Date: Thu, 4 Jun 2020 16:39:19 -0700 Subject: [PATCH 13/13] respond to comments --- .../cli/command_modules/batch/_params.py | 42 +- .../azure/cli/command_modules/batch/custom.py | 7 +- .../resource_providers/batch_provider.py | 51 +- ...t_private_link_resource_batch_account.yaml | 499 ++++++++++++------ .../latest/test_private_endpoint_commands.py | 23 +- 5 files changed, 412 insertions(+), 210 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/batch/_params.py b/src/azure-cli/azure/cli/command_modules/batch/_params.py index 6c32f8a753d..b53ff968938 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/_params.py +++ b/src/azure-cli/azure/cli/command_modules/batch/_params.py @@ -7,24 +7,38 @@ from knack.arguments import CLIArgumentType -from azure.mgmt.batch.models import \ - AccountKeyType, KeySource,\ - PublicNetworkAccessType, ResourceIdentityType +from azure.mgmt.batch.models import ( + AccountKeyType, + KeySource, + PublicNetworkAccessType, + ResourceIdentityType) from azure.batch.models import ComputeNodeDeallocationOption -from azure.cli.core.commands.parameters import \ - (tags_type, get_location_type, resource_group_name_type, - get_resource_name_completion_list, file_type, get_enum_type) +from azure.cli.core.commands.parameters import ( + tags_type, + get_location_type, + resource_group_name_type, + get_resource_name_completion_list, + file_type, + get_enum_type) from azure.cli.command_modules.batch._completers import load_supported_images -from azure.cli.command_modules.batch._validators import \ - (application_enabled, application_package_reference_format, - certificate_reference_format, datetime_format, - disk_encryption_configuration_format, environment_setting_format, - keyvault_id, metadata_item_format, resource_file_format, - storage_account_id, validate_cert_file, validate_cert_settings, - validate_client_parameters, validate_json_file, - validate_pool_resize_parameters) +from azure.cli.command_modules.batch._validators import ( + application_enabled, + application_package_reference_format, + certificate_reference_format, + datetime_format, + disk_encryption_configuration_format, + environment_setting_format, + keyvault_id, + metadata_item_format, + resource_file_format, + storage_account_id, + validate_cert_file, + validate_cert_settings, + validate_client_parameters, + validate_json_file, + validate_pool_resize_parameters) # pylint: disable=line-too-long, too-many-statements 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 ef59eb6dc17..d3c4f002ed5 100644 --- a/src/azure-cli/azure/cli/command_modules/batch/custom.py +++ b/src/azure-cli/azure/cli/command_modules/batch/custom.py @@ -80,7 +80,8 @@ def create_account(client, properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None identity = BatchAccountIdentity(type=identity_type) if identity_type else None - if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: + if (encryption_key_source and + encryption_key_source.tolower() == "microsoft.keyvault" and not encryption_key_identifier): raise ValueError("The --encryption-key-identifier property is required when " "--encryption-key-source is set to Microsoft.KeyVault") encryption_key_identifier = KeyVaultProperties(key_identifier=encryption_key_identifier) \ @@ -108,7 +109,9 @@ def update_account(client, resource_group_name, account_name, encryption_key_identifier=None, identity_type=None): properties = AutoStorageBaseProperties(storage_account_id=storage_account) \ if storage_account else None - if encryption_key_source == "Microsoft.KeyVault" and not encryption_key_identifier: + if (encryption_key_source and + encryption_key_source.lower() == "microsoft.keyvault" and not + encryption_key_identifier): raise ValueError("The --encryption-key-identifier property is required when " "--encryption-key-source is set to Microsoft.KeyVault") encryption_key_identifier = KeyVaultProperties(key_identifier=encryption_key_identifier) \ diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py index e99a9010157..a0d6842b58c 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py @@ -6,15 +6,22 @@ from azure.mgmt.batch import BatchManagementClient from azure.mgmt.batch.models import PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStatus from knack.log import get_logger -from . import PrivateEndpointClient +from . import GeneralPrivateEndpointClient logger = get_logger(__name__) -class BatchPrivateEndpointClient(PrivateEndpointClient): - @staticmethod - def _update_private_endpoint_connection_status(client, resource_group_name, - account_name, +class BatchPrivateEndpointClient(GeneralPrivateEndpointClient): + def __init__(self): + super().__init__( + rp='Microsoft.Batch/batchAccounts', + api_version='2020-05-01', + support_list=True) + + def _update_private_endpoint_connection_status(self, + cmd, + resource_group_name, + resource_name, private_endpoint_connection_name, is_approved=True, description=None): @@ -25,47 +32,35 @@ def _update_private_endpoint_connection_status(client, resource_group_name, status=PrivateLinkServiceConnectionStatus.rejected, description=description) + client = get_mgmt_service_client( + cmd.cli_ctx, + BatchManagementClient).private_endpoint_connection return client.update( resource_group_name=resource_group_name, - account_name=account_name, + account_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name, private_link_service_connection_state=new_status) - def list_private_link_resource(self, cmd, resource_group_name, name): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_link_resource - return client.list_by_batch_account(resource_group_name, name) + def remove_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): + logger.error("Microsoft.Batch/batchAccounts does not currently support deleting private endpoint " + "connections directly. Please delete the top level private endpoint.") def approve_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name, approval_description=None): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection return self._update_private_endpoint_connection_status( - client=client, + cmd=cmd, resource_group_name=resource_group_name, - account_name=resource_name, + resource_name=resource_name, private_endpoint_connection_name=name, is_approved=True, description=approval_description) def reject_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name, rejection_description=None): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection return self._update_private_endpoint_connection_status( - client=client, + cmd=cmd, resource_group_name=resource_group_name, - account_name=resource_name, + resource_name=resource_name, private_endpoint_connection_name=name, is_approved=False, description=rejection_description) - - def remove_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): - logger.error("Microsoft.Batch/batchAccounts does not currently support deleting private endpoint " - "connections directly. Please delete the top level private endpoint.") - - def show_private_endpoint_connection(self, cmd, resource_group_name, resource_name, name): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection - return client.get(resource_group_name, resource_name, name) - - # pylint: disable=R0201 - def list_private_endpoint_connection(self, cmd, resource_group_name, resource_name): - client = get_mgmt_service_client(cmd.cli_ctx, BatchManagementClient).private_endpoint_connection - return client.list_by_batch_account(resource_group_name=resource_group_name, account_name=resource_name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml index 1ba761190aa..2aa6d15817a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_link_resource_batch_account.yaml @@ -22,7 +22,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2020-05-01 response: body: string: '' @@ -32,11 +32,11 @@ interactions: content-length: - '0' date: - - Tue, 02 Jun 2020 17:19:44 GMT + - Thu, 04 Jun 2020 23:34:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/d88618df-c603-49c4-a33e-e241579687be?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/66b4b6d0-6630-413f-b84c-db29c8d248eb?api-version=2020-05-01 pragma: - no-cache server: @@ -67,10 +67,10 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/operationResults/d88618df-c603-49c4-a33e-e241579687be?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/operationResults/66b4b6d0-6630-413f-b84c-db29c8d248eb?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink","name":"testprivatelink","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testprivatelink.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch","name":"testplinksbatch","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testplinksbatch.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[],"encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache @@ -79,13 +79,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:19:59 GMT + - Thu, 04 Jun 2020 23:35:12 GMT etag: - - '"0x8D807192E323445"' + - '"0x8D808DFEDD7CF86"' expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:00 GMT + - Thu, 04 Jun 2020 23:35:13 GMT pragma: - no-cache server: @@ -123,7 +123,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-02T17:19:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-04T23:34:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:02 GMT + - Thu, 04 Jun 2020 23:35:14 GMT expires: - '-1' pragma: @@ -175,15 +175,15 @@ interactions: response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"e536c8df-4259-4d19-9627-7ee3bb1e88a6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0e719aa0-ad4d-4350-8aa3-96b43d5798cc\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"78db8ec5-9abf-4eef-bff8-23cbd006f770\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"e07d4765-2417-4732-8dea-a893e97950f2\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"e536c8df-4259-4d19-9627-7ee3bb1e88a6\\\"\",\r\n + \ \"etag\": \"W/\\\"0e719aa0-ad4d-4350-8aa3-96b43d5798cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -194,7 +194,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ab84d036-fe1a-4387-9ee7-a6f9ca6ae2ec?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/f02895e1-6424-460c-ae43-47206cecdf87?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -202,7 +202,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:04 GMT + - Thu, 04 Jun 2020 23:35:15 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 729ea33e-d7f7-47fa-b479-9484ceb42651 + - dfac488d-efdd-44be-ae38-d0d533c35ce5 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -238,7 +238,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ab84d036-fe1a-4387-9ee7-a6f9ca6ae2ec?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/f02895e1-6424-460c-ae43-47206cecdf87?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -250,7 +250,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:08 GMT + - Thu, 04 Jun 2020 23:35:19 GMT expires: - '-1' pragma: @@ -267,7 +267,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6c4eda9f-0c08-466e-9cc1-ec75a4f37848 + - 94e37993-3b9d-48f0-b3ef-3fbeea58ac6c status: code: 200 message: OK @@ -292,15 +292,15 @@ interactions: response: body: string: "{\r\n \"name\": \"testvnet000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002\",\r\n - \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"babd592e-cf1e-4e5d-87e3-69edefdffbae\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"78db8ec5-9abf-4eef-bff8-23cbd006f770\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"e07d4765-2417-4732-8dea-a893e97950f2\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"testsubnet000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n + \ \"etag\": \"W/\\\"babd592e-cf1e-4e5d-87e3-69edefdffbae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -315,9 +315,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:08 GMT + - Thu, 04 Jun 2020 23:35:19 GMT etag: - - W/"4fc11722-bfc0-4837-bf1f-d2bdea279c50" + - W/"babd592e-cf1e-4e5d-87e3-69edefdffbae" expires: - '-1' pragma: @@ -334,7 +334,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6cfe842a-d814-4e48-bd25-77fd9fa9cc76 + - 28d61b8b-e79b-44a9-b2e4-c4af54dd4c18 status: code: 200 message: OK @@ -361,7 +361,7 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"4fc11722-bfc0-4837-bf1f-d2bdea279c50\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"babd592e-cf1e-4e5d-87e3-69edefdffbae\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -374,9 +374,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:08 GMT + - Thu, 04 Jun 2020 23:35:20 GMT etag: - - W/"4fc11722-bfc0-4837-bf1f-d2bdea279c50" + - W/"babd592e-cf1e-4e5d-87e3-69edefdffbae" expires: - '-1' pragma: @@ -393,7 +393,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ec8b0990-e051-4350-af35-925285ac21a9 + - 46a19cc3-828d-4e29-ab96-930990d1909c status: code: 200 message: OK @@ -426,14 +426,14 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"1b4e7b30-03a8-4dac-ac90-f668c5c014ed\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"1fd5e0ac-1e78-46b0-8fd1-b49453f19763\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/737cfa41-5de0-4a47-9446-3b037f606385?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/8b752ad4-11b2-449b-9a1f-51ff26be9685?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -441,7 +441,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:09 GMT + - Thu, 04 Jun 2020 23:35:21 GMT expires: - '-1' pragma: @@ -458,9 +458,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ffd17229-8400-484f-b1a4-2c246f971cb9 + - a0f4803a-7e99-41bd-87be-841323df29fb x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -481,7 +481,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/737cfa41-5de0-4a47-9446-3b037f606385?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/8b752ad4-11b2-449b-9a1f-51ff26be9685?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -493,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:12 GMT + - Thu, 04 Jun 2020 23:35:23 GMT expires: - '-1' pragma: @@ -510,7 +510,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3f69cb64-fe5a-438e-8d6f-952e4ebc72bc + - a4e967c3-7365-4a79-ac4f-e5c919f0746f status: code: 200 message: OK @@ -535,7 +535,7 @@ interactions: response: body: string: "{\r\n \"name\": \"testsubnet000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\",\r\n - \ \"etag\": \"W/\\\"abaa488a-e65e-438d-b08a-9e8b0c32620c\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"ca96691d-a85e-4316-8539-1971b05cf6b6\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -548,9 +548,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:13 GMT + - Thu, 04 Jun 2020 23:35:24 GMT etag: - - W/"abaa488a-e65e-438d-b08a-9e8b0c32620c" + - W/"ca96691d-a85e-4316-8539-1971b05cf6b6" expires: - '-1' pragma: @@ -567,7 +567,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 32bcede3-6b17-452d-920e-a780ce382c1f + - e7b286dd-108e-42e5-88a6-35a5ded0f3c5 status: code: 200 message: OK @@ -594,7 +594,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-02T17:19:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-04T23:34:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -603,7 +603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:43 GMT + - Thu, 04 Jun 2020 23:35:24 GMT expires: - '-1' pragma: @@ -620,7 +620,7 @@ interactions: - request: body: 'b''{"location": "westcentralus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003"}, "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch", "groupIds": ["batchAccount"]}, "name": "priv_endpointconn000005"}]}}''' headers: Accept: @@ -648,27 +648,27 @@ interactions: response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"5ecbccba-c512-4896-b33f-94df445366b0\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"500df636-5211-45d7-8f54-968ad2b13438\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"061157c9-c8c3-483f-b0fe-7335797620d8\",\r\n \"privateLinkServiceConnections\": + \"7c77c43c-5890-419f-9bdd-e01adad48f69\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"5ecbccba-c512-4896-b33f-94df445366b0\\\"\",\r\n + \ \"etag\": \"W/\\\"500df636-5211-45d7-8f54-968ad2b13438\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n \ \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3b066b52-1194-4a9a-8595-87cdba1dbae7\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.95670b16-4667-489b-a340-d750d940da44\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/00b1000b-b196-4ade-b696-1b6575e00271?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/3d567d6b-539c-44ce-b4ac-0d451fbc8626?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -676,7 +676,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:46 GMT + - Thu, 04 Jun 2020 23:35:27 GMT expires: - '-1' pragma: @@ -689,9 +689,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7940908c-c39f-4c08-ace9-496568c76874 + - 4f2ef62b-7530-4634-8d22-f0869b3539d3 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -713,7 +713,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/00b1000b-b196-4ade-b696-1b6575e00271?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/3d567d6b-539c-44ce-b4ac-0d451fbc8626?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -725,7 +725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:57 GMT + - Thu, 04 Jun 2020 23:35:38 GMT expires: - '-1' pragma: @@ -742,7 +742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 09e9e1d6-6237-4aed-8b42-90fb4f909b92 + - e371aafd-9132-48c0-ba29-79c774b1c71d status: code: 200 message: OK @@ -768,22 +768,22 @@ interactions: response: body: string: "{\r\n \"name\": \"priv_endpoint000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004\",\r\n - \ \"etag\": \"W/\\\"49e2915e-88e1-4a21-9d84-ed4293923843\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ce510cd4-d853-4357-813e-4b9a5ca76f5a\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westcentralus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"061157c9-c8c3-483f-b0fe-7335797620d8\",\r\n \"privateLinkServiceConnections\": + \"7c77c43c-5890-419f-9bdd-e01adad48f69\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"priv_endpointconn000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004/manualPrivateLinkServiceConnections/priv_endpointconn000005\",\r\n - \ \"etag\": \"W/\\\"49e2915e-88e1-4a21-9d84-ed4293923843\\\"\",\r\n + \ \"etag\": \"W/\\\"ce510cd4-d853-4357-813e-4b9a5ca76f5a\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch\",\r\n \ \"groupIds\": [\r\n \"batchAccount\"\r\n ],\r\n \ \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": \"Manual approval still required\",\r\n \ \"actionsRequired\": \"Manual approval request\"\r\n }\r\n \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/testvnet000002/subnets/testsubnet000003\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.3b066b52-1194-4a9a-8595-87cdba1dbae7\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/priv_endpoint000004.nic.95670b16-4667-489b-a340-d750d940da44\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: cache-control: @@ -793,9 +793,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:57 GMT + - Thu, 04 Jun 2020 23:35:38 GMT etag: - - W/"49e2915e-88e1-4a21-9d84-ed4293923843" + - W/"ce510cd4-d853-4357-813e-4b9a5ca76f5a" expires: - '-1' pragma: @@ -812,7 +812,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d849d576-6efc-41cb-a150-b7b9750dd035 + - 3a3c5a53-a4d5-493b-88f6-8cd895833561 status: code: 200 message: OK @@ -820,7 +820,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -830,27 +830,78 @@ interactions: ParameterSetName: - --name --resource-group --type User-Agent: + - AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections?api-version=2020-05-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 04 Jun 2020 23:35:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - batch account show + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch?api-version=2020-05-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Pending","description":"Manual - approval still required","actionsRequired":"Manual approval request"}}}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch","name":"testplinksbatch","type":"Microsoft.Batch/batchAccounts","location":"westcentralus","properties":{"accountEndpoint":"testplinksbatch.westcentralus.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":700,"dedicatedCoreQuotaPerVMFamily":[{"name":"standardAv2Family","coreQuota":100},{"name":"standardDv2Family","coreQuota":100},{"name":"standardDv3Family","coreQuota":100},{"name":"standardEv3Family","coreQuota":50},{"name":"standardDSv2Family","coreQuota":100},{"name":"standardDSv3Family","coreQuota":100},{"name":"standardESv3Family","coreQuota":50},{"name":"standardFFamily","coreQuota":50},{"name":"standardFSFamily","coreQuota":50},{"name":"standardA0_A7Family","coreQuota":0},{"name":"standardA8_A11Family","coreQuota":0},{"name":"standardDFamily","coreQuota":0},{"name":"standardGFamily","coreQuota":0},{"name":"basicAFamily","coreQuota":0},{"name":"standardNVFamily","coreQuota":0},{"name":"standardNVPromoFamily","coreQuota":0},{"name":"standardNCFamily","coreQuota":0},{"name":"standardNCPromoFamily","coreQuota":0},{"name":"standardHFamily","coreQuota":0},{"name":"standardHPromoFamily","coreQuota":0},{"name":"standardMSFamily","coreQuota":0},{"name":"standardDSFamily","coreQuota":0},{"name":"standardGSFamily","coreQuota":0},{"name":"standardLSFamily","coreQuota":0},{"name":"standardLSv2Family","coreQuota":0},{"name":"standardNCSv2Family","coreQuota":0},{"name":"standardNDSFamily","coreQuota":0},{"name":"standardNCSv3Family","coreQuota":0},{"name":"standardFSv2Family","coreQuota":0},{"name":"standardHBSFamily","coreQuota":0},{"name":"standardHCSFamily","coreQuota":0},{"name":"standardNVSv3Family","coreQuota":0},{"name":"standardHBrsv2Family","coreQuota":0},{"name":"standardDASv4Family","coreQuota":0},{"name":"standardEAv4Family","coreQuota":0},{"name":"standardEASv4Family","coreQuota":0}],"dedicatedCoreQuotaPerVMFamilyEnforced":false,"lowPriorityCoreQuota":500,"poolQuota":100,"activeJobAndJobScheduleQuota":300,"poolAllocationMode":"BatchService","publicNetworkAccess":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"provisioningState":"Succeeded","privateLinkServiceConnectionState":{"status":"Pending","description":"Manual + approval still required","actionsRequired":"Manual approval request"}}}],"encryption":{"keySource":"Microsoft.Batch"}},"identity":{"type":"None"}}' headers: cache-control: - no-cache content-length: - - '916' + - '3215' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:59 GMT + - Thu, 04 Jun 2020 23:35:40 GMT + etag: + - '"0x8D808DFE8B11EC7"' expires: - '-1' + last-modified: + - Thu, 04 Jun 2020 23:35:04 GMT pragma: - no-cache server: @@ -890,14 +941,14 @@ interactions: accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$0b7a0362-ff03-426b-8cc8-ad68945042f9?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -905,15 +956,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:20:59 GMT + - Thu, 04 Jun 2020 23:35:42 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$0b7a0362-ff03-426b-8cc8-ad68945042f9?api-version=2020-05-01 pragma: - no-cache server: @@ -944,7 +995,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$6d636635-3c9f-428a-b39c-9512cd8cc857?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$0b7a0362-ff03-426b-8cc8-ad68945042f9?api-version=2020-05-01 response: body: string: '{"status":"Succeeded","retryAfter":0}' @@ -956,7 +1007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:15 GMT + - Thu, 04 Jun 2020 23:35:57 GMT expires: - '-1' pragma: @@ -991,10 +1042,10 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1004,13 +1055,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:15 GMT + - Thu, 04 Jun 2020 23:35:57 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT pragma: - no-cache server: @@ -1030,7 +1081,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1040,15 +1091,12 @@ interactions: ParameterSetName: - --resource-name --name --resource-group --type User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US + - AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You are approved!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1058,13 +1106,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:31 GMT + - Thu, 04 Jun 2020 23:35:58 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT pragma: - no-cache server: @@ -1104,14 +1152,14 @@ interactions: accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$7d87b1a0-c225-4758-bef9-4b5243cdd2cc?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -1119,15 +1167,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:32 GMT + - Thu, 04 Jun 2020 23:35:59 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$7d87b1a0-c225-4758-bef9-4b5243cdd2cc?api-version=2020-05-01 pragma: - no-cache server: @@ -1158,7 +1206,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnectionResults/Updating$priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8$f1f88b39-9c74-43cf-8f91-f5f4bc4bb5c2?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnectionResults/Updating$priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69$7d87b1a0-c225-4758-bef9-4b5243cdd2cc?api-version=2020-05-01 response: body: string: '{"status":"Succeeded","retryAfter":0}' @@ -1170,7 +1218,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:48 GMT + - Thu, 04 Jun 2020 23:36:14 GMT expires: - '-1' pragma: @@ -1205,10 +1253,10 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1218,13 +1266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:21:48 GMT + - Thu, 04 Jun 2020 23:36:14 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT pragma: - no-cache server: @@ -1244,7 +1292,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1254,15 +1302,12 @@ interactions: ParameterSetName: - --id User-Agent: - - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-batch/9.0.0 Azure-SDK-For-Python AZURECLI/2.6.0 - accept-language: - - en-US + - AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69?api-version=2020-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testprivatelink/privateEndpointConnections/priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","name":"priv_endpoint000004.061157c9-c8c3-483f-b0fe-7335797620d8","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D807194D0572FC\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Batch/batchAccounts/testplinksbatch/privateEndpointConnections/priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","name":"priv_endpoint000004.7c77c43c-5890-419f-9bdd-e01adad48f69","type":"Microsoft.Batch/batchAccounts/privateEndpointConnections","etag":"W/\"0x8D808DFF9C1D173\"","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/priv_endpoint000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You are rejected!","actionsRequired":"Manual approval request"}}}' headers: cache-control: @@ -1272,13 +1317,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:04 GMT + - Thu, 04 Jun 2020 23:36:16 GMT etag: - - W/"0x8D807194D0572FC" + - W/"0x8D808DFF9C1D173" expires: - '-1' last-modified: - - Tue, 02 Jun 2020 17:20:52 GMT + - Thu, 04 Jun 2020 23:35:33 GMT pragma: - no-cache server: @@ -1323,17 +1368,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jun 2020 17:22:05 GMT + - Thu, 04 Jun 2020 23:36:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 pragma: - no-cache server: @@ -1344,7 +1389,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d8f48c9-5f8d-4694-8938-9c48baf73570 + - 50c674d0-2459-4f7c-8dd8-91f8415122ae x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -1367,7 +1412,157 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 04 Jun 2020 23:36:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 10663fdc-d026-42b6-be28-11aa2fdd926a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 04 Jun 2020 23:36:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 941a1b70-1cb2-4c01-9ab4-85dcc6637baa + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 04 Jun 2020 23:36:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 11e7006f-aabd-4884-9e56-61fc702b3ba4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1379,7 +1574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:15 GMT + - Thu, 04 Jun 2020 23:36:58 GMT expires: - '-1' pragma: @@ -1396,7 +1591,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0f81d06-2cb5-4a7f-9655-d9460c15fbfa + - 4e313792-b785-4dee-acbf-9adde822982b status: code: 200 message: OK @@ -1417,7 +1612,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1429,7 +1624,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:25 GMT + - Thu, 04 Jun 2020 23:37:08 GMT expires: - '-1' pragma: @@ -1446,7 +1641,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 24d333d6-6637-405b-b3a3-0bf49a0f333b + - 006f02ae-d8e0-4063-8584-4ed2d6217b8c status: code: 200 message: OK @@ -1467,7 +1662,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1479,7 +1674,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:35 GMT + - Thu, 04 Jun 2020 23:37:18 GMT expires: - '-1' pragma: @@ -1496,7 +1691,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f7485701-383b-4eec-b077-63c8c80580c2 + - 81f7d906-fec8-461c-8391-80244e285644 status: code: 200 message: OK @@ -1517,7 +1712,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1529,7 +1724,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:45 GMT + - Thu, 04 Jun 2020 23:37:28 GMT expires: - '-1' pragma: @@ -1546,7 +1741,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7d37bccb-6031-45c4-a773-7202873ab922 + - 20694707-a079-4a36-9468-ee5d65a6a25a status: code: 200 message: OK @@ -1567,7 +1762,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1579,7 +1774,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:22:56 GMT + - Thu, 04 Jun 2020 23:37:38 GMT expires: - '-1' pragma: @@ -1596,7 +1791,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1edabe63-e354-4ed7-a856-4a3e27d4175c + - 3ec7de93-c7a3-49cc-9c5d-74af9e28ff0b status: code: 200 message: OK @@ -1617,7 +1812,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1629,7 +1824,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:23:06 GMT + - Thu, 04 Jun 2020 23:37:48 GMT expires: - '-1' pragma: @@ -1646,7 +1841,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 145ebc4a-075a-4238-aae1-56356d71b133 + - a674e782-8448-47ee-9c2a-76899455966a status: code: 200 message: OK @@ -1667,7 +1862,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1679,7 +1874,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:23:16 GMT + - Thu, 04 Jun 2020 23:37:58 GMT expires: - '-1' pragma: @@ -1696,7 +1891,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bf4d1308-09e5-4e49-a962-1756f4f05ac9 + - 417eb7b0-99a2-4884-9b39-a32b72e60eaf status: code: 200 message: OK @@ -1717,7 +1912,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1729,7 +1924,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:23:26 GMT + - Thu, 04 Jun 2020 23:38:08 GMT expires: - '-1' pragma: @@ -1746,7 +1941,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 43474a61-3f77-4863-ae41-5eaa47bd8f6f + - a1b0ffe7-0f67-4bb0-aa49-aa179881a9ca status: code: 200 message: OK @@ -1767,7 +1962,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1779,7 +1974,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:23:36 GMT + - Thu, 04 Jun 2020 23:38:18 GMT expires: - '-1' pragma: @@ -1796,7 +1991,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 38706af9-e0f6-4449-9eb6-2df4a9e3f808 + - e4f44e41-533b-4373-8c82-368b534fd9e7 status: code: 200 message: OK @@ -1817,7 +2012,7 @@ interactions: - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 Azure-SDK-For-Python AZURECLI/2.6.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0ef74760-9eaa-442f-8ab1-582cc188a1bf?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/2ac59443-0138-460a-b96d-c2526c7dd9bd?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1829,7 +2024,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jun 2020 17:23:46 GMT + - Thu, 04 Jun 2020 23:38:28 GMT expires: - '-1' pragma: @@ -1846,7 +2041,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 03f8888f-5b23-47f2-9a60-ab4d78d2805f + - 3a7b6ed7-eb21-4325-b0e6-6dbf2274f632 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index b4537c5b374..9cad546ac22 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -607,7 +607,7 @@ def _get_test_data_file(self, filename): # Currently private-link-resource and private-endpoint-connection are whitelist only features so scenario tests are limited @ResourceGroupPreparer(location='westcentralus') - def test_private_link_resource_batch_account(self, resource_group, batch_account_name='testprivatelink'): + def test_private_link_resource_batch_account(self, resource_group, batch_account_name='testplinksbatch'): self.kwargs.update({ 'vnet_name': self.create_random_name('testvnet', 20), 'subnet_name': self.create_random_name('testsubnet', 20), @@ -627,9 +627,6 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account # create subnet with disabled endpoint network policies self.cmd('network vnet create -g {rg} -n {vnet_name} --subnet-name {subnet_name}') self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet_name} --name {subnet_name} --disable-private-endpoint-network-policies true') - if self.is_live or self.in_recording: - import time - time.sleep(30) # add an endpoint and then reject it self.cmd( @@ -645,32 +642,30 @@ def test_private_link_resource_batch_account(self, resource_group, batch_account private_endpoints = self.cmd('network private-endpoint-connection list --name {acc_n} --resource-group {rg} --type Microsoft.Batch/batchAccounts', checks=[ self.check('length(@)', 1) ]).get_output_in_json() + self.cmd('batch account show --name {acc_n} --resource-group {rg}', checks=[ + self.check('length(privateEndpointConnections[*])', 1), + self.check('privateEndpointConnections[0].id', private_endpoints[0]['id']) + ]) self.kwargs['pe_id'] = private_endpoints[0]["id"] self.kwargs['pe_name'] = private_endpoints[0]['name'] self.cmd( 'network private-endpoint-connection approve --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' '--description "{approval_desc}"') - if self.is_live or self.in_recording: - import time - time.sleep(15) self.cmd( 'network private-endpoint-connection show --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts', checks=[ self.check('name', '{pe_name}'), - self.check('privateLinkServiceConnectionState.status', 'Approved'), - self.check('privateLinkServiceConnectionState.description', '{approval_desc}')]) + self.check('properties.privateLinkServiceConnectionState.status', 'Approved'), + self.check('properties.privateLinkServiceConnectionState.description', '{approval_desc}')]) self.cmd('network private-endpoint-connection reject --resource-name {acc_n} --name {pe_name} --resource-group {rg} --type Microsoft.Batch/batchAccounts ' '--description "{rejection_desc}"') - if self.is_live or self.in_recording: - import time - time.sleep(15) self.cmd('network private-endpoint-connection show --id {pe_id}', checks=[ self.check('id', '{pe_id}'), - self.check('privateLinkServiceConnectionState.status', 'Rejected'), - self.check('privateLinkServiceConnectionState.description', '{rejection_desc}')]) + self.check('properties.privateLinkServiceConnectionState.status', 'Rejected'), + self.check('properties.privateLinkServiceConnectionState.description', '{rejection_desc}')]) # Test delete self.cmd('network private-endpoint-connection delete --id {pe_id} -y')