diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file_returns_not_found.yaml similarity index 70% rename from src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file.yaml rename to src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file_returns_not_found.yaml index b5fc28e8145..59c694ee13f 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file.yaml +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_restore_file_returns_not_found.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '{"location": "southcentralusstage", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.5.0.0/16"]}, "dhcpOptions": {}}}' + body: '{"location": "southcentralus", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.5.0.0/16"]}, "dhcpOptions": {}}}' headers: Accept: - application/json @@ -12,23 +12,23 @@ interactions: Connection: - keep-alive Content-Length: - - '124' + - '131' Content-Type: - application/json ParameterSetName: - -n -g -l --address-prefix User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2021-05-01 response: body: string: "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"ee17d965-6cd9-46d4-895a-8405ee167001\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralusstage\",\r\n - \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-03-18T10:24:24.1883041Z\"\r\n + \ \"etag\": \"W/\\\"85c6d23c-69ea-46a3-b8f9-7e3632e13dd2\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralus\",\r\n + \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-04-06T12:04:13.5947226Z\"\r\n \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"521ada76-7aea-4222-b0d9-f83fa5139510\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4a0dc08e-8b56-4f6d-a14f-677de1ab571c\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.5.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -37,15 +37,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralusstage/operations/9a1ba7c0-332f-4ba4-8549-d2c529abd936?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralus/operations/9ba90c69-7826-4318-b23c-2888eb3618ff?api-version=2021-05-01 cache-control: - no-cache content-length: - - '773' + - '780' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:30 GMT + - Wed, 06 Apr 2022 12:04:19 GMT expires: - '-1' pragma: @@ -58,9 +58,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5138e344-14ac-45d8-835e-3853be7bd58e + - e65f539a-4c35-495e-a769-fa5e360abc39 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -78,9 +78,9 @@ interactions: ParameterSetName: - -n -g -l --address-prefix User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralusstage/operations/9a1ba7c0-332f-4ba4-8549-d2c529abd936?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralus/operations/9ba90c69-7826-4318-b23c-2888eb3618ff?api-version=2021-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -92,7 +92,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:33 GMT + - Wed, 06 Apr 2022 12:04:22 GMT expires: - '-1' pragma: @@ -109,7 +109,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ad927163-0fc3-46b2-8b03-6a7d1545f531 + - f9d6d3e9-a49d-4d16-84d6-f3380f2b29de status: code: 200 message: OK @@ -127,17 +127,17 @@ interactions: ParameterSetName: - -n -g -l --address-prefix User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2021-05-01 response: body: string: "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"55da4caa-7181-4990-8b97-85ce23566e03\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralusstage\",\r\n - \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-03-18T10:24:24.1883041Z\"\r\n + \ \"etag\": \"W/\\\"f319c524-0950-4a83-bba3-679b43cc0df9\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralus\",\r\n + \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-04-06T12:04:13.5947226Z\"\r\n \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"521ada76-7aea-4222-b0d9-f83fa5139510\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4a0dc08e-8b56-4f6d-a14f-677de1ab571c\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.5.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -146,13 +146,13 @@ interactions: cache-control: - no-cache content-length: - - '774' + - '781' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:33 GMT + - Wed, 06 Apr 2022 12:04:22 GMT etag: - - W/"55da4caa-7181-4990-8b97-85ce23566e03" + - W/"f319c524-0950-4a83-bba3-679b43cc0df9" expires: - '-1' pragma: @@ -169,7 +169,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 817604e9-2c8c-4d10-a54d-b81ddd1fd757 + - 22b2d818-7e69-4500-a28e-885327fca9fb status: code: 200 message: OK @@ -187,17 +187,17 @@ interactions: ParameterSetName: - -n --vnet-name --address-prefixes --delegations -g User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2021-05-01 response: body: string: "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"55da4caa-7181-4990-8b97-85ce23566e03\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralusstage\",\r\n - \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-03-18T10:24:24.1883041Z\"\r\n + \ \"etag\": \"W/\\\"f319c524-0950-4a83-bba3-679b43cc0df9\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralus\",\r\n + \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-04-06T12:04:13.5947226Z\"\r\n \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"521ada76-7aea-4222-b0d9-f83fa5139510\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4a0dc08e-8b56-4f6d-a14f-677de1ab571c\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.5.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -206,13 +206,13 @@ interactions: cache-control: - no-cache content-length: - - '774' + - '781' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:33 GMT + - Wed, 06 Apr 2022 12:04:23 GMT etag: - - W/"55da4caa-7181-4990-8b97-85ce23566e03" + - W/"f319c524-0950-4a83-bba3-679b43cc0df9" expires: - '-1' pragma: @@ -222,16 +222,20 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7278aac1-57f4-463a-bc81-59329953faa4 + - 65160670-4088-4531-830c-ee2de66fdbf6 status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02", - "location": "southcentralusstage", "tags": {"CreatedOnDate": "2022-03-18T10:24:24.1883041Z"}, + "location": "southcentralus", "tags": {"CreatedOnDate": "2022-04-06T12:04:13.5947226Z"}, "properties": {"addressSpace": {"addressPrefixes": ["10.5.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"name": "cli-subnet-lefr-02", "properties": {"addressPrefix": "10.5.0.0/24", "delegations": [{"name": "0", "properties": @@ -248,33 +252,33 @@ interactions: Connection: - keep-alive Content-Length: - - '699' + - '706' Content-Type: - application/json ParameterSetName: - -n --vnet-name --address-prefixes --delegations -g User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2021-05-01 response: body: string: "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"08d3ae7d-c370-4729-87fe-215426bd17e8\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralusstage\",\r\n - \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-03-18T10:24:24.1883041Z\"\r\n + \ \"etag\": \"W/\\\"bd5f6a52-afba-4557-bf6a-2887436b90f1\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralus\",\r\n + \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-04-06T12:04:13.5947226Z\"\r\n \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"521ada76-7aea-4222-b0d9-f83fa5139510\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4a0dc08e-8b56-4f6d-a14f-677de1ab571c\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.5.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"08d3ae7d-c370-4729-87fe-215426bd17e8\\\"\",\r\n + \ \"etag\": \"W/\\\"bd5f6a52-afba-4557-bf6a-2887436b90f1\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\": [\r\n {\r\n \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\",\r\n - \ \"etag\": \"W/\\\"08d3ae7d-c370-4729-87fe-215426bd17e8\\\"\",\r\n + \ \"etag\": \"W/\\\"bd5f6a52-afba-4557-bf6a-2887436b90f1\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\",\r\n @@ -289,15 +293,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralusstage/operations/34a0f2a3-da0d-4ad1-8664-6ca3f57da7a3?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralus/operations/125ee2fb-89d1-40e6-8672-6cdde910fff2?api-version=2021-05-01 cache-control: - no-cache content-length: - - '2271' + - '2278' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:35 GMT + - Wed, 06 Apr 2022 12:04:25 GMT expires: - '-1' pragma: @@ -307,10 +311,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5c17663-ed17-49c2-b887-d18ef83aa433 + - d4406459-c987-4484-b7ef-2f6fd2b24229 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -330,9 +338,9 @@ interactions: ParameterSetName: - -n --vnet-name --address-prefixes --delegations -g User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralusstage/operations/34a0f2a3-da0d-4ad1-8664-6ca3f57da7a3?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/southcentralus/operations/125ee2fb-89d1-40e6-8672-6cdde910fff2?api-version=2021-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -344,7 +352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:39 GMT + - Wed, 06 Apr 2022 12:04:28 GMT expires: - '-1' pragma: @@ -354,10 +362,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9bef7976-e68e-4c72-9c28-cc253932365a + - 97a83741-5eec-444a-aa79-17654257cd96 status: code: 200 message: OK @@ -375,27 +387,27 @@ interactions: ParameterSetName: - -n --vnet-name --address-prefixes --delegations -g User-Agent: - - AZURECLI/2.34.1 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2021-05-01 response: body: string: "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"89ba556b-836d-4122-957f-b93f83cc17e1\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralusstage\",\r\n - \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-03-18T10:24:24.1883041Z\"\r\n + \ \"etag\": \"W/\\\"8a4c0cb1-c972-4b60-bf6a-b6a8ee1756c3\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"southcentralus\",\r\n + \ \"tags\": {\r\n \"CreatedOnDate\": \"2022-04-06T12:04:13.5947226Z\"\r\n \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"521ada76-7aea-4222-b0d9-f83fa5139510\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4a0dc08e-8b56-4f6d-a14f-677de1ab571c\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.5.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\",\r\n - \ \"etag\": \"W/\\\"89ba556b-836d-4122-957f-b93f83cc17e1\\\"\",\r\n + \ \"etag\": \"W/\\\"8a4c0cb1-c972-4b60-bf6a-b6a8ee1756c3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\": [\r\n {\r\n \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\",\r\n - \ \"etag\": \"W/\\\"89ba556b-836d-4122-957f-b93f83cc17e1\\\"\",\r\n + \ \"etag\": \"W/\\\"8a4c0cb1-c972-4b60-bf6a-b6a8ee1756c3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\",\r\n @@ -410,13 +422,13 @@ interactions: cache-control: - no-cache content-length: - - '2273' + - '2280' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:39 GMT + - Wed, 06 Apr 2022 12:04:28 GMT etag: - - W/"89ba556b-836d-4122-957f-b93f83cc17e1" + - W/"8a4c0cb1-c972-4b60-bf6a-b6a8ee1756c3" expires: - '-1' pragma: @@ -426,10 +438,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ad614d87-37e7-4289-ba05-acaa7c1f6bc8 + - 92b37873-405a-47bd-a4d2-b026f3a21dd1 status: code: 200 message: OK @@ -445,31 +461,31 @@ interactions: Connection: - keep-alive Content-Length: - - '23' + - '35' Content-Type: - application/json ParameterSetName: - -g -a -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2022-03-18T10%3A24%3A44.2632178Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:24:40.7129670Z"},"properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2022-04-06T12%3A04%3A36.2052347Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:04:30.5542041Z"},"properties":{"provisioningState":"Creating"},"systemData":{"createdBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","createdByType":"Application","createdAt":"2022-04-06T12:04:35.4649532Z","lastModifiedBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","lastModifiedByType":"Application","lastModifiedAt":"2022-04-06T12:04:35.4649532Z"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f3e7d6a1-c811-4c35-8264-e375f36713a9?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1ec4c54e-6fc2-4fec-a080-14129b34c1d7?api-version=2021-10-01 cache-control: - no-cache content-length: - - '415' + - '705' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:24:45 GMT + - Wed, 06 Apr 2022 12:04:37 GMT etag: - - W/"datetime'2022-03-18T10%3A24%3A44.2632178Z'" + - W/"datetime'2022-04-06T12%3A04%3A36.2052347Z'" expires: - '-1' pragma: @@ -481,7 +497,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -501,21 +517,21 @@ interactions: ParameterSetName: - -g -a -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f3e7d6a1-c811-4c35-8264-e375f36713a9?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1ec4c54e-6fc2-4fec-a080-14129b34c1d7?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f3e7d6a1-c811-4c35-8264-e375f36713a9","name":"f3e7d6a1-c811-4c35-8264-e375f36713a9","status":"Succeeded","startTime":"2022-03-18T10:24:44.2672692Z","endTime":"2022-03-18T10:24:44.3151785Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1ec4c54e-6fc2-4fec-a080-14129b34c1d7","name":"1ec4c54e-6fc2-4fec-a080-14129b34c1d7","status":"Succeeded","startTime":"2022-04-06T12:04:36.2109987Z","endTime":"2022-04-06T12:04:36.2422526Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' headers: cache-control: - no-cache content-length: - - '527' + - '539' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:25:15 GMT + - Wed, 06 Apr 2022 12:05:11 GMT expires: - '-1' pragma: @@ -549,23 +565,23 @@ interactions: ParameterSetName: - -g -a -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2022-03-18T10%3A24%3A44.3080762Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:24:40.7129670Z"},"properties":{"activeDirectories":[{"activeDirectoryId":"e84ad595-1e53-acd8-dc3e-d280c8fcad7e","username":"ad_user","password":"****************","domain":"southcentralusstage","dns":"1.2.3.4","status":"Created","smbServerName":"SMBSERVER","organizationalUnit":"CN=Computers","kdcIP":"172.16.254.1","adName":"cli-ad-name","aesEncryption":false,"ldapSigning":true,"ldapOverTLS":false,"allowLocalNFSUsersWithLdap":true,"encryptDCConnections":false,"ldapSearchScope":{"userDN":"user-dn"}}],"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2022-04-06T12%3A04%3A36.2470151Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:04:30.5542041Z"},"properties":{"activeDirectories":[{"activeDirectoryId":"6411f198-b5fc-ad07-113d-56dd4da0e462","username":"testadmin","password":"****************","domain":"testdomain.local","dns":"10.0.2.4,10.0.2.5","status":"Created","smbServerName":"testsmb","organizationalUnit":"CN=Computers","aesEncryption":false,"ldapSigning":false,"ldapOverTLS":false,"allowLocalNFSUsersWithLdap":false,"encryptDCConnections":false,"ldapSearchScope":{}}],"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"},"systemData":{"createdBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","createdByType":"Application","createdAt":"2022-04-06T12:04:35.4649532Z","lastModifiedBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","lastModifiedByType":"Application","lastModifiedAt":"2022-04-06T12:04:35.4649532Z"}}' headers: cache-control: - no-cache content-length: - - '923' + - '1170' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:25:15 GMT + - Wed, 06 Apr 2022 12:05:12 GMT etag: - - W/"datetime'2022-03-18T10%3A24%3A44.3080762Z'" + - W/"datetime'2022-04-06T12%3A04%3A36.2470151Z'" expires: - '-1' pragma: @@ -586,8 +602,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + "serviceLevel": "Premium"}}' headers: Accept: - application/json @@ -598,31 +614,31 @@ interactions: Connection: - keep-alive Content-Length: - - '89' + - '101' Content-Type: - application/json ParameterSetName: - -g -a -p -l --service-level --size User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-03-18T10%3A25%3A24.9689269Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:25:18.2894806Z"},"properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-04-06T12%3A05%3A21.0361896Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:05:15.3433155Z"},"properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"},"systemData":{"createdBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","createdByType":"Application","createdAt":"2022-04-06T12:05:19.7974971Z","lastModifiedBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","lastModifiedByType":"Application","lastModifiedAt":"2022-04-06T12:05:19.7974971Z"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/700c020c-8cf6-4a6a-9b2f-96a29f320ea0?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/610df6e9-e072-474b-92b1-81fbd0796ef1?api-version=2021-10-01 cache-control: - no-cache content-length: - - '578' + - '868' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:25:26 GMT + - Wed, 06 Apr 2022 12:05:21 GMT etag: - - W/"datetime'2022-03-18T10%3A25%3A24.9689269Z'" + - W/"datetime'2022-04-06T12%3A05%3A21.0361896Z'" expires: - '-1' pragma: @@ -654,21 +670,21 @@ interactions: ParameterSetName: - -g -a -p -l --service-level --size User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/700c020c-8cf6-4a6a-9b2f-96a29f320ea0?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/610df6e9-e072-474b-92b1-81fbd0796ef1?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/700c020c-8cf6-4a6a-9b2f-96a29f320ea0","name":"700c020c-8cf6-4a6a-9b2f-96a29f320ea0","status":"Succeeded","startTime":"2022-03-18T10:25:24.9796006Z","endTime":"2022-03-18T10:25:25.2199502Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/610df6e9-e072-474b-92b1-81fbd0796ef1","name":"610df6e9-e072-474b-92b1-81fbd0796ef1","status":"Succeeded","startTime":"2022-04-06T12:05:21.0331111Z","endTime":"2022-04-06T12:05:21.4237369Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}' headers: cache-control: - no-cache content-length: - - '557' + - '569' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:25:56 GMT + - Wed, 06 Apr 2022 12:05:51 GMT expires: - '-1' pragma: @@ -702,23 +718,23 @@ interactions: ParameterSetName: - -g -a -p -l --service-level --size User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-03-18T10%3A25%3A25.2004403Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:25:18.2894806Z"},"properties":{"poolId":"d9d7a6c2-cba4-f90a-d7a6-a90d613c4628","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-04-06T12%3A05%3A21.4279315Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:05:15.3433155Z"},"properties":{"poolId":"cb9f3e98-52f9-24f1-3810-3fee18adc95c","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":256.0,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '693' + - '703' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:25:56 GMT + - Wed, 06 Apr 2022 12:05:51 GMT etag: - - W/"datetime'2022-03-18T10%3A25%3A25.2004403Z'" + - W/"datetime'2022-04-06T12%3A05%3A21.4279315Z'" expires: - '-1' pragma: @@ -751,31 +767,31 @@ interactions: Connection: - keep-alive Content-Length: - - '340' + - '352' Content-Type: - application/json ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-03-18T10%3A26%3A04.9160144Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:25:58.7530400Z"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","maximumNumberOfFiles":100000000,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-04-06T12%3A05%3A58.7613231Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:05:54.4459630Z"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","maximumNumberOfFiles":100000000,"provisioningState":"Creating"},"systemData":{"createdBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","createdByType":"Application","createdAt":"2022-04-06T12:05:56.8410134Z","lastModifiedBy":"c6c4faba-2b22-44d9-80a4-71ff5b71f811","lastModifiedByType":"Application","lastModifiedAt":"2022-04-06T12:05:56.8410134Z"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 cache-control: - no-cache content-length: - - '847' + - '1137' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:26:06 GMT + - Wed, 06 Apr 2022 12:05:59 GMT etag: - - W/"datetime'2022-03-18T10%3A26%3A04.9160144Z'" + - W/"datetime'2022-04-06T12%3A05%3A58.7613231Z'" expires: - '-1' pragma: @@ -787,7 +803,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -807,21 +823,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:26:36 GMT + - Wed, 06 Apr 2022 12:06:29 GMT expires: - '-1' pragma: @@ -830,6 +846,10 @@ interactions: - 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: @@ -851,21 +871,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:27:06 GMT + - Wed, 06 Apr 2022 12:07:00 GMT expires: - '-1' pragma: @@ -874,6 +894,10 @@ interactions: - 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: @@ -895,21 +919,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:27:36 GMT + - Wed, 06 Apr 2022 12:07:30 GMT expires: - '-1' pragma: @@ -918,6 +942,10 @@ interactions: - 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: @@ -939,21 +967,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:28:06 GMT + - Wed, 06 Apr 2022 12:08:00 GMT expires: - '-1' pragma: @@ -962,6 +990,10 @@ interactions: - 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: @@ -983,21 +1015,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:28:37 GMT + - Wed, 06 Apr 2022 12:08:30 GMT expires: - '-1' pragma: @@ -1006,6 +1038,10 @@ interactions: - 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: @@ -1027,21 +1063,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:29:08 GMT + - Wed, 06 Apr 2022 12:09:01 GMT expires: - '-1' pragma: @@ -1050,6 +1086,10 @@ interactions: - 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: @@ -1071,21 +1111,69 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Creating","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '569' + - '581' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 06 Apr 2022 12:09:31 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet + User-Agent: + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Creating","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + headers: + cache-control: + - no-cache + content-length: + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:29:38 GMT + - Wed, 06 Apr 2022 12:10:01 GMT expires: - '-1' pragma: @@ -1094,6 +1182,10 @@ interactions: - 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: @@ -1115,21 +1207,21 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/db8945c7-c68e-4fe0-a1f5-c18c26517ce4","name":"db8945c7-c68e-4fe0-a1f5-c18c26517ce4","status":"Succeeded","startTime":"2022-03-18T10:26:04.9287236Z","endTime":"2022-03-18T10:29:58.6462031Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","name":"fce132a8-34ff-4b2e-aab9-43cb4d53c8f9","status":"Succeeded","startTime":"2022-04-06T12:05:58.7649125Z","endTime":"2022-04-06T12:10:21.9241505Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}' headers: cache-control: - no-cache content-length: - - '580' + - '592' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:08 GMT + - Wed, 06 Apr 2022 12:10:32 GMT expires: - '-1' pragma: @@ -1138,6 +1230,10 @@ interactions: - 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: @@ -1159,23 +1255,23 @@ interactions: ParameterSetName: - -g -a -p -v -l --service-level --usage-threshold --file-path --vnet --subnet User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-03-18T10%3A29%3A58.6426133Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-03-18T10:25:58.7530400Z"},"properties":{"fileSystemId":"0bfa86d7-55f7-e26c-b996-0a5c4513dc64","serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_25ea8d48","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","networkFeatures":"Basic","networkSiblingSetId":"8873ecfc-9610-e18f-f9b4-32539067c653","storageToNetworkProximity":"Default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770","mountTargets":[{"mountTargetId":"0bfa86d7-55f7-e26c-b996-0a5c4513dc64","fileSystemId":"0bfa86d7-55f7-e26c-b996-0a5c4513dc64","ipAddress":"10.5.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"avsDataStore":"Disabled","isDefaultQuotaEnabled":false,"defaultUserQuotaInKiBs":0,"defaultGroupQuotaInKiBs":0,"enableSubvolumes":"Disabled","maximumNumberOfFiles":100000000,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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''2022-04-06T12%3A10%3A21.921716Z''\"","location":"southcentralusstage","tags":{"CreatedOnDate":"2022-04-06T12:05:54.4459630Z"},"properties":{"fileSystemId":"48062354-0aa6-b25e-bc81-303e7ec95c65","serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_bc6058f4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","networkFeatures":"Basic","networkSiblingSetId":"1e262fad-81a1-a9ec-63fd-348b870cf1c3","storageToNetworkProximity":"Default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770","mountTargets":[{"mountTargetId":"48062354-0aa6-b25e-bc81-303e7ec95c65","fileSystemId":"48062354-0aa6-b25e-bc81-303e7ec95c65","ipAddress":"10.5.0.4"}],"throughputMibps":6.25,"volumeSpecName":"generic","coolAccess":false,"avsDataStore":"Disabled","isDefaultQuotaEnabled":false,"defaultUserQuotaInKiBs":0,"defaultGroupQuotaInKiBs":0,"enableSubvolumes":"Disabled","maximumNumberOfFiles":100000000,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '2081' + - '2093' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:08 GMT + - Wed, 06 Apr 2022 12:10:33 GMT etag: - - W/"datetime'2022-03-18T10%3A29%3A58.6426133Z'" + - W/"datetime'2022-04-06T12%3A10%3A21.921716Z'" expires: - '-1' pragma: @@ -1184,6 +1280,10 @@ interactions: - 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: @@ -1203,13 +1303,13 @@ interactions: Connection: - keep-alive Content-Length: - - '23' + - '35' Content-Type: - application/json ParameterSetName: - -g -a -p -v -s -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2021-10-01 response: @@ -1217,19 +1317,19 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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":"southcentralusstage","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1431a596-f517-4011-ad46-20e19dbcd5b6?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/585120d7-bb3b-4ac7-b2ed-49e302f8738d?api-version=2021-10-01 cache-control: - no-cache content-length: - - '455' + - '467' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:10 GMT + - Wed, 06 Apr 2022 12:10:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1431a596-f517-4011-ad46-20e19dbcd5b6?api-version=2021-10-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/585120d7-bb3b-4ac7-b2ed-49e302f8738d?api-version=2021-10-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1259,21 +1359,21 @@ interactions: ParameterSetName: - -g -a -p -v -s -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1431a596-f517-4011-ad46-20e19dbcd5b6?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/585120d7-bb3b-4ac7-b2ed-49e302f8738d?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1431a596-f517-4011-ad46-20e19dbcd5b6","name":"1431a596-f517-4011-ad46-20e19dbcd5b6","status":"Succeeded","startTime":"2022-03-18T10:30:11.2005998Z","endTime":"2022-03-18T10:30:14.0225376Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/585120d7-bb3b-4ac7-b2ed-49e302f8738d","name":"585120d7-bb3b-4ac7-b2ed-49e302f8738d","status":"Succeeded","startTime":"2022-04-06T12:10:35.0657365Z","endTime":"2022-04-06T12:10:40.8480207Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005"}}' headers: cache-control: - no-cache content-length: - - '604' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:41 GMT + - Wed, 06 Apr 2022 12:11:04 GMT expires: - '-1' pragma: @@ -1307,21 +1407,21 @@ interactions: ParameterSetName: - -g -a -p -v -s -l User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"2e9881fd-6c1e-76d8-aee4-88b9edf14883","created":"2022-03-18T10:30:11Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"91804274-e125-5d04-ae33-f05e4150a034","created":"2022-04-06T12:10:35Z"}}' headers: cache-control: - no-cache content-length: - - '541' + - '553' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:41 GMT + - Wed, 06 Apr 2022 12:11:05 GMT expires: - '-1' pragma: @@ -1359,7 +1459,7 @@ interactions: ParameterSetName: - -g -a -p -v -s --file-paths User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005/restoreFiles?api-version=2021-10-01 response: @@ -1367,19 +1467,19 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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":"southcentralusstage"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9877474b-d8d2-4b31-8414-bb94ab67f0e3?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b79249c3-6625-4c3b-834b-fd0eb8541dcb?api-version=2021-10-01 cache-control: - no-cache content-length: - - '409' + - '421' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:42 GMT + - Wed, 06 Apr 2022 12:11:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9877474b-d8d2-4b31-8414-bb94ab67f0e3?api-version=2021-10-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b79249c3-6625-4c3b-834b-fd0eb8541dcb?api-version=2021-10-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1399,31 +1499,43 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - netappfiles snapshot show + - netappfiles snapshot restore-files Connection: - keep-alive ParameterSetName: - - -g -a -p -v -s + - -g -a -p -v -s --file-paths User-Agent: - - AZURECLI/2.34.1 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) + - AZURECLI/2.35.0 azsdk-python-mgmt-netapp/7.0.0 Python/3.8.10 (macOS-12.2-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b79249c3-6625-4c3b-834b-fd0eb8541dcb?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/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":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"2e9881fd-6c1e-76d8-aee4-88b9edf14883","created":"2022-03-18T10:30:11Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b79249c3-6625-4c3b-834b-fd0eb8541dcb","name":"b79249c3-6625-4c3b-834b-fd0eb8541dcb","status":"Failed","startTime":"2022-04-06T12:11:06.8853709Z","endTime":"2022-04-06T12:11:11.0886911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_netappfiles_test_snapshot_000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005"},"error":{"code":"Conflict","message":"[{\"FilePath\":\"/snap_file_path_1.txt\",\"ResponseMessage\":\"The + specified filePath /snap_file_path_1.txt does not exist in the snapshot cli-sn-000005 + , Provide a valid path and retry the operation. Please note that the filePaths + are case sensitive and the operation expects absolute path in the filesystem.\"},{\"FilePath\":\"/snap_file_path_2.txt\",\"ResponseMessage\":\"The + specified filePath /snap_file_path_2.txt does not exist in the snapshot cli-sn-000005 + , Provide a valid path and retry the operation. Please note that the filePaths + are case sensitive and the operation expects absolute path in the filesystem.\"}]","details":[{"code":"SingleFileSnapshotRestoreInvalidStatusForOperation","message":"[{\"FilePath\":\"/snap_file_path_1.txt\",\"ResponseMessage\":\"The + specified filePath /snap_file_path_1.txt does not exist in the snapshot cli-sn-000005 + , Provide a valid path and retry the operation. Please note that the filePaths + are case sensitive and the operation expects absolute path in the filesystem.\"},{\"FilePath\":\"/snap_file_path_2.txt\",\"ResponseMessage\":\"The + specified filePath /snap_file_path_2.txt does not exist in the snapshot cli-sn-000005 + , Provide a valid path and retry the operation. Please note that the filePaths + are case sensitive and the operation expects absolute path in the filesystem.\"}]"}]}}' headers: cache-control: - no-cache content-length: - - '541' + - '1991' content-type: - application/json; charset=utf-8 date: - - Fri, 18 Mar 2022 10:30:44 GMT + - Wed, 06 Apr 2022 12:11:37 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py index b5f610a39b6..f4d9ae86aff 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py @@ -2,11 +2,9 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- - -import unittest - from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer from azure.cli.testsdk.decorators import serial_test +from knack.util import CLIError POOL_DEFAULT = "--service-level 'Premium' --size 4" VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 100" @@ -179,9 +177,8 @@ def test_get_snapshot(self): snapshot_from_id = self.cmd("az netappfiles snapshot show --ids %s" % snapshot['id']).get_output_in_json() assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name - @unittest.skip('This test requires southcentralusstage and cannot be run with public cloud.') @ResourceGroupPreparer(name_prefix='cli_netappfiles_test_snapshot_', additional_tags={'owner': 'cli_test'}) - def test_restore_file(self): + def test_restore_file_returns_not_found(self): # create volume account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -196,10 +193,6 @@ def test_restore_file(self): snapshot_file_path = "'/snap_file_path_1.txt' '/snap_file_path_2.txt'" - self.cmd("az netappfiles snapshot restore-files -g {rg} -a %s -p %s -v %s -s %s --file-paths %s" % - (account_name, pool_name, volume_name, snapshot_name, snapshot_file_path)) - - snapshot = self.cmd("az netappfiles 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['provisioningState'] == 'Succeeded' + with self.assertRaisesRegex(CLIError, "The specified filePath /snap_file_path_1.txt does not exist"): + self.cmd("az netappfiles snapshot restore-files -g {rg} -a %s -p %s -v %s -s %s --file-paths %s" % + (account_name, pool_name, volume_name, snapshot_name, snapshot_file_path))