-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
939ca19
commit 6603808
Showing
7 changed files
with
176 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
...e/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
interactions: | ||
- request: | ||
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", | ||
"date": "2018-10-19T22:46:51Z"}}' | ||
headers: | ||
Accept: [application/json] | ||
Accept-Encoding: ['gzip, deflate'] | ||
CommandName: [group create] | ||
Connection: [keep-alive] | ||
Content-Length: ['110'] | ||
Content-Type: [application/json; charset=utf-8] | ||
User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.1 msrest_azure/0.4.34 | ||
resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.50] | ||
accept-language: [en-US] | ||
method: PUT | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_network_private_endpoints000001?api-version=2018-05-01 | ||
response: | ||
body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001","name":"cli_test_network_private_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-10-19T22:46:51Z"},"properties":{"provisioningState":"Succeeded"}}'} | ||
headers: | ||
cache-control: [no-cache] | ||
content-length: ['384'] | ||
content-type: [application/json; charset=utf-8] | ||
date: ['Fri, 19 Oct 2018 22:46: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'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept: [application/json] | ||
Accept-Encoding: ['gzip, deflate'] | ||
CommandName: [network private-endpoint list] | ||
Connection: [keep-alive] | ||
User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.1 msrest_azure/0.4.34 | ||
networkmanagementclient/2.2.1 Azure-SDK-For-Python AZURECLI/2.0.50] | ||
accept-language: [en-US] | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/interfaceEndpoints?api-version=2018-08-01 | ||
response: | ||
body: {string: '{"value":[]}'} | ||
headers: | ||
cache-control: [no-cache] | ||
content-length: ['12'] | ||
content-type: [application/json; charset=utf-8] | ||
date: ['Fri, 19 Oct 2018 22:46:56 GMT'] | ||
expires: ['-1'] | ||
pragma: [no-cache] | ||
strict-transport-security: [max-age=31536000; includeSubDomains] | ||
vary: [Accept-Encoding] | ||
x-content-type-options: [nosniff] | ||
status: {code: 200, message: OK} | ||
- request: | ||
body: null | ||
headers: | ||
Accept: [application/json] | ||
Accept-Encoding: ['gzip, deflate'] | ||
CommandName: [network private-endpoint list] | ||
Connection: [keep-alive] | ||
User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.1 msrest_azure/0.4.34 | ||
networkmanagementclient/2.2.1 Azure-SDK-For-Python AZURECLI/2.0.50] | ||
accept-language: [en-US] | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/interfaceEndpoints?api-version=2018-08-01 | ||
response: | ||
body: {string: '{"value":[]}'} | ||
headers: | ||
cache-control: [no-cache] | ||
content-length: ['12'] | ||
content-type: [application/json; charset=utf-8] | ||
date: ['Fri, 19 Oct 2018 22:46:56 GMT'] | ||
expires: ['-1'] | ||
pragma: [no-cache] | ||
strict-transport-security: [max-age=31536000; includeSubDomains] | ||
vary: [Accept-Encoding] | ||
x-content-type-options: [nosniff] | ||
status: {code: 200, message: OK} | ||
- request: | ||
body: null | ||
headers: | ||
Accept: [application/json] | ||
Accept-Encoding: ['gzip, deflate'] | ||
CommandName: [network private-endpoint show] | ||
Connection: [keep-alive] | ||
User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.1 msrest_azure/0.4.34 | ||
networkmanagementclient/2.2.1 Azure-SDK-For-Python AZURECLI/2.0.50] | ||
accept-language: [en-US] | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoints000001/providers/Microsoft.Network/interfaceEndpoints/dummy?api-version=2018-08-01 | ||
response: | ||
body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/interfaceEndpoints/dummy'' | ||
under resource group ''cli_test_network_private_endpoints000001'' was not | ||
found."}}'} | ||
headers: | ||
cache-control: [no-cache] | ||
content-length: ['221'] | ||
content-type: [application/json; charset=utf-8] | ||
date: ['Fri, 19 Oct 2018 22:46:57 GMT'] | ||
expires: ['-1'] | ||
pragma: [no-cache] | ||
strict-transport-security: [max-age=31536000; includeSubDomains] | ||
x-content-type-options: [nosniff] | ||
x-ms-failure-cause: [gateway] | ||
status: {code: 404, message: Not Found} | ||
- request: | ||
body: null | ||
headers: | ||
Accept: [application/json] | ||
Accept-Encoding: ['gzip, deflate'] | ||
CommandName: [group delete] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/json; charset=utf-8] | ||
User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.1 msrest_azure/0.4.34 | ||
resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.50] | ||
accept-language: [en-US] | ||
method: DELETE | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_network_private_endpoints000001?api-version=2018-05-01 | ||
response: | ||
body: {string: ''} | ||
headers: | ||
cache-control: [no-cache] | ||
content-length: ['0'] | ||
date: ['Fri, 19 Oct 2018 22:46:58 GMT'] | ||
expires: ['-1'] | ||
location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGTkVUV09SSzo1RlBSSVZBVEU6NUZFTkRQT0lOVFNVRlZSWXw0MTc1NzExNkI5QUNBMEE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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'] | ||
status: {code: 202, message: Accepted} | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters