diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0cad9adbe07..68a421760ea 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -60,4 +60,4 @@ /src/sqlvm-preview/ @yareyes -/src/anf-preview/ @williexu +/src/anf-preview/ @b-lefr diff --git a/src/anf-preview/HISTORY.rst b/src/anf-preview/HISTORY.rst index e7f6a722ba4..12494af638d 100644 --- a/src/anf-preview/HISTORY.rst +++ b/src/anf-preview/HISTORY.rst @@ -3,6 +3,6 @@ Release History =============== -0.0.1 +0.1.0 +++++ * Initial release diff --git a/src/anf-preview/README.md b/src/anf-preview/README.md new file mode 100644 index 00000000000..14046d5520c --- /dev/null +++ b/src/anf-preview/README.md @@ -0,0 +1,33 @@ +# Azure CLI for Azure NetApp Files (ANF) Extension # +This is an extension to azure cli which provides commands to create and manage Azure NetApp File (ANF) storage resources. + +## How to use ## +First, install the extension: +``` +az extension add --name anf-preview +``` + +It can then be used to create volumes and snapshots. The typical sequence would be to first create an account +``` +az anf account create --resource-group rg -n account_name +``` + +Then allocate a storage pool in which volumes can be created +``` +az anf pool create --resource-group rg -a account_name -n pool_name -l location --size 4398046511104 --service-level "Premium" +``` + +Volumes are created within the pool resource +``` +az anf volume create --resource-group rg -a account_name -p pool_name -n volume_name -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" +``` + +Snapshots of volumes can also be created +``` +az anf snapshot create --resource-group rg -a account_name --p pool_name -v vname -n snapshot_name -l location --file-system-id volume-uuid +``` + +These resources can be updated, deleted and listed. See the help to find out more +``` +az anf --help +``` diff --git a/src/anf-preview/README.rst b/src/anf-preview/README.rst deleted file mode 100644 index ffb074f2f3a..00000000000 --- a/src/anf-preview/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -Microsoft Azure CLI 'Azure NetApp File (ANF)' Command Module -=================================================================== - -This package is for the Azure NetApp File (ANF)' module. -i.e. 'az anf' diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index 8d464ca423a..511656f7fa0 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -13,14 +13,46 @@ def load_arguments(self, _): with self.argument_context('anf') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') + with self.argument_context('anf account') as c: + c.argument('account_name', id_part='name', options_list=['--account-name', '-n', '-a'], required=True, help='The name of the ANF account') + + with self.argument_context('anf account list') as c: + c.argument('account_name', help='The name of the ANF account', id_part=None) + with self.argument_context('anf') as c: c.argument('pool_name', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + with self.argument_context('anf pool') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool') + + with self.argument_context('anf pool list') as c: + c.argument('account_name', options_list=['--account-name', '-n', '-a'], help='The name of the ANF account', id_part=None) + with self.argument_context('anf') as c: c.argument('volume_name', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') + with self.argument_context('anf volume') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume') + + with self.argument_context('anf volume list') as c: + c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) + c.argument('pool_name', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool', id_part=None) + with self.argument_context('anf') as c: c.argument('snapshot_name', options_list=['--snapshot-name', '-s'], required=True, help='The name of the ANF snapshot') + with self.argument_context('anf snapshot') as c: + c.argument('account_name', options_list=['--account-name', '-a'], id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name','-v'], required=True, help='The name of the ANF volume') + c.argument('snapshot_name', id_part='child_name_3', options_list=['--snapshot-name', '-n', '-s'], required=True, help='The name of the ANF snapshot') + + with self.argument_context('anf snapshot list') as c: + c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) + c.argument('volume_name', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume', id_part=None) + with self.argument_context('anf') as c: c.argument('tag', options_list=['--tags'], required=False, help='A list of space separated tags to apply to the account') diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml index 058e721b543..0be78c98f0f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:38:03Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:47:59Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:38:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:47:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:07 GMT'] + date: ['Wed, 20 Feb 2019 13:48:04 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -43,16 +43,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A11.7270632Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.0012757Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:11 GMT'] - etag: [W/"datetime'2019-02-18T10%3A38%3A11.7270632Z'"] + date: ['Wed, 20 Feb 2019 13:48:09 GMT'] + etag: [W/"datetime'2019-02-20T13%3A48%3A09.0012757Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -72,14 +72,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1","name":"20be7cd0-7c24-47fc-80bb-8a556da96de1","status":"Succeeded","startTime":"2019-02-18T10:38:11.6561857Z","endTime":"2019-02-18T10:38:11.9687138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4","name":"bded32a8-2606-4f9f-bc28-5be99ead69c4","status":"Succeeded","startTime":"2019-02-20T13:48:08.9444994Z","endTime":"2019-02-20T13:48:09.2100581Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:43 GMT'] + date: ['Wed, 20 Feb 2019 13:48:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -100,15 +100,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:45 GMT'] - etag: [W/"datetime'2019-02-18T10%3A38%3A12.0172687Z'"] + date: ['Wed, 20 Feb 2019 13:48:42 GMT'] + etag: [W/"datetime'2019-02-20T13%3A48%3A09.2584581Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -130,14 +130,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:46 GMT'] + date: ['Wed, 20 Feb 2019 13:48:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -160,16 +160,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:38:47 GMT'] + date: ['Wed, 20 Feb 2019 13:48:47 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -188,14 +188,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc","name":"8c4e4149-1601-4a6f-b090-0f78ee8d8adc","status":"Succeeded","startTime":"2019-02-18T10:38:48.1576906Z","endTime":"2019-02-18T10:38:48.2358286Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5","name":"858d1481-f3c5-4479-bed9-2b8e80d576d5","status":"Succeeded","startTime":"2019-02-20T13:48:47.6147485Z","endTime":"2019-02-20T13:48:47.6929132Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:19 GMT'] + date: ['Wed, 20 Feb 2019 13:49:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -217,14 +217,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:20 GMT'] + date: ['Wed, 20 Feb 2019 13:49:19 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -246,16 +246,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.6043364Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.011456Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['493'] + content-length: ['492'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:24 GMT'] - etag: [W/"datetime'2019-02-18T10%3A39%3A24.6043364Z'"] + date: ['Wed, 20 Feb 2019 13:49:24 GMT'] + etag: [W/"datetime'2019-02-20T13%3A49%3A24.011456Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -275,14 +275,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","name":"716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","status":"Succeeded","startTime":"2019-02-18T10:39:24.5375327Z","endTime":"2019-02-18T10:39:24.8229417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177","name":"dcf71bbb-5ada-400f-9030-7992d6798177","status":"Succeeded","startTime":"2019-02-20T13:49:23.9546463Z","endTime":"2019-02-20T13:49:24.2359049Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:56 GMT'] + date: ['Wed, 20 Feb 2019 13:49:55 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -303,15 +303,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:58 GMT'] - etag: [W/"datetime'2019-02-18T10%3A39%3A24.8725281Z'"] + date: ['Wed, 20 Feb 2019 13:49:57 GMT'] + etag: [W/"datetime'2019-02-20T13%3A49%3A24.2866511Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -333,14 +333,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:59 GMT'] + date: ['Wed, 20 Feb 2019 13:49:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -363,16 +363,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:40:02 GMT'] + date: ['Wed, 20 Feb 2019 13:49:59 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -391,14 +391,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b","name":"a3558c25-f5c9-4d1f-b816-eec9ce09653b","status":"Succeeded","startTime":"2019-02-18T10:40:02.6189131Z","endTime":"2019-02-18T10:40:02.6813566Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81","name":"481b740e-59de-495e-98fb-1ccd0b211e81","status":"Succeeded","startTime":"2019-02-20T13:49:59.7519293Z","endTime":"2019-02-20T13:49:59.8143994Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:33 GMT'] + date: ['Wed, 20 Feb 2019 13:50:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -420,14 +420,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:35 GMT'] + date: ['Wed, 20 Feb 2019 13:50:32 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -447,15 +447,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:40:39 GMT'] + date: ['Wed, 20 Feb 2019 13:50:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTNU5TVDZXM1JWRUJGRUQyS05TUFNWSVFEWVNQT1pMR1hPNnxGODY4QjU5RDdDNTY1REQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNlpRUURLNFo1WjczVzYzTURLQzc1NUlTT0oyTk01WHwwNDMyRjkzMUJBOUM1NTA5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml index 8962a65d8e5..8f257c3ab0e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:21:24Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:55:56Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:21:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:55:56Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:21:28 GMT'] + date: ['Wed, 20 Feb 2019 13:56:00 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A32.868772Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.2170001Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['451'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:21:33 GMT'] - etag: [W/"datetime'2019-02-18T11%3A21%3A32.868772Z'"] + date: ['Wed, 20 Feb 2019 13:56:04 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A04.2170001Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50","name":"0f2b4da7-4c4f-4843-be8e-e4123ecadb50","status":"Succeeded","startTime":"2019-02-18T11:21:32.6777633Z","endTime":"2019-02-18T11:21:33.1628308Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b","name":"a03a03bf-5cc2-4f53-bbc3-94cbe140435b","status":"Succeeded","startTime":"2019-02-20T13:56:04.1769689Z","endTime":"2019-02-20T13:56:04.4581488Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:05 GMT'] + date: ['Wed, 20 Feb 2019 13:56:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A33.20602Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.5082069Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['451'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:06 GMT'] - etag: [W/"datetime'2019-02-18T11%3A21%3A33.20602Z'"] + date: ['Wed, 20 Feb 2019 13:56:37 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A04.5082069Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -133,22 +133,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A10.8236867Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A39.8664454Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:11 GMT'] - etag: [W/"datetime'2019-02-18T11%3A22%3A10.8236867Z'"] + date: ['Wed, 20 Feb 2019 13:56:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A39.8664454Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -163,14 +163,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30","name":"7445c753-bf80-4421-adaa-436df543fc30","status":"Succeeded","startTime":"2019-02-18T11:22:10.7781818Z","endTime":"2019-02-18T11:22:11.3670102Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda","name":"e60f8c4f-bdc8-4669-9958-66a808955cda","status":"Succeeded","startTime":"2019-02-20T13:56:39.754507Z","endTime":"2019-02-20T13:56:40.3951529Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:42 GMT'] + date: ['Wed, 20 Feb 2019 13:57:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -192,15 +192,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:44 GMT'] - etag: [W/"datetime'2019-02-18T11%3A22%3A11.3981092Z'"] + date: ['Wed, 20 Feb 2019 13:57:12 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A40.4368539Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -222,14 +222,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['703'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:47 GMT'] + date: ['Wed, 20 Feb 2019 13:57:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -252,16 +252,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:22:49 GMT'] + date: ['Wed, 20 Feb 2019 13:57:17 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -280,14 +280,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46","name":"e68ccb42-6b1f-4156-b77e-394354f08c46","status":"Succeeded","startTime":"2019-02-18T11:22:50.1754189Z","endTime":"2019-02-18T11:22:53.4484712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba","name":"d689093a-285f-4474-b8c8-ff350b0534ba","status":"Succeeded","startTime":"2019-02-20T13:57:17.5366406Z","endTime":"2019-02-20T13:57:20.8212201Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:27 GMT'] + date: ['Wed, 20 Feb 2019 13:57:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -309,14 +309,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:25 GMT'] + date: ['Wed, 20 Feb 2019 13:57:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -341,22 +341,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.0272655Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A53.9523303Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:30 GMT'] - etag: [W/"datetime'2019-02-18T11%3A23%3A31.0272655Z'"] + date: ['Wed, 20 Feb 2019 13:57:53 GMT'] + etag: [W/"datetime'2019-02-20T13%3A57%3A53.9523303Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -370,14 +370,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","name":"e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","status":"Succeeded","startTime":"2019-02-18T11:23:30.9978684Z","endTime":"2019-02-18T11:23:31.5210997Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e","name":"377285bf-3566-48e8-80ed-5b295e3ae19e","status":"Succeeded","startTime":"2019-02-20T13:57:53.8815021Z","endTime":"2019-02-20T13:57:54.2878138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:25 GMT'] + date: ['Wed, 20 Feb 2019 13:58:25 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -398,15 +398,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.5536493Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"4f02a259-9a88-11a0-fcaa-7d6a30650316","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A54.335604Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"d8994edb-1b76-29db-cadf-dcdfecb21c74","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['691'] + content-length: ['690'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:10 GMT'] - etag: [W/"datetime'2019-02-18T11%3A23%3A31.5536493Z'"] + date: ['Wed, 20 Feb 2019 13:58:27 GMT'] + etag: [W/"datetime'2019-02-20T13%3A57%3A54.335604Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -429,21 +429,21 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:24:08 GMT'] + date: ['Wed, 20 Feb 2019 13:58:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -457,14 +457,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609","name":"99f7cff9-e878-485d-b843-acb8d42ee609","status":"Succeeded","startTime":"2019-02-18T11:24:10.3927934Z","endTime":"2019-02-18T11:24:13.737154Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115","name":"d8484306-8ef9-4c70-8ba4-1382fbac6115","status":"Succeeded","startTime":"2019-02-20T13:58:31.0783282Z","endTime":"2019-02-20T13:58:34.3755461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:48 GMT'] + date: ['Wed, 20 Feb 2019 13:59:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -486,14 +486,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:53 GMT'] + date: ['Wed, 20 Feb 2019 13:59:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -516,15 +516,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:24:51 GMT'] + date: ['Wed, 20 Feb 2019 13:59:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSSDMyRkNCR1RINjVMRFJIQVNPSllMNTVOSlVNU09XVkRZS3wwMDFDNkY5N0FCODNBQTI0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQUgyNkFNTEZFR1pVWjYyS1pCNUVMWDVMV0JKS0o1UHxFNUVBMERDNDFCN0ZGNzNFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml index c8755cdaab4..29d42a34f3d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:47:26Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:23:55Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:47:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:23:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:31 GMT'] + date: ['Wed, 20 Feb 2019 14:24:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"af1307fd-2557-4b4d-a9e1-82ae14d93857\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"55fdd07b-3d8e-4f6a-adf1-7b1c12da5dec\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:36 GMT'] + date: ['Wed, 20 Feb 2019 14:24:05 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-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:40 GMT'] + date: ['Wed, 20 Feb 2019 14:24:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"0b683091-bc7b-4496-a8a7-08f0c74e4698\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"80e78f6f-4be2-4451-93ee-badf74abac10\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:41 GMT'] - etag: [W/"0b683091-bc7b-4496-a8a7-08f0c74e4698"] + date: ['Wed, 20 Feb 2019 14:24:11 GMT'] + etag: [W/"80e78f6f-4be2-4451-93ee-badf74abac10"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:41 GMT'] + date: ['Wed, 20 Feb 2019 14:24:12 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-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:46 GMT'] + date: ['Wed, 20 Feb 2019 14:24:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:47 GMT'] - etag: [W/"107889ed-9b42-4472-8d17-008d59a820fb"] + date: ['Wed, 20 Feb 2019 14:24:16 GMT'] + etag: [W/"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.2554961Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A21.7306018Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:52 GMT'] - etag: [W/"datetime'2019-02-18T15%3A47%3A52.2554961Z'"] + date: ['Wed, 20 Feb 2019 14:24:22 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A21.7306018Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042","name":"f7428213-3e4f-4707-877c-4d282f1c1042","status":"Succeeded","startTime":"2019-02-18T15:47:52.1901766Z","endTime":"2019-02-18T15:47:52.5419713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8","name":"b0cf40c4-58f9-4780-9c5c-468f0cee65f8","status":"Succeeded","startTime":"2019-02-20T14:24:21.6764379Z","endTime":"2019-02-20T14:24:21.957712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:24 GMT'] + date: ['Wed, 20 Feb 2019 14:24:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.5867296Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A22.0067994Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:25 GMT'] - etag: [W/"datetime'2019-02-18T15%3A47%3A52.5867296Z'"] + date: ['Wed, 20 Feb 2019 14:24:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A22.0067994Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,16 +351,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.4677001Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.0765458Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:29 GMT'] - etag: [W/"datetime'2019-02-18T15%3A48%3A29.4677001Z'"] + date: ['Wed, 20 Feb 2019 14:24:57 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A58.0765458Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","name":"8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","status":"Succeeded","startTime":"2019-02-18T15:48:29.4093118Z","endTime":"2019-02-18T15:48:29.9093074Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b","name":"4c367fa5-96fd-4ba3-a937-76c44ecdff4b","status":"Succeeded","startTime":"2019-02-20T14:24:58.0145837Z","endTime":"2019-02-20T14:24:58.3895952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:00 GMT'] + date: ['Wed, 20 Feb 2019 14:25:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.9550431Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4b5b9a8-98c9-911b-2d47-9974b6cfcff4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.4307988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"fbcb05c6-c0a2-4c23-6129-289c3fa7864b","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:02 GMT'] - etag: [W/"datetime'2019-02-18T15%3A48%3A29.9550431Z'"] + date: ['Wed, 20 Feb 2019 14:25:30 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A58.4307988Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['432'] + Content-Length: ['441'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,22 +444,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A07.0861781Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A25%3A33.8770988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['942'] + content-length: ['951'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:07 GMT'] - etag: [W/"datetime'2019-02-18T15%3A49%3A07.0861781Z'"] + date: ['Wed, 20 Feb 2019 14:25:34 GMT'] + etag: [W/"datetime'2019-02-20T14%3A25%3A33.8770988Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Creating","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Creating","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:38 GMT'] + date: ['Wed, 20 Feb 2019 14:26:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +503,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Succeeded","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"2019-02-18T15:49:43.8249404Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Succeeded","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"2019-02-20T14:26:06.6666426Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:10 GMT'] + date: ['Wed, 20 Feb 2019 14:26:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,15 +532,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1629'] + content-length: ['1642'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:12 GMT'] - etag: [W/"datetime'2019-02-18T15%3A49%3A43.8600609Z'"] + date: ['Wed, 20 Feb 2019 14:26:38 GMT'] + etag: [W/"datetime'2019-02-20T14%3A26%3A06.7065336Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -561,14 +562,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['1641'] + content-length: ['1654'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:13 GMT'] + date: ['Wed, 20 Feb 2019 14:26:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -591,16 +592,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:50:15 GMT'] + date: ['Wed, 20 Feb 2019 14:26:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -619,14 +620,42 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:27:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Deleting","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:46 GMT'] + date: ['Wed, 20 Feb 2019 14:27:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -647,14 +676,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Succeeded","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"2019-02-18T15:51:02.8620689Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Succeeded","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"2019-02-20T14:27:46.7729814Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:51:18 GMT'] + date: ['Wed, 20 Feb 2019 14:28:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -676,14 +705,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:51:20 GMT'] + date: ['Wed, 20 Feb 2019 14:28:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -706,15 +735,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:51:23 GMT'] + date: ['Wed, 20 Feb 2019 14:28:22 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFRjVZR0w3TVdORVBBQU4zMlo0VUU3T1BCVUxSTUpJSFdJS3wxM0FFNjIwNTgyQ0Y4MDlBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNENNTks1UUQyS0dZWkdFUVJITDVaN0dJV0VJMk5TT3w0NDQzMDE4MjA4RTM0RTg5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml index 56ba368a37a..8f6bf656b62 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-19T08:29:43Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:04:53Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-19T08:29:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:04:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:48 GMT'] + date: ['Wed, 20 Feb 2019 15:04:56 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"89c08c52-1daa-450c-896b-c966230df2d1\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"fc72d45c-a3a1-4091-857c-bd7828259a3c\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:54 GMT'] + date: ['Wed, 20 Feb 2019 15:05:10 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-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:57 GMT'] + date: ['Wed, 20 Feb 2019 15:05:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"5fa15896-faa8-4530-b3b3-c68e7bcc4da8\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"eab8aa99-2136-4df3-b58f-65c7a8ce2272\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:58 GMT'] - etag: [W/"5fa15896-faa8-4530-b3b3-c68e7bcc4da8"] + date: ['Wed, 20 Feb 2019 15:05:10 GMT'] + etag: [W/"eab8aa99-2136-4df3-b58f-65c7a8ce2272"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000007", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:59 GMT'] + date: ['Wed, 20 Feb 2019 15:05:18 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-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:03 GMT'] + date: ['Wed, 20 Feb 2019 15:05:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -216,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:04 GMT'] - etag: [W/"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b"] + date: ['Wed, 20 Feb 2019 15:05:23 GMT'] + etag: [W/"be82c6c0-114f-4e77-8929-0f88e38ef419"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,14 +263,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.6135132Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.1663938Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:08 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A08.6135132Z'"] + date: ['Wed, 20 Feb 2019 15:05:37 GMT'] + etag: [W/"datetime'2019-02-20T15%3A05%3A26.1663938Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6","name":"fe7ec669-bbe3-4f44-9f36-e2147c0467c6","status":"Succeeded","startTime":"2019-02-19T08:30:08.5485732Z","endTime":"2019-02-19T08:30:08.8454441Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c","name":"33f1b475-00b8-428c-947a-2998ffbb423c","status":"Succeeded","startTime":"2019-02-20T15:05:26.119423Z","endTime":"2019-02-20T15:05:26.4006911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:40 GMT'] + date: ['Wed, 20 Feb 2019 15:06:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.8947128Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.4525968Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:41 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A08.8947128Z'"] + date: ['Wed, 20 Feb 2019 15:06:00 GMT'] + etag: [W/"datetime'2019-02-20T15%3A05%3A26.4525968Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.165125Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.1403511Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:46 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A46.165125Z'"] + date: ['Wed, 20 Feb 2019 15:06:42 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A08.1403511Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","name":"d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","status":"Succeeded","startTime":"2019-02-19T08:30:46.1034981Z","endTime":"2019-02-19T08:30:46.603486Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed","name":"d88a50db-83b3-4247-bc43-cda287c000ed","status":"Succeeded","startTime":"2019-02-20T15:06:08.0722669Z","endTime":"2019-02-20T15:06:08.4785248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:18 GMT'] + date: ['Wed, 20 Feb 2019 15:07:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.6604737Z''\"","location":"westus2","properties":{"poolId":"5ed8a69b-dd0a-7913-f238-fa910a2be9dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.5336308Z''\"","location":"westus2","properties":{"poolId":"1d265bfa-942e-3e3a-41e2-36ee9f1c5015","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:19 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A46.6604737Z'"] + date: ['Wed, 20 Feb 2019 15:06:55 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A08.5336308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -444,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A24.7464648Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A06%3A49.6739958Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:25 GMT'] - etag: [W/"datetime'2019-02-19T08%3A31%3A24.7464648Z'"] + date: ['Wed, 20 Feb 2019 15:07:00 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A49.6739958Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Creating","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Creating","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:56 GMT'] + date: ['Wed, 20 Feb 2019 15:07:21 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Succeeded","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"2019-02-19T08:31:58.4399054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Succeeded","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"2019-02-20T15:07:24.1418446Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:27 GMT'] + date: ['Wed, 20 Feb 2019 15:07:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A58.4673619Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_734f79e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e11875aa-2e99-b243-6921-b175118c8148","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A07%3A24.175617Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f16bcf84","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"d939d933-5caa-59e0-bdab-2913cb3a362e","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1600'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:29 GMT'] - etag: [W/"datetime'2019-02-19T08%3A31%3A58.4673619Z'"] + date: ['Wed, 20 Feb 2019 15:07:54 GMT'] + etag: [W/"datetime'2019-02-20T15%3A07%3A24.175617Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -549,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "25994a73-19fd-81ff-402b-8b53efaed088"}, + body: !!python/unicode '{"properties": {"fileSystemId": "52508b2e-1bff-cca5-22fb-ba855fc11b2d"}, "location": "westus2"}' headers: Accept: [application/json] @@ -565,19 +566,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/19/2019 - 8:32:36 AM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:08:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:37 GMT'] + date: ['Wed, 20 Feb 2019 15:08:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -594,12 +595,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}]}'} headers: cache-control: [no-cache] content-length: ['760'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:38 GMT'] + date: ['Wed, 20 Feb 2019 15:08:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -628,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 19 Feb 2019 08:32:43 GMT'] + date: ['Wed, 20 Feb 2019 15:08:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaTlY0TkxFTk9VNFRSNldWN0ZVQU9VUERYRktXTkwyRk5LQXxBMDM0MEVBQjA1MzcyNDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJWUtQM09GRDJOVjJOQllCTFdRSlJCU1lVTk9OSTNHSVBVWnw1ODMzQzY4MkI4RUQ1NDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml index 47c1c8d54e6..6b9a5af677e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:40:39Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:50:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:40:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:50:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:41 GMT'] + date: ['Wed, 20 Feb 2019 13:50:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A45.8036481Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A43.8673224Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:46 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A45.8036481Z'"] + date: ['Wed, 20 Feb 2019 13:50:44 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A43.8673224Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","name":"396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","status":"Succeeded","startTime":"2019-02-18T10:40:45.7509094Z","endTime":"2019-02-18T10:40:46.0321063Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","name":"1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","status":"Succeeded","startTime":"2019-02-20T13:50:43.7852954Z","endTime":"2019-02-20T13:50:44.0821455Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:16 GMT'] + date: ['Wed, 20 Feb 2019 13:51:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:17 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + date: ['Wed, 20 Feb 2019 13:51:16 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -129,15 +129,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 13:51:18 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:19 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + date: ['Wed, 20 Feb 2019 13:51:20 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -160,15 +190,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:41:24 GMT'] + date: ['Wed, 20 Feb 2019 13:51:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdUTFozQ0ZOWFMyTVhRWFNUTEpDM0VSR0ZFUFdSN0dDN09ZTXw3NDI3OEU0Q0M3RjQ0MjI5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSE5PNUhWSFBESUJFSVBZWElXQkJBS0ZKRlBUTE9MSHwxODM0ODQ0QUMxN0E5QjgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml index 42450aad0d1..ba19af9f94d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:24:52Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:59:12Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:24:52Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:59:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:04 GMT'] + date: ['Wed, 20 Feb 2019 13:59:15 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.3556436Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.2454983Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:08 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A01.3556436Z'"] + date: ['Wed, 20 Feb 2019 13:59:18 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A18.2454983Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296","name":"d5d1096d-7540-49c6-ab1e-094751ccd296","status":"Succeeded","startTime":"2019-02-18T11:25:01.2864478Z","endTime":"2019-02-18T11:25:01.5994236Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","name":"d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","status":"Succeeded","startTime":"2019-02-20T13:59:18.1974235Z","endTime":"2019-02-20T13:59:18.4786746Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:33 GMT'] + date: ['Wed, 20 Feb 2019 13:59:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.6438767Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.5337034Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:35 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A01.6438767Z'"] + date: ['Wed, 20 Feb 2019 13:59:51 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A18.5337034Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.0455796Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A54.8086002Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:40 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.0455796Z'"] + date: ['Wed, 20 Feb 2019 13:59:54 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A54.8086002Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","name":"2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","status":"Succeeded","startTime":"2019-02-18T11:25:40.0034171Z","endTime":"2019-02-18T11:25:40.4878156Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24","name":"e4c9c346-4f80-4760-ab53-d0c83c32ef24","status":"Succeeded","startTime":"2019-02-20T13:59:54.7651227Z","endTime":"2019-02-20T13:59:55.2182617Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:11 GMT'] + date: ['Wed, 20 Feb 2019 14:00:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:13 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + date: ['Wed, 20 Feb 2019 14:00:26 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -219,15 +219,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:00:29 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:16 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + date: ['Wed, 20 Feb 2019 14:00:30 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -250,18 +280,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:26:21 GMT'] + date: ['Wed, 20 Feb 2019 14:00:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKSVNLSVhIS1RaMjZJSE9XRDRZWjZBVVo2SlkyR1JUVERNWnxCMkRENjRBMEE1RkVCQzc4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHTVdPQkpRSENHQ09RU1ZKSFU1SU1VQkpIS1ZOUUNBRnwxMDhBNzcwQTU5MUQxNzE5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml index 9d3009bbfa3..c596928181b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:32:49Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:57:47Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:32:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:57:47Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:52 GMT'] + date: ['Wed, 20 Feb 2019 14:58:12 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"19b6d69c-90a7-4714-9c6d-a2d66dfc0823\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a3ba3ffb-895d-4934-978c-c8d986e18451\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:57 GMT'] + date: ['Wed, 20 Feb 2019 14:57:57 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-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:01 GMT'] + date: ['Wed, 20 Feb 2019 14:58:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"10114caa-c1df-474b-8336-c3a143800718\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:02 GMT'] - etag: [W/"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433"] + date: ['Wed, 20 Feb 2019 14:58:09 GMT'] + etag: [W/"10114caa-c1df-474b-8336-c3a143800718"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000007", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:04 GMT'] + date: ['Wed, 20 Feb 2019 14:58:06 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-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:08 GMT'] + date: ['Wed, 20 Feb 2019 14:58:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -216,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:09 GMT'] - etag: [W/"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a"] + date: ['Wed, 20 Feb 2019 14:58:35 GMT'] + etag: [W/"427240bf-2241-4c0d-bc10-45d4f9e09263"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.1064602Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A20.7317608Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:13 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A13.1064602Z'"] + date: ['Wed, 20 Feb 2019 14:58:41 GMT'] + etag: [W/"datetime'2019-02-20T14%3A58%3A20.7317608Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d","name":"17cbec5c-3523-4daf-a527-65c049dbec5d","status":"Succeeded","startTime":"2019-02-18T17:33:13.0447208Z","endTime":"2019-02-18T17:33:13.3412628Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096","name":"9f874f42-f14a-4e43-a360-1f543704f096","status":"Succeeded","startTime":"2019-02-20T14:58:20.6647853Z","endTime":"2019-02-20T14:58:20.9772461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:44 GMT'] + date: ['Wed, 20 Feb 2019 14:58:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.3846556Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A21.0209685Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:45 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A13.3846556Z'"] + date: ['Wed, 20 Feb 2019 14:59:02 GMT'] + etag: [W/"datetime'2019-02-20T14%3A58%3A21.0209685Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.201569Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.2914218Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:50 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A50.201569Z'"] + date: ['Wed, 20 Feb 2019 14:59:37 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A02.2914218Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07","name":"cd927736-223c-453b-bea5-715db2b26b07","status":"Succeeded","startTime":"2019-02-18T17:33:50.150608Z","endTime":"2019-02-18T17:33:50.675525Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba","name":"59d0971c-e13d-429a-913f-ad66b77886ba","status":"Succeeded","startTime":"2019-02-20T14:59:02.2369849Z","endTime":"2019-02-20T14:59:02.6900037Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:21 GMT'] + date: ['Wed, 20 Feb 2019 14:59:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.7269388Z''\"","location":"westus2","properties":{"poolId":"2f7aa7fa-5f39-d274-9bcb-95fe91a3d003","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.7407432Z''\"","location":"westus2","properties":{"poolId":"90c93128-f312-cd36-7dfb-b07c80456081","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:23 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A50.7269388Z'"] + date: ['Wed, 20 Feb 2019 14:59:36 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A02.7407432Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -444,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A34%3A27.6919569Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A59%3A44.6296393Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:27 GMT'] - etag: [W/"datetime'2019-02-18T17%3A34%3A27.6919569Z'"] + date: ['Wed, 20 Feb 2019 15:00:51 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A44.6296393Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Creating","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Creating","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:59 GMT'] + date: ['Wed, 20 Feb 2019 15:00:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Succeeded","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"2019-02-18T17:35:02.4238916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Succeeded","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"2019-02-20T15:00:26.9341911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:31 GMT'] + date: ['Wed, 20 Feb 2019 15:01:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A35%3A02.4564493Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_c9efd4d2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7b3deca9-5443-3d7f-bcea-795dce74edd1","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A00%3A26.9628533Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_22945af0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ab28a39f-afbf-4314-9a91-00434e44eb41","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:32 GMT'] - etag: [W/"datetime'2019-02-18T17%3A35%3A02.4564493Z'"] + date: ['Wed, 20 Feb 2019 15:00:51 GMT'] + etag: [W/"datetime'2019-02-20T15%3A00%3A26.9628533Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -549,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "115efbfb-e873-33b9-b919-834c6512727a"}, + body: !!python/unicode '{"properties": {"fileSystemId": "38347f9e-0e90-95da-3d89-ce9e6212e50b"}, "location": "westus2"}' headers: Accept: [application/json] @@ -565,19 +566,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:35:39 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:01:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:40 GMT'] + date: ['Wed, 20 Feb 2019 15:01:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -594,12 +595,41 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['748'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 15:01:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:54 GMT'] + date: ['Wed, 20 Feb 2019 15:01:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -628,12 +658,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 17:35:58 GMT'] + date: ['Wed, 20 Feb 2019 15:01:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZWktNS1RLRkNOQkxPUjZNR0ZRNUhLU0pVUFUzSjVIVFA3MnxCOTcxMzlDODBCREFERTlGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMSlRPVU9GVlY1RTU1TFRVN0kzM05LQ0M0Tk9WNk9ZV1RLVHw0M0UzNDNGODNCMTE1RjdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml index d7715008187..47cca9f244b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:39:35Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:28:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:39:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:28:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:40 GMT'] + date: ['Wed, 20 Feb 2019 14:28:41 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3150f528-b23a-4b13-be25-c6cf8b660573\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"b36c44cd-1927-475c-9401-a128e742a1c7\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:45 GMT'] + date: ['Wed, 20 Feb 2019 14:28:46 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-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:49 GMT'] + date: ['Wed, 20 Feb 2019 14:28:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3961b934-d630-429f-a592-56e690b16585\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"ea4593f6-b2e7-4433-91d2-2f89dc005c93\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:50 GMT'] - etag: [W/"3961b934-d630-429f-a592-56e690b16585"] + date: ['Wed, 20 Feb 2019 14:28:53 GMT'] + etag: [W/"ea4593f6-b2e7-4433-91d2-2f89dc005c93"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:51 GMT'] + date: ['Wed, 20 Feb 2019 14:28:54 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-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:54 GMT'] + date: ['Wed, 20 Feb 2019 14:28:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:55 GMT'] - etag: [W/"ed424d6e-7db0-4004-bfe2-d8a26588e4f0"] + date: ['Wed, 20 Feb 2019 14:28:59 GMT'] + etag: [W/"3b932532-465d-4cfc-b052-895f15f4a479"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A11.9736427Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.4774175Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:12 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A11.9736427Z'"] + date: ['Wed, 20 Feb 2019 14:29:04 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A04.4774175Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed","name":"bb8d5b96-8370-4d49-a84d-505f588289ed","status":"Succeeded","startTime":"2019-02-18T15:40:11.9254495Z","endTime":"2019-02-18T15:40:12.206722Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de","name":"d2cc6cab-12a5-4911-b635-aaacf5f6f1de","status":"Succeeded","startTime":"2019-02-20T14:29:04.4291228Z","endTime":"2019-02-20T14:29:04.7103802Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:44 GMT'] + date: ['Wed, 20 Feb 2019 14:29:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A12.2538407Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.7596176Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:44 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A12.2538407Z'"] + date: ['Wed, 20 Feb 2019 14:29:38 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A04.7596176Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.3311114Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A41.9981967Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:50 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A49.3311114Z'"] + date: ['Wed, 20 Feb 2019 14:29:42 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A41.9981967Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722","name":"fac3401c-5c59-43d7-af62-c7b477390722","status":"Succeeded","startTime":"2019-02-18T15:40:49.2819491Z","endTime":"2019-02-18T15:40:49.7331509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150","name":"8b0be358-019f-4708-b140-6b59cc6ad150","status":"Succeeded","startTime":"2019-02-20T14:29:41.942778Z","endTime":"2019-02-20T14:29:42.317781Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:20 GMT'] + date: ['Wed, 20 Feb 2019 14:30:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.8384715Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"569187f1-a303-8ecc-5255-fc1cb3d7570e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A42.3654594Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"381f2e7c-687e-695f-3754-441c1922ad13","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:22 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A49.8384715Z'"] + date: ['Wed, 20 Feb 2019 14:30:15 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A42.3654594Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag2": "Value1"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['414'] + Content-Length: ['423'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,22 +444,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A26.2872965Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A19.7121162Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['926'] + content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:26 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A26.2872965Z'"] + date: ['Wed, 20 Feb 2019 14:30:19 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A19.7121162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Creating","startTime":"2019-02-18T15:41:26.237872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Creating","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['636'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:58 GMT'] + date: ['Wed, 20 Feb 2019 14:30:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +503,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Succeeded","startTime":"2019-02-18T15:41:26.237872Z","endTime":"2019-02-18T15:41:59.6095374Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Succeeded","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"2019-02-20T14:30:52.8293325Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['647'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:29 GMT'] + date: ['Wed, 20 Feb 2019 14:31:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,15 +532,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:31 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + date: ['Wed, 20 Feb 2019 14:31:24 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -561,15 +562,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1626'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:31:26 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:32 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + date: ['Wed, 20 Feb 2019 14:31:28 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -592,18 +623,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:42:38 GMT'] + date: ['Wed, 20 Feb 2019 14:31:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdORFYyMk5SM1pYUVA2T1VTQjNTQUpJR1lFSFUzWEJDUDVGQ3w1RTY0MzAxNzI3QjI2ODJFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSTVOWFYyU0g1TUpQQjVDWVJCWEpaRFY2SllVWDVGU3w1MUQxQUFCQzBCREU4Mjc5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml index fa0f0b6c3a2..3f2d4bd3d84 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:41:24Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:51:25Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:41:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:51:25Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:26 GMT'] + date: ['Wed, 20 Feb 2019 13:51:28 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.4848921Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.5283462Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:31 GMT'] - etag: [W/"datetime'2019-02-18T10%3A41%3A31.4848921Z'"] + date: ['Wed, 20 Feb 2019 13:51:31 GMT'] + etag: [W/"datetime'2019-02-20T13%3A51%3A31.5283462Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899","name":"0c6cf5ea-072d-4b99-a326-62a8e86b0899","status":"Succeeded","startTime":"2019-02-18T10:41:31.4222551Z","endTime":"2019-02-18T10:41:31.6905701Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd","name":"98994aad-2d1c-433c-8a41-237bd24ff9cd","status":"Succeeded","startTime":"2019-02-20T13:51:31.4641366Z","endTime":"2019-02-20T13:51:31.7612545Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:03 GMT'] + date: ['Wed, 20 Feb 2019 13:52:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:05 GMT'] - etag: [W/"datetime'2019-02-18T10%3A41%3A31.7450789Z'"] + date: ['Wed, 20 Feb 2019 13:52:03 GMT'] + etag: [W/"datetime'2019-02-20T13%3A51%3A31.8095478Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -131,22 +131,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A07.8019672Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.7269002Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:08 GMT'] - etag: [W/"datetime'2019-02-18T10%3A42%3A07.8019672Z'"] + date: ['Wed, 20 Feb 2019 13:52:09 GMT'] + etag: [W/"datetime'2019-02-20T13%3A52%3A08.7269002Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -160,14 +160,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5","name":"cd760995-4feb-4ceb-b64c-a920d2e03ce5","status":"Succeeded","startTime":"2019-02-18T10:42:07.7393921Z","endTime":"2019-02-18T10:42:08.0050354Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68","name":"0377a757-d797-4066-83ed-67a0b6a9af68","status":"Succeeded","startTime":"2019-02-20T13:52:08.6675732Z","endTime":"2019-02-20T13:52:08.9487867Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:39 GMT'] + date: ['Wed, 20 Feb 2019 13:52:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -188,15 +188,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:40 GMT'] - etag: [W/"datetime'2019-02-18T10%3A42%3A08.0631554Z'"] + date: ['Wed, 20 Feb 2019 13:52:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A52%3A08.9990945Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -218,14 +218,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['969'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:42 GMT'] + date: ['Wed, 20 Feb 2019 13:52:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -248,16 +248,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:42:45 GMT'] + date: ['Wed, 20 Feb 2019 13:52:43 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -276,14 +276,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6","name":"4fdce396-5a6e-4e1a-b63e-0f75958daff6","status":"Succeeded","startTime":"2019-02-18T10:42:45.8237546Z","endTime":"2019-02-18T10:42:45.901884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98","name":"f6d7e901-264a-4ca8-ac29-9d634d16ce98","status":"Succeeded","startTime":"2019-02-20T13:52:44.5231521Z","endTime":"2019-02-20T13:52:44.6012807Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:43:18 GMT'] + date: ['Wed, 20 Feb 2019 13:53:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -306,16 +306,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:43:44 GMT'] + date: ['Wed, 20 Feb 2019 13:53:18 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -334,14 +334,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","name":"ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","status":"Succeeded","startTime":"2019-02-18T10:43:23.1103364Z","endTime":"2019-02-18T10:43:23.1884346Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865","name":"11a76c1d-5537-4d56-97a6-56139dfd7865","status":"Succeeded","startTime":"2019-02-20T13:53:18.2180582Z","endTime":"2019-02-20T13:53:18.2962231Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:03 GMT'] + date: ['Wed, 20 Feb 2019 13:53:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -363,22 +363,19 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:18 GMT'] + date: ['Wed, 20 Feb 2019 13:53:50 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: body: null @@ -393,15 +390,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:44:19 GMT'] + date: ['Wed, 20 Feb 2019 13:53:55 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdCQUpRWlFKRElRT0EyN0hPTllRRkdJQTdKM09YNFZFNFVWTnxCQ0Y3OTBCRDBDQTlFQzNCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNUxGV1lFR1hDSkY2VldOSVdTSVlGWkMzVEw2SUpMQ3xFNDEwMUNFNzM4RTZDODY4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index b869780a835..5d116f4b2f1 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T14:41:08Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:37:50Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T14:41:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:37:50Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:13 GMT'] + date: ['Wed, 20 Feb 2019 14:37:54 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"11f7a30f-3f85-439b-b601-6407b888c0d0\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"0de37e81-af20-414c-b256-d7db9c7a2c61\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ ,\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 \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:19 GMT'] + date: ['Wed, 20 Feb 2019 14:38:00 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-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:24 GMT'] + date: ['Wed, 20 Feb 2019 14:38:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"5de769da-3f83-4687-b38e-35ffb2d3d28a\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9250ec51-e78f-4726-96b9-b0d7c73a1906\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ ,\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 \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:25 GMT'] - etag: [W/"5de769da-3f83-4687-b38e-35ffb2d3d28a"] + date: ['Wed, 20 Feb 2019 14:38:06 GMT'] + etag: [W/"9250ec51-e78f-4726-96b9-b0d7c73a1906"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -153,11 +153,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\"\ + ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +166,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:26 GMT'] + date: ['Wed, 20 Feb 2019 14:38:07 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-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +189,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:31 GMT'] + date: ['Wed, 20 Feb 2019 14:38:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -220,11 +220,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\"\ + ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:32 GMT'] - etag: [W/"055bfb90-0898-4d04-a1fa-8156c139171b"] + date: ['Wed, 20 Feb 2019 14:38:12 GMT'] + etag: [W/"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,20 +262,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.3054275Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.5653746Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:37 GMT'] - etag: [W/"datetime'2019-02-18T14%3A41%3A37.3054275Z'"] + date: ['Wed, 20 Feb 2019 14:38:18 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A17.5653746Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +289,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5","name":"6552987f-a7a2-4d89-bba9-4135b33881f5","status":"Succeeded","startTime":"2019-02-18T14:41:37.2407999Z","endTime":"2019-02-18T14:41:37.5376351Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a","name":"d9d71a34-1a9a-4f4c-804e-dbee370f895a","status":"Succeeded","startTime":"2019-02-20T14:38:17.4962987Z","endTime":"2019-02-20T14:38:17.7932565Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:08 GMT'] + date: ['Wed, 20 Feb 2019 14:38:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +319,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.584624Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.844573Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:10 GMT'] - etag: [W/"datetime'2019-02-18T14%3A41%3A37.584624Z'"] + date: ['Wed, 20 Feb 2019 14:38:50 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A17.844573Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +352,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A15.6784362Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.5606033Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:15 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A15.6784362Z'"] + date: ['Wed, 20 Feb 2019 14:38:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A54.5606033Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +379,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce","name":"10760561-e202-48a5-89e8-f62de0fb1fce","status":"Succeeded","startTime":"2019-02-18T14:42:15.609804Z","endTime":"2019-02-18T14:42:16.2034985Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27","name":"42e3fc57-df4c-4a64-93a8-10589a938e27","status":"Succeeded","startTime":"2019-02-20T14:38:54.4940735Z","endTime":"2019-02-20T14:38:54.8534771Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:48 GMT'] + date: ['Wed, 20 Feb 2019 14:39:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +409,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A16.257844Z''\"","location":"westus2","properties":{"poolId":"cb504960-eaf5-066c-eff3-218473557b97","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.9038466Z''\"","location":"westus2","properties":{"poolId":"9e3717f0-c653-8410-d202-3fc0fcebea53","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['649'] + content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:48 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A16.257844Z'"] + date: ['Wed, 20 Feb 2019 14:39:27 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A54.9038466Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -444,20 +444,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A42%3A53.667174Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A39%3A32.8767685Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['900'] + content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:53 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A53.667174Z'"] + date: ['Wed, 20 Feb 2019 14:39:32 GMT'] + etag: [W/"datetime'2019-02-20T14%3A39%3A32.8767685Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,43 +472,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Creating","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Succeeded","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"2019-02-18T14:43:33.5920087Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741","name":"157555c7-ba1d-451b-8572-6f8f7169d741","status":"Succeeded","startTime":"2019-02-20T14:39:32.8222794Z","endTime":"2019-02-20T14:40:02.0022952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:57 GMT'] + date: ['Wed, 20 Feb 2019 14:40:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +503,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A43%3A33.6202949Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_25072f96","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A40%3A02.0314388Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_8300a848","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1588'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:59 GMT'] - etag: [W/"datetime'2019-02-18T14%3A43%3A33.6202949Z'"] + date: ['Wed, 20 Feb 2019 14:40:05 GMT'] + etag: [W/"datetime'2019-02-20T14%3A40%3A02.0314388Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -562,12 +533,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/74fda063-3be6-a4a9-b473-4835dfb25e49","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/74fda063-3be6-a4a9-b473-4835dfb25e49","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/3426a906-c18f-c4c9-4614-0a1c6d11111e","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/3426a906-c18f-c4c9-4614-0a1c6d11111e","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} headers: cache-control: [no-cache] content-length: ['836'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:44:02 GMT'] + date: ['Wed, 20 Feb 2019 14:40:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -596,12 +567,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 14:44:05 GMT'] + date: ['Wed, 20 Feb 2019 14:40:11 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPNjdNQUk0WFE0U0hORVpSSFVEWTJIV1JHQVFVRlpKMlNMRHw2RERGQTFEQTUyNDA4MERCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdGTFROVkhNV1RVSjZRN0Q3VVVYNUlDVjNRVlZaTVRVNVpFV3wxOTYzNjQ5MTE5Q0QxOENELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml index 8121e9f5e36..9d806907091 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:26:20Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:00:35Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:26:20Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:00:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:23 GMT'] + date: ['Wed, 20 Feb 2019 14:00:38 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.7120965Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.5598419Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:27 GMT'] - etag: [W/"datetime'2019-02-18T11%3A26%3A27.7120965Z'"] + date: ['Wed, 20 Feb 2019 14:00:41 GMT'] + etag: [W/"datetime'2019-02-20T14%3A00%3A41.5598419Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b","name":"6ef10aec-a549-42eb-96be-8a4eab10b54b","status":"Succeeded","startTime":"2019-02-18T11:26:27.6410207Z","endTime":"2019-02-18T11:26:27.937925Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd","name":"6076bef2-b3ba-43f6-9195-2861fa606ccd","status":"Succeeded","startTime":"2019-02-20T14:00:41.4954389Z","endTime":"2019-02-20T14:00:41.7923216Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:59 GMT'] + date: ['Wed, 20 Feb 2019 14:01:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.9953171Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.8440438Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:00 GMT'] - etag: [W/"datetime'2019-02-18T11%3A26%3A27.9953171Z'"] + date: ['Wed, 20 Feb 2019 14:01:15 GMT'] + etag: [W/"datetime'2019-02-20T14%3A00%3A41.8440438Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A04.9610324Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.1141759Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:04 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A04.9610324Z'"] + date: ['Wed, 20 Feb 2019 14:01:20 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A20.1141759Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd","name":"6d293560-1290-47ad-b80e-1a31ac5b4bcd","status":"Succeeded","startTime":"2019-02-18T11:27:04.9120218Z","endTime":"2019-02-18T11:27:05.3027011Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75","name":"cb519edf-8c69-4ad1-9290-eba1217e0c75","status":"Succeeded","startTime":"2019-02-20T14:01:20.0661035Z","endTime":"2019-02-20T14:01:20.4723019Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:36 GMT'] + date: ['Wed, 20 Feb 2019 14:01:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['674'] + content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:37 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A05.353336Z'"] + date: ['Wed, 20 Feb 2019 14:01:53 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A20.5154608Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -222,22 +222,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.3770448Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A57.9469993Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:41 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A41.3770448Z'"] + date: ['Wed, 20 Feb 2019 14:01:58 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A57.9469993Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -251,14 +251,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373","name":"5890a804-a81d-498c-8647-6c64eee04373","status":"Succeeded","startTime":"2019-02-18T11:27:41.3287534Z","endTime":"2019-02-18T11:27:41.7095827Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6","name":"be70704e-cc7c-45c6-9e34-6a74c86d72a6","status":"Succeeded","startTime":"2019-02-20T14:01:57.89473Z","endTime":"2019-02-20T14:01:58.2541197Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:12 GMT'] + date: ['Wed, 20 Feb 2019 14:02:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -279,15 +279,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:13 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A41.7603385Z'"] + date: ['Wed, 20 Feb 2019 14:02:31 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A58.2972472Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -309,14 +309,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] - content-length: ['1362'] + content-length: ['1363'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:15 GMT'] + date: ['Wed, 20 Feb 2019 14:02:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -339,16 +339,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:28:17 GMT'] + date: ['Wed, 20 Feb 2019 14:02:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -367,14 +367,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","name":"0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","status":"Succeeded","startTime":"2019-02-18T11:28:18.1365561Z","endTime":"2019-02-18T11:28:21.3715564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5","name":"99c70979-01e6-4b4d-a7c4-9bf6358d82e5","status":"Succeeded","startTime":"2019-02-20T14:02:37.1301277Z","endTime":"2019-02-20T14:02:40.335556Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:47 GMT'] + date: ['Wed, 20 Feb 2019 14:03:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -397,16 +397,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:28:51 GMT'] + date: ['Wed, 20 Feb 2019 14:03:10 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -425,14 +425,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5","name":"64c2a9d1-15a7-4e75-a936-26bf0483b4e5","status":"Succeeded","startTime":"2019-02-18T11:28:51.8530756Z","endTime":"2019-02-18T11:28:55.0210196Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066","name":"1e9ddb70-b940-440f-9a6d-68a0bd4ef066","status":"Succeeded","startTime":"2019-02-20T14:03:11.4974465Z","endTime":"2019-02-20T14:03:14.8412929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:23 GMT'] + date: ['Wed, 20 Feb 2019 14:03:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -454,14 +454,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:25 GMT'] + date: ['Wed, 20 Feb 2019 14:03:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -484,18 +484,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:29:31 GMT'] + date: ['Wed, 20 Feb 2019 14:03:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaSDMzUkdMVU1URERPVU9MQkhaWURQWUU2UTZKUUVJR0ZNVXw4QjEyNUI2MUUyNDFBNTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWVU0QzJMVEJVMlNJS0dUQ0lLV1ZRWkRUVkYzNUpNRHxEMUFBOTAxRUU0ODZDQzQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml index 17ba5c9feb5..06e149b752e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:29:08Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:01:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:29:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:01:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:12 GMT'] + date: ['Wed, 20 Feb 2019 15:01:53 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"9d57e938-0f2e-4a36-a3b1-32d7ac8517cf\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"3cf6df38-6756-4062-a2c6-26915b8d5fe7\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:16 GMT'] + date: ['Wed, 20 Feb 2019 15:01:59 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-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:21 GMT'] + date: ['Wed, 20 Feb 2019 15:02:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"c3915ec7-1953-42a0-b9b9-5e4302a35bfa\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7eb81694-cabc-47f1-8eb6-a4eeed26399c\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:21 GMT'] - etag: [W/"c3915ec7-1953-42a0-b9b9-5e4302a35bfa"] + date: ['Wed, 20 Feb 2019 15:02:05 GMT'] + etag: [W/"7eb81694-cabc-47f1-8eb6-a4eeed26399c"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000008", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ + ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:22 GMT'] + date: ['Wed, 20 Feb 2019 15:02:08 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-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -189,41 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 - response: - body: {string: !!python/unicode "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['30'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29: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] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network vnet subnet create] - Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:39 GMT'] + date: ['Wed, 20 Feb 2019 15:03:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -243,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ + ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -261,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:39 GMT'] - etag: [W/"30ef5a50-5dd1-4876-8495-5a66ed863933"] + date: ['Wed, 20 Feb 2019 15:02:13 GMT'] + etag: [W/"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -289,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.0222612Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A20.9301913Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:44 GMT'] - etag: [W/"datetime'2019-02-18T17%3A29%3A44.0222612Z'"] + date: ['Wed, 20 Feb 2019 15:02:40 GMT'] + etag: [W/"datetime'2019-02-20T15%3A02%3A20.9301913Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -316,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34","name":"8ee512b1-e332-49e0-baf7-41a975a4bf34","status":"Succeeded","startTime":"2019-02-18T17:29:43.9679791Z","endTime":"2019-02-18T17:29:44.245767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c","name":"bbfb8456-12c7-4f87-b573-8aa63aa9090c","status":"Succeeded","startTime":"2019-02-20T15:02:20.8684737Z","endTime":"2019-02-20T15:02:21.1497248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:16 GMT'] + date: ['Wed, 20 Feb 2019 15:03:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -346,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.2914502Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A21.1963818Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:16 GMT'] - etag: [W/"datetime'2019-02-18T17%3A29%3A44.2914502Z'"] + date: ['Wed, 20 Feb 2019 15:04:02 GMT'] + etag: [W/"datetime'2019-02-20T15%3A02%3A21.1963818Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -379,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A21.1313798Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A01.8814194Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:21 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A21.1313798Z'"] + date: ['Wed, 20 Feb 2019 15:03:13 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A01.8814194Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -406,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378","name":"8b24eabb-58a7-4bdf-a5f9-db21a8596378","status":"Succeeded","startTime":"2019-02-18T17:30:21.0901729Z","endTime":"2019-02-18T17:30:23.8291697Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec","name":"b902110a-d3a9-4c49-afce-ae0da9db5bec","status":"Succeeded","startTime":"2019-02-20T15:03:01.8198977Z","endTime":"2019-02-20T15:03:02.2417082Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:52 GMT'] + date: ['Wed, 20 Feb 2019 15:03:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -436,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A23.8793144Z''\"","location":"westus2","properties":{"poolId":"7018f347-46eb-4be4-9920-4ce74b0921dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A02.2947123Z''\"","location":"westus2","properties":{"poolId":"086b6040-7aff-2687-5081-0341f16403d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:54 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A23.8793144Z'"] + date: ['Wed, 20 Feb 2019 15:03:35 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A02.2947123Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -454,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -471,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A30%3A58.5066863Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A03%3A40.8642402Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:58 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A58.5066863Z'"] + date: ['Wed, 20 Feb 2019 15:03:41 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A40.8642402Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -499,43 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Creating","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:31:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Succeeded","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"2019-02-18T17:31:34.2869362Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c","name":"98701f62-6d2d-4db6-9c14-87c2fcbacd8c","status":"Succeeded","startTime":"2019-02-20T15:03:40.8055188Z","endTime":"2019-02-20T15:04:10.3593713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:01 GMT'] + date: ['Wed, 20 Feb 2019 15:04:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -559,13 +504,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A31%3A34.3229318Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a827ded3","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a972ea79-fdc6-0403-4bad-8f9b955db841","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A04%3A10.3883099Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_ad48a205","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"dac0f0ce-109a-308b-28a7-9842c1bca873","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:02 GMT'] - etag: [W/"datetime'2019-02-18T17%3A31%3A34.3229318Z'"] + date: ['Wed, 20 Feb 2019 15:04:13 GMT'] + etag: [W/"datetime'2019-02-20T15%3A04%3A10.3883099Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -576,7 +521,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, "location": "westus2"}' headers: Accept: [application/json] @@ -592,23 +537,23 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:32:10 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:04:21 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:10 GMT'] + date: ['Wed, 20 Feb 2019 15:04:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, "location": "westus2"}' headers: Accept: [application/json] @@ -624,19 +569,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:32:17 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:04:29 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:17 GMT'] + date: ['Wed, 20 Feb 2019 15:04:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -653,12 +598,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}]}'} headers: cache-control: [no-cache] content-length: ['1509'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:18 GMT'] + date: ['Wed, 20 Feb 2019 15:05:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -687,12 +632,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 17:32:23 GMT'] + date: ['Wed, 20 Feb 2019 15:04:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaV0dNWVpPVEpYRFhBMjZaTFpGR0lLSTdTNUJVS0w2SDRMNHw1Q0FEOTdCRkI4MDk4NEQyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKWlFDUU9OSERETUVIUTZJWVlBRFlCWE9JNkhGUEI2SDRHRnwwODEwODZFQzY5RDZFN0FELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml index 2f8c42f648c..226989a6be0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:33:39Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:24:26Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:33:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T15:24:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:44 GMT'] + date: ['Wed, 20 Feb 2019 15:24:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -30,44 +30,44 @@ interactions: status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"b2448de7-5479-443f-8674-de1d6139589c\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"653bca3e-7d74-4972-bbce-2a21db008c86\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:49 GMT'] + date: ['Wed, 20 Feb 2019 15:24:57 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-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:53 GMT'] + date: ['Wed, 20 Feb 2019 15:24:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"9259f3fb-351a-4d23-be76-2629e32ead06\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"3b8ffc46-8811-4bea-8282-ee0ef1099cbf\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:54 GMT'] - etag: [W/"9259f3fb-351a-4d23-be76-2629e32ead06"] + date: ['Wed, 20 Feb 2019 15:24:53 GMT'] + etag: [W/"3b8ffc46-8811-4bea-8282-ee0ef1099cbf"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:56 GMT'] + date: ['Wed, 20 Feb 2019 15:24:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:59 GMT'] + date: ['Wed, 20 Feb 2019 15:25:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:00 GMT'] - etag: [W/"534e2dae-9306-46cf-bc13-f28258570d1a"] + date: ['Wed, 20 Feb 2019 15:25:28 GMT'] + etag: [W/"d7905402-7b50-4cc4-9168-9064dc162dd1"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,16 +261,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A05.7629172Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.6043327Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:05 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A05.7629172Z'"] + date: ['Wed, 20 Feb 2019 15:25:19 GMT'] + etag: [W/"datetime'2019-02-20T15%3A24%3A59.6043327Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437","name":"252fe15a-f3a6-48e9-8cb6-386461d46437","status":"Succeeded","startTime":"2019-02-18T15:34:05.6653387Z","endTime":"2019-02-18T15:34:05.9926004Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3","name":"4f96eac1-5cee-4bdc-8e90-dc45481950e3","status":"Succeeded","startTime":"2019-02-20T15:24:59.5307857Z","endTime":"2019-02-20T15:24:59.8308075Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:37 GMT'] + date: ['Wed, 20 Feb 2019 15:25:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A06.046117Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.881531Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:38 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A06.046117Z'"] + date: ['Wed, 20 Feb 2019 15:25:32 GMT'] + etag: [W/"datetime'2019-02-20T15%3A24%3A59.881531Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A41.9403806Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A37.9717042Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:42 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A41.9403806Z'"] + date: ['Wed, 20 Feb 2019 15:25:38 GMT'] + etag: [W/"datetime'2019-02-20T15%3A25%3A37.9717042Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","name":"abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","status":"Succeeded","startTime":"2019-02-18T15:34:41.8790307Z","endTime":"2019-02-18T15:34:42.3946184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b","name":"84c45784-fa64-4c1b-9d63-147ac7daf86b","status":"Succeeded","startTime":"2019-02-20T15:25:37.9150354Z","endTime":"2019-02-20T15:25:38.2643959Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:14 GMT'] + date: ['Wed, 20 Feb 2019 15:26:09 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A42.4407332Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"6036020d-e40f-f83d-187c-b6778ac38be5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A38.3069418Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"3b927fee-20aa-4a9b-a449-8926a99c291e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:15 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A42.4407332Z'"] + date: ['Wed, 20 Feb 2019 15:26:11 GMT'] + etag: [W/"datetime'2019-02-20T15%3A25%3A38.3069418Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": "Value1"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['414'] + Content-Length: ['423'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,16 +444,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A35%3A20.2293301Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A16.9203182Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['926'] + content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:20 GMT'] - etag: [W/"datetime'2019-02-18T15%3A35%3A20.2293301Z'"] + date: ['Wed, 20 Feb 2019 15:26:17 GMT'] + etag: [W/"datetime'2019-02-20T15%3A26%3A16.9203182Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -473,43 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Creating","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Succeeded","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"2019-02-18T15:36:04.1439095Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150","name":"52d9b169-46ed-4b7a-a0c0-2bf92eb58150","status":"Succeeded","startTime":"2019-02-20T15:26:16.8594852Z","endTime":"2019-02-20T15:26:49.3733161Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:26 GMT'] + date: ['Wed, 20 Feb 2019 15:26:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,110 +503,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:25 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A04.1822662Z'"] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", - "serviceLevel": "Premium", "creationToken": "cli-vol-000005"}, "tags": {"Tag1": - "Value1"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A35.8645661Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000005","provisioningState":"Creating"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15'] - cache-control: [no-cache] - content-length: ['926'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:38 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A35.8645661Z'"] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-powered-by: [ASP.NET] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef","name":"35ace153-2ecc-45d4-8f3c-721c6ab162ef","status":"Succeeded","startTime":"2019-02-18T15:36:35.7894408Z","endTime":"2019-02-18T15:36:47.9585902Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} - headers: - cache-control: [no-cache] - content-length: ['648'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1621'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:37:46 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A47.9881109Z'"] + date: ['Wed, 20 Feb 2019 15:27:03 GMT'] + etag: [W/"datetime'2019-02-20T15%3A26%3A49.4083513Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -656,14 +533,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['3247'] + content-length: ['1638'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:37:15 GMT'] + date: ['Wed, 20 Feb 2019 15:27:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -686,16 +563,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:37:27 GMT'] + date: ['Wed, 20 Feb 2019 15:27:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -714,72 +591,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574","name":"c7a87853-85fd-49d1-a157-ab62fe51a574","status":"Succeeded","startTime":"2019-02-18T15:37:19.8128409Z","endTime":"2019-02-18T15:37:23.6129913Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['648'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:38:07 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15&operationResultResponseType=Location'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Deleting","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Deleting","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:27 GMT'] + date: ['Wed, 20 Feb 2019 15:27:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -800,14 +619,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Succeeded","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"2019-02-18T15:38:49.33467Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Succeeded","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"2019-02-20T15:27:45.1808275Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['646'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:58 GMT'] + date: ['Wed, 20 Feb 2019 15:28:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -829,14 +648,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:01 GMT'] + date: ['Wed, 20 Feb 2019 15:29:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -859,15 +678,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:39:04 GMT'] + date: ['Wed, 20 Feb 2019 15:28:21 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMRU9BVkc3SVc0N0tJTFBDTzJTSU1OWDJVUE5KWVBENTdJUnwwQjdEMkIxRTg5RDY4QzIyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSU1ZWkJQUEw2UVNTSzcyM1E2S1k0TjZPMkg1RFFOUXw5NUMyNDU4ODk4NUIyRjA1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml index 9c1d4633373..b6b41dd7411 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:44:14Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:53:55Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:44:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:53:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:16 GMT'] + date: ['Wed, 20 Feb 2019 13:53:57 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.2418159Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.4060444Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:21 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.2418159Z'"] + date: ['Wed, 20 Feb 2019 13:54:02 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.4060444Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22","name":"59a2d23a-1820-4e6f-8319-b07f36843d22","status":"Succeeded","startTime":"2019-02-18T10:44:21.1971999Z","endTime":"2019-02-18T10:44:21.4784512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf","name":"93c0c1bd-cb5a-4657-b27d-ff2e859616cf","status":"Succeeded","startTime":"2019-02-20T13:54:02.3392937Z","endTime":"2019-02-20T13:54:02.636145Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:52 GMT'] + date: ['Wed, 20 Feb 2019 13:54:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:55 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + date: ['Wed, 20 Feb 2019 13:54:35 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -129,15 +129,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:57 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + date: ['Wed, 20 Feb 2019 13:54:36 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -161,15 +161,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A45%3A00.0196504Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A39.8127469Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:45:01 GMT'] - etag: [W/"datetime'2019-02-18T10%3A45%3A00.0196504Z'"] + date: ['Wed, 20 Feb 2019 13:54:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A39.8127469Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -177,7 +177,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -193,18 +193,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:45:04 GMT'] + date: ['Wed, 20 Feb 2019 13:54:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSVkg2U1RDNEJENzZZM1NaNkYzSVBFSk5SQjJFMkZFTlI1NnxCQkUzNDRGMTgwM0NCMjQ2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSEJWWU5JSExWNEpTVU5VVTNaS0pBVVBGTjVSTEQ0SXxGMkNGRUZCQUY2RjgyQTIxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml index 175ef2d6276..850f8b22855 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:29:31Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:03:48Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:29:31Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:03:48Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:34 GMT'] + date: ['Wed, 20 Feb 2019 14:03:50 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.4205814Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.5000161Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:38 GMT'] - etag: [W/"datetime'2019-02-18T11%3A29%3A38.4205814Z'"] + date: ['Wed, 20 Feb 2019 14:03:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A03%3A54.5000161Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e","name":"41faacdb-a4f1-4868-81e7-3ba68614720e","status":"Succeeded","startTime":"2019-02-18T11:29:38.3591045Z","endTime":"2019-02-18T11:29:38.6359077Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de","name":"82709e4b-85f4-46e3-b769-4ad35b7f11de","status":"Succeeded","startTime":"2019-02-20T14:03:54.4377907Z","endTime":"2019-02-20T14:03:54.7190043Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:09 GMT'] + date: ['Wed, 20 Feb 2019 14:04:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.6997903Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.7722091Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:11 GMT'] - etag: [W/"datetime'2019-02-18T11%3A29%3A38.6997903Z'"] + date: ['Wed, 20 Feb 2019 14:04:27 GMT'] + etag: [W/"datetime'2019-02-20T14%3A03%3A54.7722091Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.4402725Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A31.8945279Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:15 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.4402725Z'"] + date: ['Wed, 20 Feb 2019 14:04:32 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A31.8945279Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89","name":"a73a5a09-b753-45ea-861d-5fd8f8c7ef89","status":"Succeeded","startTime":"2019-02-18T11:30:15.3829537Z","endTime":"2019-02-18T11:30:15.8715498Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd","name":"2628f370-2e40-44df-b393-e3d0e6534fbd","status":"Succeeded","startTime":"2019-02-20T14:04:31.8404504Z","endTime":"2019-02-20T14:04:32.1998407Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:47 GMT'] + date: ['Wed, 20 Feb 2019 14:05:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:53 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + date: ['Wed, 20 Feb 2019 14:05:05 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -219,15 +219,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:55 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + date: ['Wed, 20 Feb 2019 14:05:08 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -252,15 +252,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A58.319083Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A05%3A09.9535107Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['675'] + content-length: ['676'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:58 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A58.319083Z'"] + date: ['Wed, 20 Feb 2019 14:05:10 GMT'] + etag: [W/"datetime'2019-02-20T14%3A05%3A09.9535107Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -284,15 +284,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:31:03 GMT'] + date: ['Wed, 20 Feb 2019 14:05:15 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHNlc2UzJNVFdCS1lHQVJRWUhFR0wyV05KRkhJVjM3STNRMnw0QjYxOEI4OEJGOEY4Q0ExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWlpYM0hIRTdIU1hMTEEzQ1JQNE1YTE5PSEdUR1NWT3wxNDY4NjA5MzY4ODVFMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml index dfcc62b98e5..0f811d57cc8 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:42:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:33:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:42:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:33:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:40 GMT'] + date: ['Wed, 20 Feb 2019 14:33:50 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"8a4c31ee-c1dc-4dcc-9631-44763fee1f42\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"4fbde2f4-53ee-4870-89b9-1c4a10e18689\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:45 GMT'] + date: ['Wed, 20 Feb 2019 14:33:54 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-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:49 GMT'] + date: ['Wed, 20 Feb 2019 14:33:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"6f885da8-047e-4b9e-acd6-53e4b39dcb8f\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"55d95f5a-240d-4afe-b469-e1d5644e91a8\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ ,\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 \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:49 GMT'] - etag: [W/"6f885da8-047e-4b9e-acd6-53e4b39dcb8f"] + date: ['Wed, 20 Feb 2019 14:33:59 GMT'] + etag: [W/"55d95f5a-240d-4afe-b469-e1d5644e91a8"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\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/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:51 GMT'] + date: ['Wed, 20 Feb 2019 14:34:00 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-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1190'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:55 GMT'] + date: ['Wed, 20 Feb 2019 14:34:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:55 GMT'] - etag: [W/"0beb6905-473b-48c4-bc0c-8db03a2b16a5"] + date: ['Wed, 20 Feb 2019 14:34:04 GMT'] + etag: [W/"688294c3-0871-40e9-8568-134365d532ac"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.0177097Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.4430871Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:00 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A00.0177097Z'"] + date: ['Wed, 20 Feb 2019 14:34:09 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A09.4430871Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03","name":"1c578b19-626b-4724-ad4f-2eb85d598b03","status":"Succeeded","startTime":"2019-02-18T15:42:59.9746211Z","endTime":"2019-02-18T15:43:00.2348247Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0","name":"a8afc8c8-c363-40d9-b702-4d482102ded0","status":"Succeeded","startTime":"2019-02-20T14:34:09.2726637Z","endTime":"2019-02-20T14:34:09.6632479Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:31 GMT'] + date: ['Wed, 20 Feb 2019 14:34:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.2828975Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.7152812Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:33 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A00.2828975Z'"] + date: ['Wed, 20 Feb 2019 14:34:43 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A09.7152812Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A36.6066329Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A47.6442385Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:36 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A36.6066329Z'"] + date: ['Wed, 20 Feb 2019 14:34:48 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A47.6442385Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c","name":"13146883-9787-4299-9473-e3e91b75963c","status":"Succeeded","startTime":"2019-02-18T15:43:36.5595321Z","endTime":"2019-02-18T15:43:37.0595993Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac","name":"89e3affc-9b91-445b-ad8f-65859d582bac","status":"Succeeded","startTime":"2019-02-20T14:34:47.5865323Z","endTime":"2019-02-20T14:34:48.0708984Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:08 GMT'] + date: ['Wed, 20 Feb 2019 14:35:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A37.1219991Z''\"","location":"westus2","properties":{"poolId":"86ded845-a656-23cb-b92e-065a5ae18c68","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A48.1245795Z''\"","location":"westus2","properties":{"poolId":"85f927d5-3941-7af6-397f-280b48a8a73c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:09 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A37.1219991Z'"] + date: ['Wed, 20 Feb 2019 14:35:20 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A48.1245795Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -442,22 +443,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A14.3333645Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A35%3A24.7365369Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:14 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A14.3333645Z'"] + date: ['Wed, 20 Feb 2019 14:35:25 GMT'] + etag: [W/"datetime'2019-02-20T14%3A35%3A24.7365369Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Creating","startTime":"2019-02-18T15:44:14.27482Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Creating","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['635'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:45 GMT'] + date: ['Wed, 20 Feb 2019 14:35:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Succeeded","startTime":"2019-02-18T15:44:14.27482Z","endTime":"2019-02-18T15:44:54.1048589Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Succeeded","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"2019-02-20T14:36:05.5401711Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['646'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:17 GMT'] + date: ['Wed, 20 Feb 2019 14:36:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -530,15 +531,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:18 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + date: ['Wed, 20 Feb 2019 14:36:29 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -560,15 +561,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:19 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + date: ['Wed, 20 Feb 2019 14:36:31 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -593,15 +594,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A45%3A26.606576Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A38.8913796Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:27 GMT'] - etag: [W/"datetime'2019-02-18T15%3A45%3A26.606576Z'"] + date: ['Wed, 20 Feb 2019 14:36:39 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A38.8913796Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -609,7 +610,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -625,18 +626,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:45:32 GMT'] + date: ['Wed, 20 Feb 2019 14:36:42 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFUERHQjJRUTZMTlBFTkY2UTVBWU1PS0VMV1dNQVBXTlI3TnxBNDBFQUQzMzY5OEUzOEYyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWFBTN0pJRjZaWEI0TTRXQUhUVjVIQ1haUE1HUVZQTnxCREM4MTI5RDE4NjlDMjMyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14996'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py index 8c84e89c6b4..e04430f509f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -9,7 +9,7 @@ class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_account(self): account_name = self.create_random_name(prefix='cli', length=24) tags = 'Tag1=Value1 Tag2=Value2' @@ -38,7 +38,7 @@ def test_ext_create_delete_account(self): account_list = self.cmd("anf account list -g {rg}").get_output_in_json() assert len(account_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_accounts_ext(self): accounts = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] @@ -54,14 +54,16 @@ def test_ext_list_accounts_ext(self): account_list = self.cmd("anf account list -g {rg}").get_output_in_json() assert len(account_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_account_by_name_ext(self): account_name = self.create_random_name(prefix='cli', length=24) account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() account = self.cmd("az anf account show -g {rg} -a %s" % account_name).get_output_in_json() assert account['name'] == account_name + account_from_id = self.cmd("az anf account show -g {rg} --ids %s" % account['id']).get_output_in_json() + assert account_from_id['name'] == account_name - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_account_ext(self): account_name = self.create_random_name(prefix='cli', length=24) tag = "Tag1=Value1" diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py index d78462ec9c0..5e802ff28d0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -11,7 +11,7 @@ class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_pool(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -40,7 +40,7 @@ def test_ext_create_delete_pool(self): pool_list = self.cmd("anf pool list -g {rg} -a %s" % account_name).get_output_in_json() assert len(pool_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_pools(self): account_name = self.create_random_name(prefix='cli', length=24) pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] @@ -57,7 +57,7 @@ def test_ext_list_pools(self): pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_pool_by_name(self): account_name = self.create_random_name(prefix='cli', length=24) pool_name = self.create_random_name(prefix='cli', length=24) @@ -66,8 +66,10 @@ def test_ext_get_pool_by_name(self): pool = self.cmd("az anf pool show -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name + pool_from_id = self.cmd("az anf pool show -g {rg} --ids %s" % pool['id']).get_output_in_json() + assert pool_from_id['name'] == account_name + '/' + pool_name - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_pool(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index b655a33787f..e55b6bb095a 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -12,9 +12,9 @@ class AzureNetAppFilesExtSnapshotServiceScenarioTest(ScenarioTest): - def setup_vnet(self, rg, vnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) - self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + def setup_vnet(self, rg, vnet_name, subnet_name): + self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix 10.12.0.0/16" % (vnet_name, rg)) + self.cmd("az network vnet subnet create -n %s --vnet-name %s --address-prefixes '10.12.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (subnet_name, vnet_name, rg)) def current_subscription(self): subs = self.cmd("az account show").get_output_in_json() @@ -23,10 +23,11 @@ def current_subscription(self): def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 - subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name) self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() @@ -73,3 +74,6 @@ def test_ext_get_snapshot(self): snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + snapshot_from_id = self.cmd("az anf snapshot show -g {rg} --ids %s" % snapshot['id']).get_output_in_json() + assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index 6bfc42ab0aa..ee696a3eeb0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -12,9 +12,10 @@ class AzureNetAppFilesExtVolumeServiceScenarioTest(ScenarioTest): - def setup_vnet(self, rg, vnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) - self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + def setup_vnet(self, rg, vnet_name, subnet_name, ip_pre): + self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre)) + self.cmd("az network vnet subnet create -n %s -g %s --vnet-name %s --address-prefixes '%s/24' --delegations 'Microsoft.Netapp/volumes'" % (subnet_name, rg, vnet_name, ip_pre)) + def current_subscription(self): subs = self.cmd("az account show").get_output_in_json() @@ -23,21 +24,26 @@ def current_subscription(self): def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, volume_name2=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 - subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name, '10.14.0.0') self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() if volume_name2: + vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name2 + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name, '10.16.0.0') self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() return volume1 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_volumes(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -56,24 +62,22 @@ def test_ext_create_delete_volumes(self): volume_list = self.cmd("anf volume list -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_volumes(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name1 = self.create_random_name(prefix='cli-vol-', length=24) - volume_name2 = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag1=Value1" - self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags, volume_name2) + self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags) volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() - assert len(volume_list) == 2 + assert len(volume_list) == 1 - for volume_name in [volume_name1, volume_name2]: - self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)) + self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_volume_by_name(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -87,7 +91,10 @@ def test_ext_get_volume_by_name(self): assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['tags']['Tag2'] == 'Value1' - @ResourceGroupPreparer() + volume_from_id = self.cmd("az anf volume show -g {rg} --ids %s" % volume['id']).get_output_in_json() + assert volume_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_volume(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py new file mode 100644 index 00000000000..0f7bd5bf843 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_net_app_files_management_client import AzureNetAppFilesManagementClient +from .version import VERSION + +__all__ = ['AzureNetAppFilesManagementClient'] + +__version__ = VERSION + diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py b/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py new file mode 100644 index 00000000000..f455ceed3ee --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import SDKClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration +from .version import VERSION +from .operations.operations import Operations +from .operations.accounts_operations import AccountsOperations +from .operations.pools_operations import PoolsOperations +from .operations.volumes_operations import VolumesOperations +from .operations.mount_targets_operations import MountTargetsOperations +from .operations.snapshots_operations import SnapshotsOperations +from . import models + + +class AzureNetAppFilesManagementClientConfiguration(AzureConfiguration): + """Configuration for AzureNetAppFilesManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(AzureNetAppFilesManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('azure-mgmt-netapp/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class AzureNetAppFilesManagementClient(SDKClient): + """Microsoft NetApp Azure Resource Provider specification + + :ivar config: Configuration for client. + :vartype config: AzureNetAppFilesManagementClientConfiguration + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.netapp.operations.Operations + :ivar accounts: Accounts operations + :vartype accounts: azure.mgmt.netapp.operations.AccountsOperations + :ivar pools: Pools operations + :vartype pools: azure.mgmt.netapp.operations.PoolsOperations + :ivar volumes: Volumes operations + :vartype volumes: azure.mgmt.netapp.operations.VolumesOperations + :ivar mount_targets: MountTargets operations + :vartype mount_targets: azure.mgmt.netapp.operations.MountTargetsOperations + :ivar snapshots: Snapshots operations + :vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = AzureNetAppFilesManagementClientConfiguration(credentials, subscription_id, base_url) + super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self.api_version = '2017-08-15' + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self.config, self._serialize, self._deserialize) + self.accounts = AccountsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.pools = PoolsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.volumes = VolumesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.mount_targets = MountTargetsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.snapshots = SnapshotsOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py new file mode 100644 index 00000000000..169f7b0f0f3 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +try: + from .operation_display_py3 import OperationDisplay + from .dimension_py3 import Dimension + from .metric_specification_py3 import MetricSpecification + from .service_specification_py3 import ServiceSpecification + from .operation_py3 import Operation + from .net_app_account_py3 import NetAppAccount + from .net_app_account_patch_py3 import NetAppAccountPatch + from .capacity_pool_py3 import CapacityPool + from .capacity_pool_patch_py3 import CapacityPoolPatch + from .volume_py3 import Volume + from .volume_patch_py3 import VolumePatch + from .mount_target_py3 import MountTarget + from .snapshot_py3 import Snapshot + from .snapshot_patch_py3 import SnapshotPatch + from .error_py3 import Error, ErrorException +except (SyntaxError, ImportError): + from .operation_display import OperationDisplay + from .dimension import Dimension + from .metric_specification import MetricSpecification + from .service_specification import ServiceSpecification + from .operation import Operation + from .net_app_account import NetAppAccount + from .net_app_account_patch import NetAppAccountPatch + from .capacity_pool import CapacityPool + from .capacity_pool_patch import CapacityPoolPatch + from .volume import Volume + from .volume_patch import VolumePatch + from .mount_target import MountTarget + from .snapshot import Snapshot + from .snapshot_patch import SnapshotPatch + from .error import Error, ErrorException +from .operation_paged import OperationPaged +from .net_app_account_paged import NetAppAccountPaged +from .capacity_pool_paged import CapacityPoolPaged +from .volume_paged import VolumePaged +from .mount_target_paged import MountTargetPaged +from .snapshot_paged import SnapshotPaged +from .azure_net_app_files_management_client_enums import ( + ServiceLevel, +) + +__all__ = [ + 'OperationDisplay', + 'Dimension', + 'MetricSpecification', + 'ServiceSpecification', + 'Operation', + 'NetAppAccount', + 'NetAppAccountPatch', + 'CapacityPool', + 'CapacityPoolPatch', + 'Volume', + 'VolumePatch', + 'MountTarget', + 'Snapshot', + 'SnapshotPatch', + 'Error', 'ErrorException', + 'OperationPaged', + 'NetAppAccountPaged', + 'CapacityPoolPaged', + 'VolumePaged', + 'MountTargetPaged', + 'SnapshotPaged', + 'ServiceLevel', +] diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py new file mode 100644 index 00000000000..70fe875ab01 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum + + +class ServiceLevel(str, Enum): + + standard = "Standard" #: Standard service level + premium = "Premium" #: Premium service level + extreme = "Extreme" #: Extreme service level diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py new file mode 100644 index 00000000000..3dced303adc --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CapacityPool, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.pool_id = None + self.size = kwargs.get('size', 4398046511104) + self.service_level = kwargs.get('service_level', "Premium") + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py new file mode 100644 index 00000000000..fa7c435c870 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class CapacityPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`CapacityPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[CapacityPool]'} + } + + def __init__(self, *args, **kwargs): + + super(CapacityPoolPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py new file mode 100644 index 00000000000..8a9840b47f7 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(CapacityPoolPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py new file mode 100644 index 00000000000..92c38df46b2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(CapacityPoolPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py new file mode 100644 index 00000000000..c2ad853f9f1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, size: int=4398046511104, service_level="Premium", **kwargs) -> None: + super(CapacityPool, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.pool_id = None + self.size = size + self.service_level = service_level + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py new file mode 100644 index 00000000000..2398aa46e8f --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Dimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py new file mode 100644 index 00000000000..af5b0aac3d2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, **kwargs) -> None: + super(Dimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py new file mode 100644 index 00000000000..941e7ebc820 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class Error(Model): + """Error response describing why the operation failed. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. Error code + :type code: str + :param message: Required. Detailed error message + :type message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Error, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + + +class ErrorException(HttpOperationError): + """Server responsed with exception of type: 'Error'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorException, self).__init__(deserialize, response, 'Error', *args) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py new file mode 100644 index 00000000000..1c5b66b4275 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class Error(Model): + """Error response describing why the operation failed. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. Error code + :type code: str + :param message: Required. Detailed error message + :type message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, *, code: str, message: str, **kwargs) -> None: + super(Error, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorException(HttpOperationError): + """Server responsed with exception of type: 'Error'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorException, self).__init__(deserialize, response, 'Error', *args) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py new file mode 100644 index 00000000000..340a905ef64 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.dimensions = kwargs.get('dimensions', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py new file mode 100644 index 00000000000..60388284198 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, dimensions=None, aggregation_type: str=None, fill_gap_with_zero: bool=None, category: str=None, resource_id_dimension_name_override: str=None, **kwargs) -> None: + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.dimensions = dimensions + self.aggregation_type = aggregation_type + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py new file mode 100644 index 00000000000..e118f00da39 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param vlan_id: vlanid. Vlan Id + :type vlan_id: int + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: startIp. The end of IPv4 address range to use when creating + a new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MountTarget, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.tags = kwargs.get('tags', None) + self.mount_target_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.ip_address = None + self.vlan_id = kwargs.get('vlan_id', None) + self.start_ip = kwargs.get('start_ip', None) + self.end_ip = kwargs.get('end_ip', None) + self.gateway = kwargs.get('gateway', None) + self.netmask = kwargs.get('netmask', None) + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py new file mode 100644 index 00000000000..8d9983678f2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class MountTargetPaged(Paged): + """ + A paging container for iterating over a list of :class:`MountTarget ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[MountTarget]'} + } + + def __init__(self, *args, **kwargs): + + super(MountTargetPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py new file mode 100644 index 00000000000..b4191609e62 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param vlan_id: vlanid. Vlan Id + :type vlan_id: int + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: startIp. The end of IPv4 address range to use when creating + a new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, file_system_id: str, tags=None, vlan_id: int=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, **kwargs) -> None: + super(MountTarget, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.tags = tags + self.mount_target_id = None + self.file_system_id = file_system_id + self.ip_address = None + self.vlan_id = vlan_id + self.start_ip = start_ip + self.end_ip = end_ip + self.gateway = gateway + self.netmask = netmask + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py new file mode 100644 index 00000000000..3ec70dc97f9 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(NetAppAccount, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py new file mode 100644 index 00000000000..fd4a719a073 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetAppAccountPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetAppAccount ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetAppAccount]'} + } + + def __init__(self, *args, **kwargs): + + super(NetAppAccountPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py new file mode 100644 index 00000000000..33d4ec3da53 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(NetAppAccountPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py new file mode 100644 index 00000000000..d42966ff410 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(NetAppAccountPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py new file mode 100644 index 00000000000..a2d9c5c845a --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, **kwargs) -> None: + super(NetAppAccount, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py new file mode 100644 index 00000000000..928aa9c0a0b --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py new file mode 100644 index 00000000000..e9de65b8880 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py new file mode 100644 index 00000000000..a066121cec7 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py new file mode 100644 index 00000000000..75776552e32 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class OperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`Operation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Operation]'} + } + + def __init__(self, *args, **kwargs): + + super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py new file mode 100644 index 00000000000..a4de32fddd0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, *, name: str=None, display=None, origin: str=None, service_specification=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.service_specification = service_specification diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py new file mode 100644 index 00000000000..ad10cc9a95f --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, **kwargs): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py new file mode 100644 index 00000000000..e6ab3038fbe --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, *, metric_specifications=None, **kwargs) -> None: + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py new file mode 100644 index 00000000000..cb9b70ef4d1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the FileSystem + :type file_system_id: str + :ivar creation_date: name. The creation date of the snapshot + :vartype creation_date: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_date': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Snapshot, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.snapshot_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.creation_date = None + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py new file mode 100644 index 00000000000..95ab3fde964 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class SnapshotPaged(Paged): + """ + A paging container for iterating over a list of :class:`Snapshot ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Snapshot]'} + } + + def __init__(self, *args, **kwargs): + + super(SnapshotPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py new file mode 100644 index 00000000000..9ccd3602fab --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py new file mode 100644 index 00000000000..61ba55fecf8 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py new file mode 100644 index 00000000000..ac94c966980 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the FileSystem + :type file_system_id: str + :ivar creation_date: name. The creation date of the snapshot + :vartype creation_date: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_date': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, file_system_id: str, tags=None, **kwargs) -> None: + super(Snapshot, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.snapshot_id = None + self.file_system_id = file_system_id + self.creation_date = None + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py new file mode 100644 index 00000000000..2daa2c273f0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have + the delegation Microsoft.NetApp/volumes + :type subnet_id: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_token': {'required': True}, + 'service_level': {'required': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Volume, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.file_system_id = None + self.creation_token = kwargs.get('creation_token', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.provisioning_state = None + self.subnet_id = kwargs.get('subnet_id', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py new file mode 100644 index 00000000000..17d9bd4c9d3 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VolumePaged(Paged): + """ + A paging container for iterating over a list of :class:`Volume ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Volume]'} + } + + def __init__(self, *args, **kwargs): + + super(VolumePaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py new file mode 100644 index 00000000000..a3b5a30bc49 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + } + + def __init__(self, **kwargs): + super(VolumePatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py new file mode 100644 index 00000000000..7d1490e1ef0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + } + + def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, **kwargs) -> None: + super(VolumePatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.service_level = service_level + self.usage_threshold = usage_threshold diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py new file mode 100644 index 00000000000..4a282416271 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have + the delegation Microsoft.NetApp/volumes + :type subnet_id: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_token': {'required': True}, + 'service_level': {'required': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__(self, *, location: str, creation_token: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, subnet_id: str=None, **kwargs) -> None: + super(Volume, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.file_system_id = None + self.creation_token = creation_token + self.service_level = service_level + self.usage_threshold = usage_threshold + self.provisioning_state = None + self.subnet_id = subnet_id diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py new file mode 100644 index 00000000000..99c673b8e4d --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py @@ -0,0 +1,26 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .operations import Operations +from .accounts_operations import AccountsOperations +from .pools_operations import PoolsOperations +from .volumes_operations import VolumesOperations +from .mount_targets_operations import MountTargetsOperations +from .snapshots_operations import SnapshotsOperations + +__all__ = [ + 'Operations', + 'AccountsOperations', + 'PoolsOperations', + 'VolumesOperations', + 'MountTargetsOperations', + 'SnapshotsOperations', +] diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py new file mode 100644 index 00000000000..19addfef5df --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py @@ -0,0 +1,417 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class AccountsOperations(object): + """AccountsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, custom_headers=None, raw=False, **operation_config): + """Lists all NetApp accounts in the resource group. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of NetAppAccount + :rtype: + ~azure.mgmt.netapp.models.NetAppAccountPaged[~azure.mgmt.netapp.models.NetAppAccount] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts'} + + def get( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + """Get the NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetAppAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.NetAppAccount or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + + def _create_or_update_initial( + self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config): + body = models.NetAppAccount(location=location, tags=tags) + + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'NetAppAccount') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or update a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param location: Resource location + :type location: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns NetAppAccount or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.NetAppAccount] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.NetAppAccount]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + resource_group=resource_group, + account_name=account_name, + location=location, + tags=tags, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + + def _delete_initial( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + def update( + self, resource_group, account_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetAppAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.NetAppAccount or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.NetAppAccountPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'NetAppAccountPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py new file mode 100644 index 00000000000..a900436b7de --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class MountTargetsOperations(object): + """MountTargetsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """List mount targets. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of MountTarget + :rtype: + ~azure.mgmt.netapp.models.MountTargetPaged[~azure.mgmt.netapp.models.MountTarget] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.MountTargetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.MountTargetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py new file mode 100644 index 00000000000..45d58bfbb76 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class Operations(object): + """Operations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists all of the available Microsoft.NetApp Rest API operations. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Operation + :rtype: + ~azure.mgmt.netapp.models.OperationPaged[~azure.mgmt.netapp.models.Operation] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/providers/Microsoft.NetApp/operations'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py new file mode 100644 index 00000000000..5bf900e3c39 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py @@ -0,0 +1,432 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class PoolsOperations(object): + """PoolsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + """Lists all capacity pools in the NetApp Account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of CapacityPool + :rtype: + ~azure.mgmt.netapp.models.CapacityPoolPaged[~azure.mgmt.netapp.models.CapacityPool] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} + + def get( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + """Get a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: CapacityPool or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.CapacityPool or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + + def _create_or_update_initial( + self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'CapacityPool') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + if response.status_code == 201: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or Update a capacity pool. + + :param body: Capacity pool object supplied in the body of the + operation. + :type body: ~azure.mgmt.netapp.models.CapacityPool + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns CapacityPool or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.CapacityPool] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.CapacityPool]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + def update( + self, resource_group, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: CapacityPool or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.CapacityPool or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.CapacityPoolPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'CapacityPoolPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py new file mode 100644 index 00000000000..9216a465f1b --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py @@ -0,0 +1,463 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class SnapshotsOperations(object): + """SnapshotsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """List snapshots. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Snapshot + :rtype: + ~azure.mgmt.netapp.models.SnapshotPaged[~azure.mgmt.netapp.models.Snapshot] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.SnapshotPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SnapshotPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} + + def get( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + """Get a snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Snapshot or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Snapshot or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + + def _create_initial( + self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'Snapshot') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create( + self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create a snapshot. + + :param body: Snapshot object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.Snapshot + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Snapshot or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.Snapshot] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.Snapshot]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + snapshot_name=snapshot_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + def update( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Snapshot or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Snapshot or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.SnapshotPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'SnapshotPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + snapshot_name=snapshot_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py new file mode 100644 index 00000000000..c31c39a6abf --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py @@ -0,0 +1,446 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VolumesOperations(object): + """VolumesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + """List volumes. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Volume + :rtype: + ~azure.mgmt.netapp.models.VolumePaged[~azure.mgmt.netapp.models.Volume] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.VolumePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VolumePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} + + def get( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """Get a volume. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Volume or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Volume or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + + def _create_or_update_initial( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'Volume') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + if response.status_code == 201: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or update a volume. + + :param body: Volume object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.Volume + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Volume or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.Volume] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.Volume]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + def update( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """Patch a volume. + + :param body: Volume object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.VolumePatch + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Volume or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Volume or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'VolumePatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a volume. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/version.py b/src/anf-preview/azext_anf_preview/vendored_sdks/version.py new file mode 100644 index 00000000000..e0ec669828c --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/version.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +VERSION = "0.1.0" + diff --git a/src/anf-preview/azext_metadata.json b/src/anf-preview/azext_metadata.json new file mode 100644 index 00000000000..4646a496f2e --- /dev/null +++ b/src/anf-preview/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.minCliCoreVersion": "2.0.56", + "azext.isPreview": true +} \ No newline at end of file diff --git a/src/anf-preview/setup.py b/src/anf-preview/setup.py index bccbfb5314a..791b6f1c65c 100644 --- a/src/anf-preview/setup.py +++ b/src/anf-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.0.1" +VERSION = "0.1.0" CLASSIFIERS = [ 'Development Status :: 4 - Beta', @@ -24,12 +24,9 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = [ - 'azure-mgmt-netapp==0.1.0', - 'azure-cli-core' -] +DEPENDENCIES = [] -with open('README.rst', 'r', encoding='utf-8') as f: +with open('README.md', 'r', encoding='utf-8') as f: README = f.read() with open('HISTORY.rst', 'r', encoding='utf-8') as f: HISTORY = f.read() @@ -45,5 +42,6 @@ url='https://github.com/Azure/azure-cli-extensions/tree/master/src/anf-preview', classifiers=CLASSIFIERS, packages=find_packages(exclude=["tests"]), + package_data={'azext_anf_preview': ['azext_metadata.json']}, install_requires=DEPENDENCIES )