-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[storage-preview]
az storage account create
: Add `--dns-endpoint-ty…
…pe` to support creating accounts in an Azure DNS Zone (#4664) * `az storage account create`: Add `--dns-endpoint-type` to support creating accounts in an Azure DNS Zone * Credential scan white list
- Loading branch information
Showing
72 changed files
with
2,108 additions
and
7,789 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
242 changes: 242 additions & 0 deletions
242
...azext_storage_preview/tests/latest/recordings/test_storage_account_dns_endpoint_type.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,242 @@ | ||
interactions: | ||
- request: | ||
body: '{"sku": {"name": "Standard_RAGRS"}, "kind": "StorageV2", "location": "eastus2euap", | ||
"properties": {"encryption": {"services": {"blob": {}}, "keySource": "Microsoft.Storage"}, | ||
"isHnsEnabled": true, "dnsEndpointType": "Standard"}}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- storage account create | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '228' | ||
Content-Type: | ||
- application/json | ||
ParameterSetName: | ||
- -n -g -l --hns --dns-endpoint-type | ||
User-Agent: | ||
- AZURECLI/2.35.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.7.9 (Windows-10-10.0.22000-SP0) | ||
method: PUT | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_account_dns_et000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2021-09-01 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '0' | ||
content-type: | ||
- text/plain; charset=utf-8 | ||
date: | ||
- Mon, 11 Apr 2022 07:13:07 GMT | ||
expires: | ||
- '-1' | ||
location: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/3f0db60e-e023-4002-948a-636adcc9c2bb?monitor=true&api-version=2021-09-01 | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-writes: | ||
- '1198' | ||
status: | ||
code: 202 | ||
message: Accepted | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- storage account create | ||
Connection: | ||
- keep-alive | ||
ParameterSetName: | ||
- -n -g -l --hns --dns-endpoint-type | ||
User-Agent: | ||
- AZURECLI/2.35.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.7.9 (Windows-10-10.0.22000-SP0) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/3f0db60e-e023-4002-948a-636adcc9c2bb?monitor=true&api-version=2021-09-01 | ||
response: | ||
body: | ||
string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_account_dns_et000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"dnsEndpointType":"Standard","keyCreationTime":{"key1":"2022-04-11T07:13:04.8199696Z","key2":"2022-04-11T07:13:04.8199696Z"},"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"isHnsEnabled":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2022-04-11T07:13:04.8355888Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2022-04-11T07:13:04.8355888Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2022-04-11T07:13:04.7262191Z","primaryEndpoints":{"dfs":"https://cli000002.dfs.core.windows.net/","web":"https://cli000002.z3.web.core.windows.net/","blob":"https://cli000002.blob.core.windows.net/","queue":"https://cli000002.queue.core.windows.net/","table":"https://cli000002.table.core.windows.net/","file":"https://cli000002.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://cli000002-secondary.dfs.core.windows.net/","web":"https://cli000002-secondary.z3.web.core.windows.net/","blob":"https://cli000002-secondary.blob.core.windows.net/","queue":"https://cli000002-secondary.queue.core.windows.net/","table":"https://cli000002-secondary.table.core.windows.net/"}}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '1841' | ||
content-type: | ||
- application/json | ||
date: | ||
- Mon, 11 Apr 2022 07:13:24 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: '{"sku": {"name": "Standard_RAGRS"}, "kind": "StorageV2", "location": "eastus2euap", | ||
"properties": {"encryption": {"services": {"blob": {}}, "keySource": "Microsoft.Storage"}, | ||
"isHnsEnabled": true, "dnsEndpointType": "AzureDnsZone"}}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- storage account create | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '232' | ||
Content-Type: | ||
- application/json | ||
ParameterSetName: | ||
- -n -g -l --hns --dns-endpoint-type | ||
User-Agent: | ||
- AZURECLI/2.35.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.7.9 (Windows-10-10.0.22000-SP0) | ||
method: PUT | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_account_dns_et000001/providers/Microsoft.Storage/storageAccounts/cli000003?api-version=2021-09-01 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '0' | ||
content-type: | ||
- text/plain; charset=utf-8 | ||
date: | ||
- Mon, 11 Apr 2022 07:13:29 GMT | ||
expires: | ||
- '-1' | ||
location: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/e03b31c9-e6ab-43a5-98e3-2ed788bce971?monitor=true&api-version=2021-09-01 | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-writes: | ||
- '1197' | ||
status: | ||
code: 202 | ||
message: Accepted | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- storage account create | ||
Connection: | ||
- keep-alive | ||
ParameterSetName: | ||
- -n -g -l --hns --dns-endpoint-type | ||
User-Agent: | ||
- AZURECLI/2.35.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.7.9 (Windows-10-10.0.22000-SP0) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/e03b31c9-e6ab-43a5-98e3-2ed788bce971?monitor=true&api-version=2021-09-01 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '0' | ||
content-type: | ||
- text/plain; charset=utf-8 | ||
date: | ||
- Mon, 11 Apr 2022 07:13:46 GMT | ||
expires: | ||
- '-1' | ||
location: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/e03b31c9-e6ab-43a5-98e3-2ed788bce971?monitor=true&api-version=2021-09-01 | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 202 | ||
message: Accepted | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- storage account create | ||
Connection: | ||
- keep-alive | ||
ParameterSetName: | ||
- -n -g -l --hns --dns-endpoint-type | ||
User-Agent: | ||
- AZURECLI/2.35.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.7.9 (Windows-10-10.0.22000-SP0) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/e03b31c9-e6ab-43a5-98e3-2ed788bce971?monitor=true&api-version=2021-09-01 | ||
response: | ||
body: | ||
string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_account_dns_et000001/providers/Microsoft.Storage/storageAccounts/cli000003","name":"cli000003","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"dnsEndpointType":"AzureDnsZone","keyCreationTime":{"key1":"2022-04-11T07:13:27.6637766Z","key2":"2022-04-11T07:13:27.6637766Z"},"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"isHnsEnabled":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2022-04-11T07:13:27.6637766Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2022-04-11T07:13:27.6637766Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2022-04-11T07:13:27.5544019Z","primaryEndpoints":{"dfs":"https://cli000003.z29.dfs.storage.azure.net/","web":"https://cli000003.z29.web.storage.azure.net/","blob":"https://cli000003.z29.blob.storage.azure.net/","queue":"https://cli000003.z29.queue.storage.azure.net/","table":"https://cli000003.z29.table.storage.azure.net/","file":"https://cli000003.z29.file.storage.azure.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://cli000003-secondary.z29.dfs.storage.azure.net/","web":"https://cli000003-secondary.z29.web.storage.azure.net/","blob":"https://cli000003-secondary.z29.blob.storage.azure.net/","queue":"https://cli000003-secondary.z29.queue.storage.azure.net/","table":"https://cli000003-secondary.z29.table.storage.azure.net/"}}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '1894' | ||
content-type: | ||
- application/json | ||
date: | ||
- Mon, 11 Apr 2022 07:13:49 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.